python3Packages.cachetools: enable tests
This commit is contained in:
parent
d892462a75
commit
a3cdaa5ec6
@ -1,21 +1,28 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, isPy27
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cachetools";
|
pname = "cachetools";
|
||||||
version = "4.2.1";
|
version = "4.2.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "tkem";
|
||||||
sha256 = "sha256-9Gninnqkz/ZNjeSq2VznbejqESWhbGjg2T9lw8Pckuk=";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1b662ph8m2d05d2vi3izgnr6v7h9zfvscfsaaw8nhdmmm15ivfa6";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "cachetools" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Extensible memoizing collections and decorators";
|
description = "Extensible memoizing collections and decorators";
|
||||||
homepage = "https://github.com/tkem/cachetools";
|
homepage = "https://github.com/tkem/cachetools";
|
||||||
license = licenses.mit;
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user