blob: a15801505ca9a9ea13885201671304f6f0e89e56 (
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
49
50
51
52
53
54
55
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
wheel,
# dependencies
typing-extensions,
# checks
pytestCheckHook,
pytest-mpl,
pytest-subtests,
}:
buildPythonPackage rec {
pname = "flexcache";
version = "0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "hgrecco";
repo = "flexcache";
rev = version;
hash = "sha256-MAbTe7NxzfRPzo/Wnb5SnPJvJWf6zVeYsaw/g9OJYSE=";
};
build-system = [
setuptools
setuptools-scm
wheel
];
dependencies = [ typing-extensions ];
nativeCheckInputs = [
pytestCheckHook
pytest-mpl
pytest-subtests
];
pythonImportsCheck = [ "flexcache" ];
meta = with lib; {
description = "An robust and extensible package to cache on disk the result of expensive calculations";
homepage = "https://github.com/hgrecco/flexcache";
changelog = "https://github.com/hgrecco/flexcache/blob/${src.rev}/CHANGES";
license = licenses.bsd3;
maintainers = with maintainers; [ doronbehar ];
};
}
|