diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-05-01 10:31:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-01 10:31:44 -0500 |
commit | ea458f3bd7c196fa418893a28dc7002b99387b65 (patch) | |
tree | 8e50eb2d1b420c13f180893f32085b3b75ea3387 /pkgs/applications/science | |
parent | 9dc7684da3d7a1a445955facc97897ef4747e172 (diff) | |
parent | fa850e8fda68c92984760f9ff9086e8cde6ef835 (diff) | |
download | nixlib-ea458f3bd7c196fa418893a28dc7002b99387b65.tar nixlib-ea458f3bd7c196fa418893a28dc7002b99387b65.tar.gz nixlib-ea458f3bd7c196fa418893a28dc7002b99387b65.tar.bz2 nixlib-ea458f3bd7c196fa418893a28dc7002b99387b65.tar.lz nixlib-ea458f3bd7c196fa418893a28dc7002b99387b65.tar.xz nixlib-ea458f3bd7c196fa418893a28dc7002b99387b65.tar.zst nixlib-ea458f3bd7c196fa418893a28dc7002b99387b65.zip |
Merge pull request #39630 from bcdarwin/conglomerate
conglomerate: init at 2017-09-10
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/biology/conglomerate/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/conglomerate/default.nix b/pkgs/applications/science/biology/conglomerate/default.nix new file mode 100644 index 000000000000..c04bc84c156d --- /dev/null +++ b/pkgs/applications/science/biology/conglomerate/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, cmake, coreutils, perl, bicpl, libminc, zlib, minc_tools, + makeWrapper, GetoptTabular, MNI-Perllib }: + +stdenv.mkDerivation rec { + pname = "conglomerate"; + name = "${pname}-2017-09-10"; + + src = fetchFromGitHub { + owner = "BIC-MNI"; + repo = pname; + rev = "7343238bc6215942c7ecc885a224f24433a291b0"; + sha256 = "1mlqgmy3jc13bv7d01rjwldxq0p4ayqic85xcl222hhifi3w2prr"; + }; + + nativeBuildInputs = [ cmake makeWrapper ]; + buildInputs = [ libminc zlib bicpl ]; + propagatedBuildInputs = [ coreutils minc_tools perl GetoptTabular MNI-Perllib ]; + + cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DBICPL_DIR=${bicpl}/lib/" ]; + + postFixup = '' + for p in $out/bin/*; do + wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${stdenv.lib.makeBinPath [ coreutils minc_tools ]}"; + done + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/BIC-MNI/conglomerate; + description = "More command-line utilities for working with MINC files"; + maintainers = with maintainers; [ bcdarwin ]; + platforms = platforms.unix; + license = licenses.free; + }; +} |