mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 05:35:50 +02:00
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
|
, buildPythonPackage
|
||||||
, fastapi
|
, fastapi
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, limits
|
, limits
|
||||||
, mock
|
, mock
|
||||||
, hiro
|
, hiro
|
||||||
|
@ -15,7 +14,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "slowapi";
|
pname = "slowapi";
|
||||||
version = "0.1.4";
|
version = "0.1.5";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
@ -23,7 +22,7 @@ buildPythonPackage rec {
|
||||||
owner = "laurentS";
|
owner = "laurentS";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0bnnzgv2wy145sdab54hljwv1b5029ndrr0y9rc2q0mraz8lf8lm";
|
sha256 = "1wjnlhjfgil86h6i5yij723ncg18rqdprs1q6i68w4msaspwpxg9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -49,15 +48,6 @@ buildPythonPackage rec {
|
||||||
"test_endpoint_response_param_invalid"
|
"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" ];
|
pythonImportsCheck = [ "slowapi" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue