python3Packages.lru-dict: init at 1.1.7

This commit is contained in:
Martin Weinelt 2022-04-06 18:53:36 +02:00
parent d8902889ff
commit dd986a65f6
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
let
pname = "lru-dict";
version = "1.1.7";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-RbgfZ9dTQdRDOrreeZpH6cQqniKhGFMdy15UmGQDLXw=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"lru"
];
meta = with lib; {
description = "Fast and memory efficient LRU cache for Python";
homepage = "https://github.com/amitdev/lru-dict";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -4883,6 +4883,8 @@ in {
losant-rest = callPackage ../development/python-modules/losant-rest { };
lru-dict = callPackage ../development/python-modules/lru-dict { };
lsassy = callPackage ../development/python-modules/lsassy { };
luddite = callPackage ../development/python-modules/luddite { };