depot/third_party/nixpkgs/pkgs/development/python-modules/expiring-dict/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

28 lines
597 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 = [ ];
};
}