mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
Merge pull request #41086 from bcdarwin/pyezminc
python2Packages.pyezminc: init at 1.2
This commit is contained in:
commit
de4cbd0488
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1254,6 +1254,8 @@ in {
|
|||||||
|
|
||||||
pyechonest = callPackage ../development/python-modules/pyechonest { };
|
pyechonest = callPackage ../development/python-modules/pyechonest { };
|
||||||
|
|
||||||
|
pyezminc = callPackage ../development/python-modules/pyezminc { };
|
||||||
|
|
||||||
billiard = callPackage ../development/python-modules/billiard { };
|
billiard = callPackage ../development/python-modules/billiard { };
|
||||||
|
|
||||||
binaryornot = callPackage ../development/python-modules/binaryornot { };
|
binaryornot = callPackage ../development/python-modules/binaryornot { };
|
||||||
|
Loading…
Reference in New Issue
Block a user