python3Packages.xarray: 0.20.1 -> 0.20.2
This commit is contained in:
parent
d53978239b
commit
fe2dbc4647
1 changed files with 27 additions and 13 deletions
|
@ -1,34 +1,48 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestCheckHook
|
|
||||||
, numpy
|
, numpy
|
||||||
, pandas
|
, pandas
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
, setuptools
|
, setuptools
|
||||||
, isPy3k
|
, setuptoolsBuildHook
|
||||||
, setuptools-scm
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "xarray";
|
pname = "xarray";
|
||||||
version = "0.20.1";
|
version = "0.20.2";
|
||||||
disabled = !isPy3k;
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "9c0bffd8b55fdef277f8f6c817153eb51fa4e58653a7ad92eaed9984164b7bdb";
|
sha256 = "sha256-wuvoDKgbEKAkH2h23MNKyWluXFzc30dY2nz0vXMsQfc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [
|
||||||
propagatedBuildInputs = [ numpy pandas setuptools ];
|
setuptoolsBuildHook
|
||||||
checkInputs = [ pytestCheckHook ];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "xarray" ];
|
propagatedBuildInputs = [
|
||||||
|
numpy
|
||||||
|
pandas
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"xarray"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "N-D labeled arrays and datasets in Python";
|
description = "N-D labeled arrays and datasets in Python";
|
||||||
homepage = "https://github.com/pydata/xarray";
|
homepage = "https://github.com/pydata/xarray";
|
||||||
license = lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ fridh ];
|
maintainers = with maintainers; [ fridh ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue