depot/third_party/nixpkgs/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
873 B
Nix

{
buildPythonPackage,
drawio-headless,
fetchPypi,
isPy3k,
lib,
mkdocs,
}:
buildPythonPackage rec {
pname = "mkdocs-drawio-exporter";
version = "0.9.1";
format = "setuptools";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
hash = "sha256-x8X8hvN/tL8C6VhgMCEHDh2hILjBoyLgQfsFD1+qXgo=";
};
propagatedBuildInputs = [
mkdocs
drawio-headless
];
pythonImportsCheck = [ "mkdocsdrawioexporter" ];
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 ];
longDescription = ''
Exports your Draw.io diagrams at build time for easier embedding into your documentation.
'';
};
}