diff --git a/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix b/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix index d63cfef83694..7d3146f9288d 100644 --- a/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix +++ b/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix @@ -1,13 +1,13 @@ { + lib, buildPythonPackage, drawio-headless, fetchPypi, - isPy3k, - lib, + livereload, mkdocs, poetry-core, - livereload, tornado, + unittestCheckHook, }: buildPythonPackage rec { @@ -15,8 +15,6 @@ buildPythonPackage rec { version = "0.10.2"; pyproject = true; - disabled = !isPy3k; - src = fetchPypi { pname = "mkdocs_drawio_exporter"; inherit version; @@ -32,15 +30,18 @@ buildPythonPackage rec { tornado ]; + nativeCheckInputs = [ unittestCheckHook ]; + pythonImportsCheck = [ "mkdocs_drawio_exporter" ]; meta = with lib; { - description = "Exports your Draw.io diagrams at build time for easier embedding into your documentation"; - homepage = "https://github.com/LukeCarrier/mkdocs-drawio-exporter/"; - license = licenses.mit; - maintainers = with maintainers; [ snpschaaf ]; + description = "Module for exporting Draw.io diagrams"; longDescription = '' Exports your Draw.io diagrams at build time for easier embedding into your documentation. ''; + homepage = "https://github.com/LukeCarrier/mkdocs-drawio-exporter/"; + changelog = "https://github.com/LukeCarrier/mkdocs-drawio-exporter/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ snpschaaf ]; }; }