nixpkgs/pkgs/development/python-modules/expiring-dict/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
597 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
sortedcontainers,
}:
buildPythonPackage rec {
pname = "expiring-dict";
version = "1.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-J3lC7cYNWxI0V8GkaGmMlJI9v6yNQLJjuSHATmlA3Ak=";
};
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 = [ ];
};
}