mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
python3Packages.aiohttp-apispec: 2.2.2 -> 3.0.0b1
This commit is contained in:
parent
d584164d24
commit
e0f783ca38
@ -1,16 +1,19 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, aiohttp
|
, aiohttp
|
||||||
|
, apispec
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, callPackage
|
, callPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, jinja2
|
||||||
|
, packaging
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, webargs
|
, webargs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiohttp-apispec";
|
pname = "aiohttp-apispec";
|
||||||
version = "2.2.2";
|
version = "3.0.0b1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
@ -19,16 +22,22 @@ buildPythonPackage rec {
|
|||||||
owner = "maximdanilchenko";
|
owner = "maximdanilchenko";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-51QyD56k+1fq2tOqBNUtPRFza9uku79GcvTh8wov04g=";
|
hash = "sha256-LGdi5ZhJ1G0GxUJVBZnwW3Q+x3Yo9FRV9b6REPlq7As=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
apispec3
|
apispec
|
||||||
jinja2
|
jinja2
|
||||||
|
packaging
|
||||||
webargs
|
webargs
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace requirements.txt \
|
||||||
|
--replace "jinja2<3.0" "jinja2"
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"aiohttp_apispec"
|
"aiohttp_apispec"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user