python312Packages.propcache: init at 0.1.0
Fast property caching https://github.com/aio-libs/propcache
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user