Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
787 B · 38 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, setuptools,}:
let pname = "lru-dict"; version = "1.3.0";inbuildPythonPackage { inherit pname version; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-VP0ZZta9H83ngVlsuGBoIU7e6/8dsTos6hEHnj/Qe2s="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "lru" ];
meta = with lib; { description = "Fast and memory efficient LRU cache for Python"; homepage = "https://github.com/amitdev/lru-dict"; changelog = "https://github.com/amitdev/lru-dict/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; };}