-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.blockdiag: 1.5.3 -> 2.0.1
- Loading branch information
1 parent
5814d60
commit 3cb4a79
Showing
1 changed file
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |