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