python3Packages.diskcache: 5.1.0 -> 5.2.1

This commit is contained in:
Fabian Affolter 2021-03-05 18:54:56 +01:00 committed by Frederik Rietdijk
parent 860fd89a37
commit 9ea8a0fd1c

View File

@ -7,18 +7,17 @@
, pytest_xdist , pytest_xdist
, pytest-django , pytest-django
, mock , mock
, django
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "diskcache"; pname = "diskcache";
version = "5.1.0"; version = "5.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "grantjenks"; owner = "grantjenks";
repo = "python-diskcache"; repo = "python-diskcache";
rev = "v${version}"; rev = "v${version}";
sha256 = "0xwqw60dbn1x2294galcs08vm6ydcr677lr8slqz8a3ry6sgkhn9"; sha256 = "sha256-dWtEyyWpg0rxEwyhBdPyApzgS9o60HVGbtY76ELHvX8=";
}; };
checkInputs = [ checkInputs = [
@ -31,6 +30,7 @@ buildPythonPackage rec {
# Darwin sandbox causes most tests to fail. # Darwin sandbox causes most tests to fail.
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
pythonImportsCheck = [ "diskcache" ];
meta = with lib; { meta = with lib; {
description = "Disk and file backed persistent cache"; description = "Disk and file backed persistent cache";