Files
nixpkgs/pkgs/development/python-modules/cachetools/default.nix
T
2025-12-10 18:42:31 +01:00

35 lines
772 B
Nix

{
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 ];
};
}