1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

minc-widgets: init at "1.0.0" (package seems to lack a consistent version)

This commit is contained in:
Ben Darwin 2017-09-25 12:17:49 -04:00
parent bd460f54a3
commit f532f9f5f4
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, cmake, makeWrapper,
perl, GetoptTabular, MNI-Perllib,
libminc, octave, coreutils, minc_tools }:
stdenv.mkDerivation rec {
pname = "minc-widgets";
name = "${pname}-1.0.0";
src = fetchFromGitHub {
owner = "BIC-MNI";
repo = pname;
rev = "f08b643894c81a1a2e0fbfe595a17a42ba8906db";
sha256 = "1b9g6lf37wpp211ikaji4rf74rl9xcmrlyqcw1zq3z12ji9y33bm";
};
nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ libminc ];
propagatedBuildInputs = [ perl GetoptTabular MNI-Perllib octave coreutils minc_tools ];
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/${pname}";
description = "Collection of Perl and shell scripts for processing MINC files";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
};
}

View file

@ -19765,6 +19765,10 @@ with pkgs;
inherit (perlPackages) TextFormat;
};
minc_widgets = callPackage ../applications/science/biology/minc-widgets {
inherit (perlPackages) GetoptTabular MNI-Perllib;
};
mni_autoreg = callPackage ../applications/science/biology/mni_autoreg {
inherit (perlPackages) GetoptTabular MNI-Perllib;
};