mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +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
|
||||
, 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"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user