diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-24 01:09:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 01:09:06 +0100 |
commit | 5c38ea76a1f9b178262016b1d4dc836304afdb3d (patch) | |
tree | 23f90be6074f946648fb31df000d79d60d457428 /pkgs | |
parent | a3dcc62acc0c8c450688b365de5b5084c313f910 (diff) | |
parent | 94235b625649a4707b1a6117d220e06aa3390723 (diff) |
Merge pull request #109362 from teh/disccache
python3Packages.diskcache: 4.1.0 -> 5.1.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/diskcache/default.nix | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/diskcache/default.nix b/pkgs/development/python-modules/diskcache/default.nix index 793b0edd6974b..8b968c3272fb5 100644 --- a/pkgs/development/python-modules/diskcache/default.nix +++ b/pkgs/development/python-modules/diskcache/default.nix @@ -1,7 +1,8 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , fetchFromGitHub -, pytest +, pytestCheckHook , pytestcov , pytest_xdist , pytest-django @@ -11,28 +12,25 @@ buildPythonPackage rec { pname = "diskcache"; - version = "4.1.0"; + version = "5.1.0"; src = fetchFromGitHub { owner = "grantjenks"; repo = "python-diskcache"; rev = "v${version}"; - sha256 = "0xy2vpk4hixb4gg871d9sx9wxdz8pi0pmnfdwg4bf8jqfjg022w8"; + sha256 = "0xwqw60dbn1x2294galcs08vm6ydcr677lr8slqz8a3ry6sgkhn9"; }; checkInputs = [ - pytest + pytestCheckHook pytestcov pytest_xdist pytest-django mock ]; - disabled = lib.versionAtLeast django.version "2.0"; - - checkPhase = '' - pytest - ''; + # Darwin sandbox causes most tests to fail. + doCheck = !stdenv.isDarwin; meta = with lib; { description = "Disk and file backed persistent cache"; |