diff options
| author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2017-10-29 22:53:27 +0100 |
|---|---|---|
| committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2017-10-29 22:53:27 +0100 |
| commit | aa12eddb6c9683145160c4b75604a259478fef54 (patch) | |
| tree | 99c73bdd86612bdfab38079f5612cb80949b6a77 | |
| parent | pythonPackages.usbtmc: 0.6 -> 0.8 (diff) | |
| download | nixpkgs-aa12eddb6c9683145160c4b75604a259478fef54.tar.gz | |
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!
| -rw-r--r-- | pkgs/development/python-modules/nwdiag/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nwdiag/default.nix b/pkgs/development/python-modules/nwdiag/default.nix new file mode 100644 index 000000000000..ebf7ce944c11 --- /dev/null +++ b/pkgs/development/python-modules/nwdiag/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils +, blockdiag +}: + +buildPythonPackage rec { + name = "nwdiag-1.0.3"; + + src = fetchurl { + url = "mirror://pypi/n/nwdiag/${name}.tar.gz"; + sha256 = "0n7ary1fngxk8bk15vabc8fhnmxlh098piciwaviwn7l4a5q1zys"; + }; + + buildInputs = [ pep8 nose unittest2 docutils ]; + + propagatedBuildInputs = [ blockdiag ]; + + # tests fail + doCheck = false; + + meta = with stdenv.lib; { + description = "Generate network-diagram image from spec-text file (similar to Graphviz)"; + homepage = http://blockdiag.com/; + license = licenses.asl20; + platforms = platforms.linux; + maintainers = with maintainers; [ bjornfor ]; + }; +} |
