python3Packages.slowapi: 0.1.4 -> 0.1.5

This commit is contained in:
Fabian Affolter 2021-09-16 22:52:19 +02:00
parent 5204dee265
commit 97399a8a00

View File

@ -2,7 +2,6 @@
, buildPythonPackage
, fastapi
, fetchFromGitHub
, fetchpatch
, limits
, mock
, hiro
@ -15,7 +14,7 @@
buildPythonPackage rec {
pname = "slowapi";
version = "0.1.4";
version = "0.1.5";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -23,7 +22,7 @@ buildPythonPackage rec {
owner = "laurentS";
repo = pname;
rev = "v${version}";
sha256 = "0bnnzgv2wy145sdab54hljwv1b5029ndrr0y9rc2q0mraz8lf8lm";
sha256 = "1wjnlhjfgil86h6i5yij723ncg18rqdprs1q6i68w4msaspwpxg9";
};
nativeBuildInputs = [
@ -49,15 +48,6 @@ buildPythonPackage rec {
"test_endpoint_response_param_invalid"
];
patches = [
# Switch to poetry-core, https://github.com/laurentS/slowapi/pull/54
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/laurentS/slowapi/commit/fe165f2d479f4f8e4b7dd9cd88ec0ae847b490c5.patch";
sha256 = "16vjxdjjiyg8zjrgfyg9q2ym2lmnms2zy5d2cg3ccg51cfl715fi";
})
];
pythonImportsCheck = [ "slowapi" ];
meta = with lib; {