Merge pull request #138184 from fabaff/bump-slowapi
python3Packages.slowapi: 0.1.4 -> 0.1.5
This commit is contained in:
commit
bf909833cd
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user