python3.pkgs.expiring-dict: init at 1.1.0

This commit is contained in:
ajs124 2023-03-27 13:33:40 +02:00
parent a1c45f32e6
commit de09232a2e
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, sortedcontainers
}:
buildPythonPackage rec {
pname = "expiring-dict";
version = "1.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-PEBK2x5DaUaMt+Ub+8nEcNfi6GPv4qHHXU7XBtDc4aY=";
};
propagatedBuildInputs = [
sortedcontainers
];
pythonImportsCheck = [
"expiring_dict"
];
meta = with lib; {
description = "Python dict with TTL support for auto-expiring caches";
homepage = "https://github.com/dparker2/py-expiring-dict";
license = licenses.mit;
maintainers = with maintainers; [ ajs124 ];
};
}

View file

@ -3235,6 +3235,8 @@ self: super: with self; {
expecttest = callPackage ../development/python-modules/expecttest { };
expiring-dict = callPackage ../development/python-modules/expiring-dict { };
expiringdict = callPackage ../development/python-modules/expiringdict { };
explorerscript = callPackage ../development/python-modules/explorerscript { };