mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
python2Packages.pyezminc: init at 1.2.01
This commit is contained in:
parent
9530d71725
commit
a6a38c7118
33
pkgs/development/python-modules/pyezminc/default.nix
Normal file
33
pkgs/development/python-modules/pyezminc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -1240,6 +1240,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user