2017-10-29 22:53:27 +01:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
|
2020-02-09 21:49:35 +01:00
|
|
|
, blockdiag, setuptools
|
2017-10-29 22:53:27 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 12:26:09 +01:00
|
|
|
pname = "nwdiag";
|
2020-02-09 19:29:57 +01:00
|
|
|
version = "2.0.0";
|
2017-10-29 22:53:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://pypi/n/nwdiag/${pname}-${version}.tar.gz";
|
2020-02-09 19:29:57 +01:00
|
|
|
sha256 = "1qkl1lq7cblr6fra2rjw3zlcccragp8384hpm4n7dkc5c3yzmmsw";
|
2017-10-29 22:53:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pep8 nose unittest2 docutils ];
|
|
|
|
|
2020-02-09 21:49:35 +01:00
|
|
|
propagatedBuildInputs = [ blockdiag setuptools ];
|
2017-10-29 22:53:27 +01:00
|
|
|
|
|
|
|
# tests fail
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Generate network-diagram image from spec-text file (similar to Graphviz)";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://blockdiag.com/";
|
2017-10-29 22:53:27 +01:00
|
|
|
license = licenses.asl20;
|
2019-02-17 14:00:33 +01:00
|
|
|
platforms = platforms.unix;
|
2017-10-29 22:53:27 +01:00
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|