python311Packages.flask-limiter: refactor

This commit is contained in:
Fabian Affolter 2024-03-05 09:20:44 +01:00 committed by GitHub
parent 836f87a33e
commit 70eedeba42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,13 +13,14 @@
, pythonOlder
, redis
, rich
, setuptools
, typing-extensions
}:
buildPythonPackage rec {
pname = "flask-limiter";
version = "3.5.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -37,6 +38,10 @@ buildPythonPackage rec {
sed -i "/import flask_restful/d" tests/test_views.py
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
flask
limits