1{ buildPythonPackage 2, drawio-headless 3, fetchPypi 4, isPy3k 5, lib 6, mkdocs 7}: 8 9buildPythonPackage rec { 10 pname = "mkdocs-drawio-exporter"; 11 version = "0.8.0"; 12 13 disabled = !isPy3k; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-9cvA186FS6bHmpOrv4OfPZ5kRfgfafBfaWxgWJIlwwA="; 18 }; 19 20 propagatedBuildInputs = [ mkdocs drawio-headless ]; 21 22 pythonImportsCheck = [ "mkdocsdrawioexporter" ]; 23 24 meta = with lib; { 25 description = "Exports your Draw.io diagrams at build time for easier embedding into your documentation."; 26 homepage = "https://github.com/LukeCarrier/mkdocs-drawio-exporter/"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ snpschaaf ]; 29 longDescription = '' 30 Exports your Draw.io diagrams at build time for easier embedding into your documentation. 31 ''; 32 }; 33}