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