blob: ef8ecba935ed6f13862cbbab13580793c8147ec7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "repoze-lru";
version = "0.7";
pyproject = true;
src = fetchPypi {
pname = "repoze.lru";
inherit version;
hash = "sha256-BCmnXhk4Dk7VDAaU4mrIgZtOp4Ue4fx1g8hXLbgK/3c=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"repoze/lru/tests.py"
];
disabledTests = [
# time sensitive tests
"test_different_timeouts"
"test_renew_timeout"
];
pythonImportsCheck = [ "repoze.lru" ];
pythonNamespaces = [ "repoze" ];
meta = with lib; {
description = "A tiny LRU cache implementation and decorator";
homepage = "http://www.repoze.org/";
changelog = "https://github.com/repoze/repoze.lru/blob/${version}/CHANGES.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}
|