Merge pull request #109362 from teh/disccache
python3Packages.diskcache: 4.1.0 -> 5.1.0
This commit is contained in:
commit
5c38ea76a1
@ -1,7 +1,8 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, pytest_xdist
|
, pytest_xdist
|
||||||
, pytest-django
|
, pytest-django
|
||||||
@ -11,28 +12,25 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "diskcache";
|
pname = "diskcache";
|
||||||
version = "4.1.0";
|
version = "5.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grantjenks";
|
owner = "grantjenks";
|
||||||
repo = "python-diskcache";
|
repo = "python-diskcache";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0xy2vpk4hixb4gg871d9sx9wxdz8pi0pmnfdwg4bf8jqfjg022w8";
|
sha256 = "0xwqw60dbn1x2294galcs08vm6ydcr677lr8slqz8a3ry6sgkhn9";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytestcov
|
pytestcov
|
||||||
pytest_xdist
|
pytest_xdist
|
||||||
pytest-django
|
pytest-django
|
||||||
mock
|
mock
|
||||||
];
|
];
|
||||||
|
|
||||||
disabled = lib.versionAtLeast django.version "2.0";
|
# Darwin sandbox causes most tests to fail.
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Disk and file backed persistent cache";
|
description = "Disk and file backed persistent cache";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user