pythonPackages.xarray: 0.9.1 -> 0.9.5
This commit is contained in:
parent
d9ac6d4d5e
commit
1c0b74c50a
33
pkgs/development/python-modules/xarray/default.nix
Normal file
33
pkgs/development/python-modules/xarray/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, numpy
|
||||||
|
, pandas
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "xarray";
|
||||||
|
version = "0.9.5";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "d23bfcc317829570daa1fe8306ad7ff62cd77847bbd68e3ffc53d847bff7c36d";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [numpy pandas];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test $out/${python.sitePackages}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "N-D labeled arrays and datasets in Python";
|
||||||
|
homepage = https://github.com/pydata/xarray;
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
|
};
|
||||||
|
}
|
@ -27250,29 +27250,7 @@ EOF
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
xarray = buildPythonPackage rec {
|
xarray = callPackage ../development/python-modules/xarray { };
|
||||||
name = "xarray-${version}";
|
|
||||||
version = "0.9.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/x/xarray/${name}.tar.gz";
|
|
||||||
sha256 = "89772ed0e23f0e71c3fb8323746374999ecbe79c113e3fadc7ae6374e6dc0525";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ pytest ];
|
|
||||||
propagatedBuildInputs = with self; [numpy pandas];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test $out/${python.sitePackages}
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "N-D labeled arrays and datasets in Python";
|
|
||||||
homepage = https://github.com/pydata/xarray;
|
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ fridh ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
xlwt = callPackage ../development/python-modules/xlwt { };
|
xlwt = callPackage ../development/python-modules/xlwt { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user