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:
parent
e48a8bee43
commit
ad50923108
1 changed files with 6 additions and 2 deletions
|
@ -2,19 +2,22 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "lru-dict";
|
pname = "lru-dict";
|
||||||
version = "1.1.8";
|
version = "1.2.0";
|
||||||
in
|
in
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-h4vI70Bz5c+5U9/Bz0WF20HouBTAEGq9400A7g0LMRU=";
|
hash = "sha256-E8VngvGdaN302NsBcAQRkoWWFlFMcGsSbQ3y7HKhG9c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -28,6 +31,7 @@ buildPythonPackage {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fast and memory efficient LRU cache for Python";
|
description = "Fast and memory efficient LRU cache for Python";
|
||||||
homepage = "https://github.com/amitdev/lru-dict";
|
homepage = "https://github.com/amitdev/lru-dict";
|
||||||
|
changelog = "https://github.com/amitdev/lru-dict/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ hexa ];
|
maintainers = with maintainers; [ hexa ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue