Signed-off-by: Philippe Schaaf <philippe.schaaf@secunet.com>main
parent
437fd89069
commit
3d16249737
@ -0,0 +1,33 @@ |
|||||||
|
{ buildPythonPackage |
||||||
|
, drawio-headless |
||||||
|
, fetchPypi |
||||||
|
, isPy3k |
||||||
|
, lib |
||||||
|
, mkdocs |
||||||
|
}: |
||||||
|
|
||||||
|
buildPythonPackage rec { |
||||||
|
pname = "mkdocs-drawio-exporter"; |
||||||
|
version = "0.8.0"; |
||||||
|
|
||||||
|
disabled = !isPy3k; |
||||||
|
|
||||||
|
src = fetchPypi { |
||||||
|
inherit pname version; |
||||||
|
sha256 = "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. |
||||||
|
''; |
||||||
|
}; |
||||||
|
} |
Loading…
Reference in new issue