python312Packages.mkdocs-drawio-exporter: fix after migration to poetry (#333395)

The upstream repository of mkdocs-drawio-exporter was migrated to poetry.

The last package update did not address this issue, causing build failures.
This commit is contained in:
Markus 2024-08-09 15:39:16 +02:00 committed by GitHub
parent 4a52b21506
commit 8e0e9b1af9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";