pythonPackages.xarray: 0.9.1 -> 0.9.5

This commit is contained in:
Frederik Rietdijk 2017-04-18 11:50:55 +02:00
parent d9ac6d4d5e
commit 1c0b74c50a
2 changed files with 34 additions and 23 deletions

View 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 ];
};
}

View File

@ -27250,29 +27250,7 @@ EOF
};
});
xarray = buildPythonPackage rec {
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 ];
};
};
xarray = callPackage ../development/python-modules/xarray { };
xlwt = callPackage ../development/python-modules/xlwt { };