diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-08-17 10:28:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 10:28:09 +0200 |
commit | e321070ea719b0fea42bb42e1cbc196d2aa4e418 (patch) | |
tree | 9c98ef2a91dfda18cc823f9bd8248cdd52a9acc8 /pkgs/development/python-modules/mkdocs-mermaid2-plugin | |
parent | a3236cd260ac8832283f4a453cbaa8473aa65eef (diff) |
python310Packages.mkdocs-mermaid2-plugin: add format
- disabled on unsupported Python releases
Diffstat (limited to 'pkgs/development/python-modules/mkdocs-mermaid2-plugin')
-rw-r--r-- | pkgs/development/python-modules/mkdocs-mermaid2-plugin/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/mkdocs-mermaid2-plugin/default.nix b/pkgs/development/python-modules/mkdocs-mermaid2-plugin/default.nix index 1ab5c674a52c2..2058bd71db6dd 100644 --- a/pkgs/development/python-modules/mkdocs-mermaid2-plugin/default.nix +++ b/pkgs/development/python-modules/mkdocs-mermaid2-plugin/default.nix @@ -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"; |