python312Packages.propcache: init at 0.1.0

Fast property caching

https://github.com/aio-libs/propcache
This commit is contained in:
Fabian Affolter
2024-10-07 09:48:47 +02:00
parent a825406b15
commit 1d11666f60
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
cython,
expandvars,
fetchFromGitHub,
pytest-cov-stub,
pytest-xdist,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "propcache";
version = "0.1.0";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "aio-libs";
repo = "propcache";
rev = "refs/tags/v${version}";
hash = "sha256-h6YoBnuzhsFaBNEMM4oRB14ayhE9piTSf9sswl06lz0=";
};
build-system = [
cython
expandvars
setuptools
];
nativeCheckInputs = [
pytest-cov-stub
pytest-xdist
pytestCheckHook
];
pythonImportsCheck = [ "propcache" ];
meta = {
description = "Fast property caching";
homepage = "https://github.com/aio-libs/propcache";
changelog = "https://github.com/aio-libs/propcache/blob/${src.rev}/CHANGES.rst";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -10106,6 +10106,8 @@ self: super: with self; {
prometheus-pandas = callPackage ../development/python-modules/prometheus-pandas { };
propcache = callPackage ../development/python-modules/propcache { };
prophet = callPackage ../development/python-modules/prophet { };
propka = callPackage ../development/python-modules/propka { };