2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub
|
2020-07-03 00:49:47 +01:00
|
|
|
, setuptools, funcparserlib, pillow, webcolors, reportlab, docutils
|
2017-10-29 13:26:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "blockdiag";
|
2020-07-03 00:49:47 +01:00
|
|
|
version = "2.0.1";
|
2017-10-29 13:26:15 +00:00
|
|
|
|
2020-07-03 00:49:47 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blockdiag";
|
|
|
|
repo = "blockdiag";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1cvcl66kf4wdh2n4fdk37zk59lp58wd2fhf84n7pbn0lilyksk5x";
|
2017-10-29 13:26:15 +00:00
|
|
|
};
|
|
|
|
|
2020-07-03 00:49:47 +01:00
|
|
|
propagatedBuildInputs = [ setuptools funcparserlib pillow webcolors reportlab docutils ];
|
2017-10-29 13:26:15 +00:00
|
|
|
|
2020-07-03 00:49:47 +01:00
|
|
|
# require network and fail
|
2017-10-29 13:26:15 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-10-29 13:26:15 +00:00
|
|
|
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;
|
2020-07-03 00:49:47 +01:00
|
|
|
maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
|
2017-10-29 13:26:15 +00:00
|
|
|
};
|
|
|
|
}
|