python3Packages.lru-dict: init at 1.1.7
This commit is contained in:
parent
d8902889ff
commit
dd986a65f6
2 changed files with 36 additions and 0 deletions
34
pkgs/development/python-modules/lru-dict/default.nix
Normal file
34
pkgs/development/python-modules/lru-dict/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4883,6 +4883,8 @@ in {
|
||||||
|
|
||||||
losant-rest = callPackage ../development/python-modules/losant-rest { };
|
losant-rest = callPackage ../development/python-modules/losant-rest { };
|
||||||
|
|
||||||
|
lru-dict = callPackage ../development/python-modules/lru-dict { };
|
||||||
|
|
||||||
lsassy = callPackage ../development/python-modules/lsassy { };
|
lsassy = callPackage ../development/python-modules/lsassy { };
|
||||||
|
|
||||||
luddite = callPackage ../development/python-modules/luddite { };
|
luddite = callPackage ../development/python-modules/luddite { };
|
||||||
|
|
Loading…
Reference in a new issue