3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cftime/default.nix

31 lines
514 B
Nix
Raw Normal View History

{ buildPythonPackage
2018-06-22 11:22:42 +01:00
, fetchPypi
, pytest
, coveralls
, pytestcov
, cython
, numpy
}:
buildPythonPackage rec {
pname = "cftime";
version = "1.1.3";
2018-06-22 11:22:42 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "1w2iakkzxfhyrqrspn40am8x7bzdp5qqdqbm1asbj7fa3mivi17x";
2018-06-22 11:22:42 +01:00
};
checkInputs = [ pytest coveralls pytestcov ];
buildInputs = [ cython ];
propagatedBuildInputs = [ numpy ];
checkPhase = ''
py.test
'';
meta = {
description = "Time-handling functionality from netcdf4-python";
};
}