aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-12-09 18:55:19 +0000
committerMx Kookie <kookie@spacekookie.de>2020-12-09 18:55:19 +0000
commit80d90d9b204f7c17912740f9f414fe5d59f293ba (patch)
tree5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/development/python-modules/cftime/default.nix
parent3a31a84c7d3e589035ad08499206aac44a81f424 (diff)
parent83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff)
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
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";