Files
nixpkgs/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

48 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
drawio-headless,
fetchPypi,
livereload,
mkdocs,
poetry-core,
tornado,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "mkdocs-drawio-exporter";
version = "0.10.2";
pyproject = true;
src = fetchPypi {
pname = "mkdocs_drawio_exporter";
inherit version;
hash = "sha256-LbHnV6WLIgab6CrripZnnqc5kkVyF4E+Ls00h1bXjHc=";
};
build-system = [ poetry-core ];
dependencies = [
mkdocs
drawio-headless
livereload
tornado
];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "mkdocs_drawio_exporter" ];
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ snpschaaf ];
};
}