python3Packages.pylru: 1.2.1 -> 1.3.1 (#534681)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-25 00:47:24 +00:00
committed by GitHub
@@ -2,29 +2,37 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pylru";
version = "1.2.1";
format = "setuptools";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jlhutch";
repo = "pylru";
rev = "v${version}";
hash = "sha256-dTYiD+/zt0ZSP+sefYyeD87To1nRXyoFodlBg8pm1YE=";
hash = "sha256-3qycUYmnLGiuNsrBOCL/QiRkrPVikaRqVBmQFURDGKs=";
};
# Check with the next release if tests are ready
doCheck = false;
build-system = [ setuptools ];
checkPhase = ''
runHook preCheck
python test.py
runHook postCheck
'';
pythonImportsCheck = [ "pylru" ];
meta = {
description = "Least recently used (LRU) cache implementation";
homepage = "https://github.com/jlhutch/pylru";
license = lib.licenses.gpl2Only;
license = lib.licenses.mit;
maintainers = [ ];
};
}