From ad509231084074f7637e4a8c8f78e0c79bc93d1b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 5 Jul 2023 23:16:16 +0200 Subject: [PATCH] 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 --- pkgs/development/python-modules/lru-dict/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lru-dict/default.nix b/pkgs/development/python-modules/lru-dict/default.nix index 75921e8a8518..7ce32f9cdef5 100644 --- a/pkgs/development/python-modules/lru-dict/default.nix +++ b/pkgs/development/python-modules/lru-dict/default.nix @@ -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 ]; };