blob: 27dd4c93d6fc8ad05406bb810e993224d9f58a48 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pylru";
version = "1.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jlhutch";
repo = pname;
rev = "v${version}";
hash = "sha256-dTYiD+/zt0ZSP+sefYyeD87To1nRXyoFodlBg8pm1YE=";
};
# Check with the next release if tests are ready
doCheck = false;
pythonImportsCheck = [ "pylru" ];
meta = with lib; {
description = "Least recently used (LRU) cache implementation";
homepage = "https://github.com/jlhutch/pylru";
license = licenses.gpl2Only;
maintainers = with maintainers; [ abbradar ];
};
}
|