Skip to content

Commit

Permalink
pythonPackages.blockdiag: 1.5.3 -> 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesloetzsch authored and Jonathan Ringer committed Nov 29, 2020
1 parent 5814d60 commit 3cb4a79
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions pkgs/development/python-modules/blockdiag/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
{ stdenv, fetchurl, buildPythonPackage, pep8, nose, unittest2, docutils
, pillow, webcolors, funcparserlib
{ stdenv, buildPythonPackage, fetchFromGitHub
, setuptools, funcparserlib, pillow, webcolors, reportlab, docutils
}:

buildPythonPackage rec {
pname = "blockdiag";
version = "1.5.3";
version = "2.0.1";

src = fetchurl {
url = "https://bitbucket.org/blockdiag/blockdiag/get/${version}.tar.bz2";
sha256 = "0r0qbmv0ijnqidsgm2rqs162y9aixmnkmzgnzgk52hiy7ydm4k8f";
src = fetchFromGitHub {
owner = "blockdiag";
repo = "blockdiag";
rev = version;
sha256 = "1cvcl66kf4wdh2n4fdk37zk59lp58wd2fhf84n7pbn0lilyksk5x";
};

buildInputs = [ pep8 nose unittest2 docutils ];
propagatedBuildInputs = [ setuptools funcparserlib pillow webcolors reportlab docutils ];

propagatedBuildInputs = [ pillow webcolors funcparserlib ];

# One test fails:
# ...
# FAIL: test_auto_font_detection (blockdiag.tests.test_boot_params.TestBootParams)
# require network and fail
doCheck = false;

meta = with stdenv.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 ];
maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
};
}

0 comments on commit 3cb4a79

Please sign in to comment.