2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
|
2020-04-24 23:36:52 +00:00
|
|
|
, blockdiag, setuptools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nwdiag";
|
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/n/nwdiag/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1qkl1lq7cblr6fra2rjw3zlcccragp8384hpm4n7dkc5c3yzmmsw";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pep8 nose unittest2 docutils ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ blockdiag setuptools ];
|
|
|
|
|
|
|
|
# tests fail
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Generate network-diagram image from spec-text file (similar to Graphviz)";
|
|
|
|
homepage = "http://blockdiag.com/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|