2017-10-29 21:53:27 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
|
|
|
|
, blockdiag
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "nwdiag";
|
2017-11-24 19:36:20 +00:00
|
|
|
version = "1.0.4";
|
2017-11-09 11:26:09 +00:00
|
|
|
name = pname + "-" + version;
|
2017-10-29 21:53:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/n/nwdiag/${name}.tar.gz";
|
2017-11-24 19:36:20 +00:00
|
|
|
sha256 = "002565875559789a2dfc5f578c07abdf44269c3f7cdf78d4809bdc4bdc2213fa";
|
2017-10-29 21:53:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2017-10-29 21:53:27 +00:00
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|