python310Packages.mkdocs-swagger-ui-tag: update disabled

- add format
This commit is contained in:
Fabian Affolter 2023-04-26 13:06:02 +02:00 committed by GitHub
parent 71728de814
commit c176f0a52d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, drawio-headless
, fetchPypi
, isPy3k
, lib
, pythonOlder
, mkdocs
, beautifulsoup4
}:
@ -10,17 +10,23 @@
buildPythonPackage rec {
pname = "mkdocs-swagger-ui-tag";
version = "0.6.1";
format = "setuptools";
disabled = !isPy3k;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-FBrAZ9MhPGPwJhVXslu5mvVIJ7gPDiCK/3EuPAq6RNw=";
};
propagatedBuildInputs = [ mkdocs beautifulsoup4 ];
propagatedBuildInputs = [
mkdocs
beautifulsoup4
];
pythonImportsCheck = [ "mkdocs_swagger_ui_tag" ];
pythonImportsCheck = [
"mkdocs_swagger_ui_tag"
];
meta = with lib; {
description = "A MkDocs plugin supports for add Swagger UI in page";