Merge pull request #41086 from bcdarwin/pyezminc

python2Packages.pyezminc: init at 1.2
This commit is contained in:
Frederik Rietdijk 2018-06-07 18:25:52 +02:00 committed by GitHub
commit de4cbd0488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ buildPythonPackage, isPy3k, fetchFromGitHub, stdenv,
netcdf, hdf5, libminc, ezminc,
cython, numpy, scipy
}:
buildPythonPackage rec {
pname = "pyezminc";
version = "1.2.01";
disabled = isPy3k;
src = fetchFromGitHub {
owner = "BIC-MNI";
repo = "pyezminc";
rev = "release-${version}";
sha256 = "13smvramacisbwj8qsl160dnvv6ynngn1jmqwhvy146nmadphyv1";
};
nativeBuildInputs = [ cython ];
buildInputs = [ netcdf hdf5 libminc ezminc ];
propagatedBuildInputs = [ numpy scipy ];
NIX_CFLAGS_COMPILE = "-fpermissive";
doCheck = false; # e.g., expects test data in /opt
meta = {
homepage = https://github.com/BIC-MNI/pyezminc;
description = "Python API for libminc using EZMINC";
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ bcdarwin ];
};
}

View File

@ -1254,6 +1254,8 @@ in {
pyechonest = callPackage ../development/python-modules/pyechonest { };
pyezminc = callPackage ../development/python-modules/pyezminc { };
billiard = callPackage ../development/python-modules/billiard { };
binaryornot = callPackage ../development/python-modules/binaryornot { };