python3Packages.aiohttp-apispec: enable tests
This commit is contained in:
parent
e0f783ca38
commit
3bbd6325b2
@ -7,6 +7,8 @@
|
||||
, fetchPypi
|
||||
, jinja2
|
||||
, packaging
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, webargs
|
||||
}:
|
||||
@ -33,6 +35,11 @@ buildPythonPackage rec {
|
||||
webargs
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "jinja2<3.0" "jinja2"
|
||||
@ -42,9 +49,6 @@ buildPythonPackage rec {
|
||||
"aiohttp_apispec"
|
||||
];
|
||||
|
||||
# Requires pytest-sanic, currently broken in nixpkgs
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Build and document REST APIs with aiohttp and apispec";
|
||||
homepage = "https://github.com/maximdanilchenko/aiohttp-apispec/";
|
||||
|
Loading…
Reference in New Issue
Block a user