python313Packages.mkdocs-drawio-exporter: modernize

This commit is contained in:
Fabian Affolter
2025-10-10 09:33:27 +02:00
parent f18aed0c4f
commit 8eb54fdd4b
@@ -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 ];
};
}