2017-10-29 13:26:15 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
|
|
|
|
, pillow, webcolors, funcparserlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "blockdiag";
|
2017-10-29 13:26:15 +00:00
|
|
|
version = "1.5.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/blockdiag/blockdiag/get/${version}.tar.bz2";
|
|
|
|
sha256 = "0r0qbmv0ijnqidsgm2rqs162y9aixmnkmzgnzgk52hiy7ydm4k8f";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pep8 nose unittest2 docutils ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pillow webcolors funcparserlib ];
|
|
|
|
|
|
|
|
# One test fails:
|
|
|
|
# ...
|
|
|
|
# FAIL: test_auto_font_detection (blockdiag.tests.test_boot_params.TestBootParams)
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://blockdiag.com/";
|
2017-10-29 13:26:15 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|