blob: 889f91cc73a146b723b2f4c4328214b84b2498fe (
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
31
32
|
{
lib,
sources,
buildPythonPackage,
beartype,
cloudpickle,
icontract,
pbr,
}:
buildPythonPackage rec {
pname = "perscache";
version = sources.perscache.rev;
src = sources.perscache;
propagatedBuildInputs = [beartype cloudpickle icontract pbr];
PBR_VERSION = version;
doCheck = false; # no tests currently
pythonImportsCheck = ["perscache"];
meta = with lib; {
description = ''
An easy to use decorator for persistent memoization: like
`functools.lrucache`, but results can be saved in any format to any
storage.
'';
homepage = "https://github.com/leshchenko1979/perscache";
license = licenses.mit;
maintainers = with maintainers; [bsima];
};
}
|