1{ lib, buildPythonPackage, fetchFromGitHub
2, setuptools, funcparserlib, pillow, webcolors, reportlab, docutils
3}:
4
5buildPythonPackage rec {
6 pname = "blockdiag";
7 version = "2.0.1";
8
9 src = fetchFromGitHub {
10 owner = "blockdiag";
11 repo = "blockdiag";
12 rev = version;
13 sha256 = "1cvcl66kf4wdh2n4fdk37zk59lp58wd2fhf84n7pbn0lilyksk5x";
14 };
15
16 propagatedBuildInputs = [ setuptools funcparserlib pillow webcolors reportlab docutils ];
17
18 # require network and fail
19 doCheck = false;
20
21 meta = with lib; {
22 description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
23 homepage = "http://blockdiag.com/";
24 license = licenses.asl20;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
27 };
28}