Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, beautifulsoup4, jsbeautifier, mkdocs, mkdocs-material, pymdown-extensions, pyyaml, requests, pythonOlder,}:
buildPythonPackage rec { pname = "mkdocs-mermaid2-plugin"; version = "1.2.1"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "fralau"; repo = "mkdocs-mermaid2-plugin"; tag = "v${version}"; hash = "sha256-LKPjhCPozz/+UV2658qWOIjpMt6w+UDBXsg1fqyg48M="; };
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 = "MkDocs plugin for including mermaid graphs in markdown sources"; homepage = "https://github.com/fralau/mkdocs-mermaid2-plugin"; changelog = "https://github.com/fralau/mkdocs-mermaid2-plugin/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = [ ]; };}