mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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 {};
|
||||
|
||||
cftime = callPackage ../development/python-modules/cftime {};
|
||||
|
||||
cjson = callPackage ../development/python-modules/cjson { };
|
||||
|
||||
cld2-cffi = callPackage ../development/python-modules/cld2-cffi {};
|
||||
|
Loading…
Reference in New Issue
Block a user