python310Packages.mkdocs-mermaid2-plugin: add format

- disabled on unsupported Python releases
This commit is contained in:
Fabian Affolter
2023-08-17 10:28:09 +02:00
committed by GitHub
parent a3236cd260
commit e321070ea7
@@ -1,4 +1,6 @@
{ lib, buildPythonPackage, fetchFromGitHub
{ lib
, buildPythonPackage
, fetchFromGitHub
, beautifulsoup4
, jsbeautifier
, mkdocs
@@ -6,11 +8,15 @@
, pymdown-extensions
, pyyaml
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "mkdocs-mermaid2-plugin";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fralau";
@@ -32,7 +38,9 @@ buildPythonPackage rec {
# non-traditional python tests (e.g. nodejs based tests)
doCheck = false;
pythonImportsCheck = [ "mermaid2" ];
pythonImportsCheck = [
"mermaid2"
];
meta = with lib; {
description = "A MkDocs plugin for including mermaid graphs in markdown sources";