1{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
2, blockdiag
3}:
4
5buildPythonPackage rec {
6 pname = "nwdiag";
7 version = "1.0.4";
8 name = pname + "-" + version;
9
10 src = fetchurl {
11 url = "mirror://pypi/n/nwdiag/${name}.tar.gz";
12 sha256 = "002565875559789a2dfc5f578c07abdf44269c3f7cdf78d4809bdc4bdc2213fa";
13 };
14
15 buildInputs = [ pep8 nose unittest2 docutils ];
16
17 propagatedBuildInputs = [ blockdiag ];
18
19 # tests fail
20 doCheck = false;
21
22 meta = with stdenv.lib; {
23 description = "Generate network-diagram image from spec-text file (similar to Graphviz)";
24 homepage = http://blockdiag.com/;
25 license = licenses.asl20;
26 platforms = platforms.linux;
27 maintainers = with maintainers; [ bjornfor ];
28 };
29}