python3Packages.aiohttp-apispec: 2.2.2 -> 3.0.0b1

This commit is contained in:
Fabian Affolter 2022-02-14 12:44:36 +01:00
parent d584164d24
commit e0f783ca38

View File

@ -1,16 +1,19 @@
{ lib
, aiohttp
, apispec
, buildPythonPackage
, callPackage
, fetchFromGitHub
, fetchPypi
, jinja2
, packaging
, pythonOlder
, webargs
}:
buildPythonPackage rec {
pname = "aiohttp-apispec";
version = "2.2.2";
version = "3.0.0b1";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -19,16 +22,22 @@ buildPythonPackage rec {
owner = "maximdanilchenko";
repo = pname;
rev = "v${version}";
hash = "sha256-51QyD56k+1fq2tOqBNUtPRFza9uku79GcvTh8wov04g=";
hash = "sha256-LGdi5ZhJ1G0GxUJVBZnwW3Q+x3Yo9FRV9b6REPlq7As=";
};
propagatedBuildInputs = [
aiohttp
apispec3
apispec
jinja2
packaging
webargs
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "jinja2<3.0" "jinja2"
'';
pythonImportsCheck = [
"aiohttp_apispec"
];