2021-01-25 08:26:54 +00:00
|
|
|
{ lib, 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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-10-29 21:53:27 +00:00
|
|
|
description = "Generate network-diagram image from spec-text file (similar to Graphviz)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://blockdiag.com/";
|
2017-10-29 21:53:27 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|