Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 drawio-headless, 4 fetchPypi, 5 isPy3k, 6 lib, 7 mkdocs, 8}: 9 10buildPythonPackage rec { 11 pname = "mkdocs-drawio-exporter"; 12 version = "0.9.1"; 13 format = "setuptools"; 14 15 disabled = !isPy3k; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-x8X8hvN/tL8C6VhgMCEHDh2hILjBoyLgQfsFD1+qXgo="; 20 }; 21 22 propagatedBuildInputs = [ 23 mkdocs 24 drawio-headless 25 ]; 26 27 pythonImportsCheck = [ "mkdocsdrawioexporter" ]; 28 29 meta = with lib; { 30 description = "Exports your Draw.io diagrams at build time for easier embedding into your documentation"; 31 homepage = "https://github.com/LukeCarrier/mkdocs-drawio-exporter/"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ snpschaaf ]; 34 longDescription = '' 35 Exports your Draw.io diagrams at build time for easier embedding into your documentation. 36 ''; 37 }; 38}