pythonPackages.drf-yasg: use pythonImportsCheck
This commit is contained in:
parent
55a489ac9e
commit
94c361c592
@ -1,13 +1,15 @@
|
|||||||
{
|
{ lib
|
||||||
lib,
|
, buildPythonPackage
|
||||||
buildPythonPackage,
|
, fetchPypi
|
||||||
fetchPypi,
|
, inflection
|
||||||
inflection,
|
, ruamel_yaml
|
||||||
ruamel_yaml,
|
, setuptools_scm
|
||||||
setuptools_scm,
|
, six
|
||||||
six,
|
, coreapi
|
||||||
coreapi,
|
, djangorestframework
|
||||||
djangorestframework,
|
, pytestCheckHook
|
||||||
|
, pytest-django
|
||||||
|
, datadiff
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -36,6 +38,17 @@ buildPythonPackage rec {
|
|||||||
djangorestframework
|
djangorestframework
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-django
|
||||||
|
datadiff
|
||||||
|
];
|
||||||
|
|
||||||
|
# ImportError: No module named 'testproj.settings'
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "drf_yasg" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generation of Swagger/OpenAPI schemas for Django REST Framework";
|
description = "Generation of Swagger/OpenAPI schemas for Django REST Framework";
|
||||||
homepage = "https://github.com/axnsan12/drf-yasg";
|
homepage = "https://github.com/axnsan12/drf-yasg";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user