depot/third_party/nixpkgs/pkgs/development/python-modules/blockdiag/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
784 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub
, setuptools, funcparserlib, pillow, webcolors, reportlab, docutils
}:
buildPythonPackage rec {
pname = "blockdiag";
version = "2.0.1";
src = fetchFromGitHub {
owner = "blockdiag";
repo = "blockdiag";
rev = version;
sha256 = "1cvcl66kf4wdh2n4fdk37zk59lp58wd2fhf84n7pbn0lilyksk5x";
};
propagatedBuildInputs = [ setuptools funcparserlib pillow webcolors reportlab docutils ];
# require network and fail
doCheck = false;
meta = with lib; {
description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
homepage = "http://blockdiag.com/";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
};
}