diff --git a/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix b/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix index 68725065cb0b5..76807fa2df397 100644 --- a/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix +++ b/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix @@ -5,26 +5,34 @@ isPy3k, lib, mkdocs, + poetry-core, + livereload, + tornado, }: buildPythonPackage rec { pname = "mkdocs-drawio-exporter"; version = "0.9.1"; - format = "setuptools"; + pyproject = true; disabled = !isPy3k; src = fetchPypi { - inherit pname version; + pname = "mkdocs_drawio_exporter"; + inherit version; hash = "sha256-x8X8hvN/tL8C6VhgMCEHDh2hILjBoyLgQfsFD1+qXgo="; }; - propagatedBuildInputs = [ + build-system = [ poetry-core ]; + + dependencies = [ mkdocs drawio-headless + livereload + tornado ]; - pythonImportsCheck = [ "mkdocsdrawioexporter" ]; + pythonImportsCheck = [ "mkdocs_drawio_exporter" ]; meta = with lib; { description = "Exports your Draw.io diagrams at build time for easier embedding into your documentation";