depot/third_party/nixpkgs/pkgs/development/python-modules/mkdocs-drawio-exporter/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

38 lines
873 B
Nix

{
buildPythonPackage,
drawio-headless,
fetchPypi,
isPy3k,
lib,
mkdocs,
}:
buildPythonPackage rec {
pname = "mkdocs-drawio-exporter";
version = "0.8.0";
format = "setuptools";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
hash = "sha256-9cvA186FS6bHmpOrv4OfPZ5kRfgfafBfaWxgWJIlwwA=";
};
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.
'';
};
}