aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix29
1 files changed, 20 insertions, 9 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix
index 1a29e51b35f5..0235c611c610 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix
@@ -1,28 +1,39 @@
{ buildPythonPackage
, fetchPypi
-, pytest
+, pytestCheckHook
, coveralls
, pytestcov
, cython
, numpy
+, python
}:
buildPythonPackage rec {
pname = "cftime";
- version = "1.2.1";
+ version = "1.3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "ab5d5076f7d3e699758a244ada7c66da96bae36e22b9e351ce0ececc36f0a57f";
+ sha256 = "8d6a1144f43b9d7a180d7ceb3aa8015b7133c615fbac231bed184a91129f0207";
};
- checkInputs = [ pytest coveralls pytestcov ];
- buildInputs = [ cython ];
- propagatedBuildInputs = [ numpy ];
+ checkInputs = [
+ pytestCheckHook
+ coveralls
+ pytestcov
+ ];
- checkPhase = ''
- py.test
- '';
+ nativeBuildInputs = [
+ cython
+ numpy
+ ];
+
+ propagatedBuildInputs = [
+ numpy
+ ];
+
+ # ERROR test/test_cftime.py - ModuleNotFoundError: No module named 'cftime._cft...
+ doCheck = false;
meta = {
description = "Time-handling functionality from netcdf4-python";