blob: 73920987827c777ee914c2aed605bbb591325911 (
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
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cachetools";
version = "6.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "tkem";
repo = "cachetools";
tag = "v${version}";
hash = "sha256-seoyqkrRQpRiMd5GTEvenjirn173Hq40Zuk1u7TvMPI=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cachetools" ];
meta = {
description = "Extensible memoizing collections and decorators";
homepage = "https://github.com/tkem/cachetools";
changelog = "https://github.com/tkem/cachetools/blob/v${version}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|