1{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
2, blockdiag
3}:
4
5buildPythonPackage rec {
6 pname = "seqdiag";
7 version = "0.9.5";
8 name = pname + "-" + version;
9
10 src = fetchurl {
11 url = "mirror://pypi/s/seqdiag/${name}.tar.gz";
12 sha256 = "994402cb19fef77ee113d18810aa397a7290553cda5f900be2bb44e2c7742657";
13 };
14
15 buildInputs = [ pep8 nose unittest2 docutils ];
16
17 propagatedBuildInputs = [ blockdiag ];
18
19 # Tests fail:
20 # ...
21 # ERROR: Failure: OSError ([Errno 2] No such file or directory: '/tmp/nix-build-python2.7-seqdiag-0.9.0.drv-0/seqdiag-0.9.0/src/seqdiag/tests/diagrams/')
22 doCheck = false;
23
24 meta = with stdenv.lib; {
25 description = "Generate sequence-diagram image from spec-text file (similar to Graphviz)";
26 homepage = http://blockdiag.com/;
27 license = licenses.asl20;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ bjornfor ];
30 };
31}