587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
31 lines
621 B
Nix
31 lines
621 B
Nix
{ 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; [ ];
|
|
};
|
|
}
|