Skip to content

Commit

Permalink
python312Packages.mkdocs-drawio-exporter: fix after migration to poet…
Browse files Browse the repository at this point in the history
…ry (#333395)

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

The last package update did not address this issue, causing build failures.
  • Loading branch information
0xf09f95b4 authored Aug 9, 2024
1 parent 4a52b21 commit 8e0e9b1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 8e0e9b1

Please sign in to comment.