3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cftime/default.nix
2018-08-25 08:07:33 +02:00

31 lines
526 B
Nix

{ buildPythonPackage
, fetchPypi
, pytest
, coveralls
, pytestcov
, cython
, numpy
}:
buildPythonPackage rec {
pname = "cftime";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "20556931f546838d09be5d589482dfae6164e0d403f0aab2163c006b680d3b92";
};
checkInputs = [ pytest coveralls pytestcov ];
buildInputs = [ cython ];
propagatedBuildInputs = [ numpy ];
checkPhase = ''
py.test
'';
meta = {
description = "Time-handling functionality from netcdf4-python";
};
}