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 { 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"
]; ];