Skip to content

Commit

Permalink
libminc: init at 2.3.00
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdarwin committed Feb 23, 2016
1 parent 830c2d6 commit c49c384
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/libraries/libminc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchurl, cmake, zlib, netcdf, hdf5 }:

stdenv.mkDerivation rec {
_name = "libminc";
name = "${_name}-2.3.00";

src = fetchurl {
url = "https://github.com/BIC-MNI/${_name}/archive/${_name}-2-3-00.tar.gz";
sha256 = "04ngqx4wkssxs9qqcgq2bvfs1cldcycmpcx587wy3b3m6lwf004c";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ zlib netcdf hdf5 ];

cmakeFlags = [ "-DBUILD_TESTING=${if doCheck then "ON" else "OFF"}"
"-DLIBMINC_MINC1_SUPPORT=ON" ];

checkPhase = "ctest";
doCheck = true;

meta = with stdenv.lib; {
homepage = https://github.com/BIC-MNI/libminc;
description = "Medical imaging library based on HDF5";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7668,6 +7668,8 @@ let

libmilter = callPackage ../development/libraries/libmilter { };

libminc = callPackage ../development/libraries/libminc { };

libmkv = callPackage ../development/libraries/libmkv { };

libmms = callPackage ../development/libraries/libmms { };
Expand Down

0 comments on commit c49c384

Please sign in to comment.