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