python.pkgs.cftime: init at 1.0.0
This commit is contained in:
parent
5b49e13f02
commit
25e5b37c23
32
pkgs/development/python-modules/cftime/default.nix
Normal file
32
pkgs/development/python-modules/cftime/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, coveralls
|
||||||
|
, pytestcov
|
||||||
|
, cython
|
||||||
|
, numpy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cftime";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "f62fe79ed2ad38f4211477e59f6f045c91278351f4ce7578e33ddf52fb121ea8";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytest coveralls pytestcov ];
|
||||||
|
buildInputs = [ cython ];
|
||||||
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Time-handling functionality from netcdf4-python";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1566,6 +1566,8 @@ in {
|
|||||||
|
|
||||||
cherrypy = callPackage ../development/python-modules/cherrypy {};
|
cherrypy = callPackage ../development/python-modules/cherrypy {};
|
||||||
|
|
||||||
|
cftime = callPackage ../development/python-modules/cftime {};
|
||||||
|
|
||||||
cjson = callPackage ../development/python-modules/cjson { };
|
cjson = callPackage ../development/python-modules/cjson { };
|
||||||
|
|
||||||
cld2-cffi = callPackage ../development/python-modules/cld2-cffi {};
|
cld2-cffi = callPackage ../development/python-modules/cld2-cffi {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user