aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/blockdiag/default.nix
blob: ff53884ef376bc88da617102194048ec131e1b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, buildPythonPackage, fetchFromGitHub
, setuptools, funcparserlib, pillow, webcolors, reportlab, docutils
}:

buildPythonPackage rec {
  pname = "blockdiag";
  version = "2.0.1";

  src = fetchFromGitHub {
    owner = "blockdiag";
    repo = "blockdiag";
    rev = version;
    sha256 = "1cvcl66kf4wdh2n4fdk37zk59lp58wd2fhf84n7pbn0lilyksk5x";
  };

  propagatedBuildInputs = [ setuptools funcparserlib pillow webcolors reportlab docutils ];

  # require network and fail
  doCheck = false;

  meta = with stdenv.lib; {
    description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
    homepage = "http://blockdiag.com/";
    license = licenses.asl20;
    platforms = platforms.unix;
    maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
  };
}