1 { buildPythonApplication
17 src = fetchFromGitHub {
19 repo = "pandoc-drawio-filter";
21 sha256 = "sha256-2XJSAfxqEmmamWIAM3vZqi0mZjUUugmR3zWw8Imjadk=";
24 pandoc-drawio-filter = buildPythonApplication {
25 pname = "pandoc-drawio-filter";
29 propagatedBuildInputs = [
34 passthru.tests.example-doc =
40 texlive.combined.scheme-tetex
44 runCommand "$pandoc-drawio-filter-example-doc.pdf" env ''
45 cp -r ${src}/example/* .
46 pandoc -F pandoc-drawio example.md -T pdf -o $out
50 homepage = "https://github.com/tfc/pandoc-drawio-filter";
51 description = "Pandoc filter which converts draw.io diagrams to PDF";
52 license = licenses.mit;
53 maintainers = with maintainers; [ tfc ];