1{ 2 buildPythonPackage, 3 drawio-headless, 4 fetchPypi, 5 isPy3k, 6 lib, 7 mkdocs, 8 poetry-core, 9 livereload, 10 tornado, 11}: 12 13buildPythonPackage rec { 14 pname = "mkdocs-drawio-exporter"; 15 version = "0.10.2"; 16 pyproject = true; 17 18 disabled = !isPy3k; 19 20 src = fetchPypi { 21 pname = "mkdocs_drawio_exporter"; 22 inherit version; 23 hash = "sha256-LbHnV6WLIgab6CrripZnnqc5kkVyF4E+Ls00h1bXjHc="; 24 }; 25 26 build-system = [ poetry-core ]; 27 28 dependencies = [ 29 mkdocs 30 drawio-headless 31 livereload 32 tornado 33 ]; 34 35 pythonImportsCheck = [ "mkdocs_drawio_exporter" ]; 36 37 meta = with lib; { 38 description = "Exports your Draw.io diagrams at build time for easier embedding into your documentation"; 39 homepage = "https://github.com/LukeCarrier/mkdocs-drawio-exporter/"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ snpschaaf ]; 42 longDescription = '' 43 Exports your Draw.io diagrams at build time for easier embedding into your documentation. 44 ''; 45 }; 46}