python310Packages.mkdocs-mermaid2-plugin: init at 0.6.0
This commit is contained in:
committed by
Artturin
parent
b38acd8b9d
commit
b019c370a7
@@ -0,0 +1,43 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, beautifulsoup4
|
||||
, jsbeautifier
|
||||
, mkdocs
|
||||
, mkdocs-material
|
||||
, pymdown-extensions
|
||||
, pyyaml
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-mermaid2-plugin";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fralau";
|
||||
repo = "mkdocs-mermaid2-plugin";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Oe6wkVrsB0NWF+HHeifrEogjxdGPINRDJGkh9p+GoHs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
jsbeautifier
|
||||
mkdocs
|
||||
mkdocs-material
|
||||
pymdown-extensions
|
||||
pyyaml
|
||||
requests
|
||||
];
|
||||
|
||||
# non-traditional python tests (e.g. nodejs based tests)
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "mermaid2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A MkDocs plugin for including mermaid graphs in markdown sources";
|
||||
homepage = "https://github.com/fralau/mkdocs-mermaid2-plugin";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -5879,6 +5879,8 @@ self: super: with self; {
|
||||
|
||||
mkdocstrings-python = callPackage ../development/python-modules/mkdocstrings-python { };
|
||||
|
||||
mkdocs-mermaid2-plugin = callPackage ../development/python-modules/mkdocs-mermaid2-plugin { };
|
||||
|
||||
mkl-service = callPackage ../development/python-modules/mkl-service { };
|
||||
|
||||
ml-collections = callPackage ../development/python-modules/ml-collections { };
|
||||
|
||||
Reference in New Issue
Block a user