1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

nifticlib: init at 2.0.0

This commit is contained in:
Ben Darwin 2017-09-20 17:02:49 -04:00
parent 9182927998
commit 0d981c5761
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchurl, cmake, zlib }:
stdenv.mkDerivation rec {
pname = "nifticlib";
pversion = "2.0.0";
name = "${pname}-${pversion}";
src = fetchurl {
url = "https://downloads.sourceforge.net/project/niftilib/${pname}/${pname}_2_0_0/${name}.tar.gz";
sha256 = "a3e988e6a32ec57833056f6b09f940c69e79829028da121ff2c5c6f7f94a7f88";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ];
checkPhase = "ctest";
meta = with stdenv.lib; {
homepage = https://sourceforge.net/projects/niftilib;
description = "Medical imaging format C API";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.linux;
license = licenses.publicDomain;
};
}

View file

@ -9761,6 +9761,8 @@ with pkgs;
ndpi = callPackage ../development/libraries/ndpi { };
nifticlib = callPackage ../development/libraries/science/biology/nifticlib { };
notify-sharp = callPackage ../development/libraries/notify-sharp { };
ncurses5 = callPackage ../development/libraries/ncurses { abiVersion = "5"; };