mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
conglomerate: init at 2017-09-10
This commit is contained in:
parent
7b75efa231
commit
fa850e8fda
34
pkgs/applications/science/biology/conglomerate/default.nix
Normal file
34
pkgs/applications/science/biology/conglomerate/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -19740,6 +19740,10 @@ with pkgs;
|
||||
|
||||
bcftools = callPackage ../applications/science/biology/bcftools { };
|
||||
|
||||
conglomerate = callPackage ../applications/science/biology/conglomerate {
|
||||
inherit (perlPackages) GetoptTabular MNI-Perllib;
|
||||
};
|
||||
|
||||
dcm2niix = callPackage ../applications/science/biology/dcm2niix { };
|
||||
|
||||
diamond = callPackage ../applications/science/biology/diamond { };
|
||||
|
Loading…
Reference in New Issue
Block a user