From 363fe808aa4358052c11bc2c4b096e84d2081a7b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 10 Feb 2022 23:17:17 +0100 Subject: [PATCH] python310Packages.limiter: 0.2.0 -> 0.3.0 --- pkgs/development/python-modules/limiter/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/limiter/default.nix b/pkgs/development/python-modules/limiter/default.nix index 1d496c2cf08d..cfc4d5bc79e4 100644 --- a/pkgs/development/python-modules/limiter/default.nix +++ b/pkgs/development/python-modules/limiter/default.nix @@ -2,12 +2,13 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder +, strenum , token-bucket }: buildPythonPackage rec { pname = "limiter"; - version = "0.2.0"; + version = "0.3.0"; format = "setuptools"; disabled = pythonOlder "3.10"; @@ -16,19 +17,15 @@ buildPythonPackage rec { owner = "alexdelorenzo"; repo = pname; rev = "v${version}"; - hash = "sha256-h3XiCR/8rcCBwdhO6ExrrUE9piba5mssad3+t41scSk="; + hash = "sha256-9EkA7S549JLi6MxAXBC+2euPDrcJjW8IsQzMtij8+hA="; }; propagatedBuildInputs = [ + strenum token-bucket ]; - postPatch = '' - substituteInPlace requirements.txt \ - --replace "token-bucket==0.2.0" "token-bucket>=0.2.0" - ''; - - # Project has no tests + # Module has no tests doCheck = false; pythonImportsCheck = [