2017-10-29 21:53:27 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
|
2020-02-09 20:49:35 +00:00
|
|
|
, blockdiag, setuptools
|
2017-10-29 21:53:27 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "nwdiag";
|
2020-02-09 18:29:57 +00:00
|
|
|
version = "2.0.0";
|
2017-10-29 21:53:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://pypi/n/nwdiag/${pname}-${version}.tar.gz";
|
2020-02-09 18:29:57 +00:00
|
|
|
sha256 = "1qkl1lq7cblr6fra2rjw3zlcccragp8384hpm4n7dkc5c3yzmmsw";
|
2017-10-29 21:53:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pep8 nose unittest2 docutils ];
|
|
|
|
|
2020-02-09 20:49:35 +00:00
|
|
|
propagatedBuildInputs = [ blockdiag setuptools ];
|
2017-10-29 21:53:27 +00:00
|
|
|
|
|
|
|
# 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;
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2017-10-29 21:53:27 +00:00
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|