git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.nwdiag: unbreak eval

Oops, this should have been part of commit afd4a17ee5abada65616b0f3566813c08b7c4376 ("pythonPackages.nwdiag: move to python-modules/"). I noticed 2 seconds to late!

commitaa12eddb6c9683145160c4b75604a259478fef54 authorBjørn Forsman <bjorn.forsman@gmail.com> dateSun 29 Oct 2017, 22:53 (9 years ago) parentccc1f9a
1 file changed+27
pkgs/development/python-modules/nwdiag/default.nix+27
pkgs/development/python-modules/nwdiag/default.nixnew file+27
@@ -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+}