python311Packages.lru-dict: 1.1.8 -> 1.2.0 (#237706)

https://github.com/amitdev/lru-dict/releases/tag/v1.2.0

- add changelog to meta
- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-07-05 23:16:16 +02:00 committed by GitHub
parent e48a8bee43
commit ad50923108
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,19 +2,22 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
let
pname = "lru-dict";
version = "1.1.8";
version = "1.2.0";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-h4vI70Bz5c+5U9/Bz0WF20HouBTAEGq9400A7g0LMRU=";
hash = "sha256-E8VngvGdaN302NsBcAQRkoWWFlFMcGsSbQ3y7HKhG9c=";
};
nativeCheckInputs = [
@ -28,6 +31,7 @@ buildPythonPackage {
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 ];
};