diff options
author | Robert Schütz <rschuetz17@gmail.com> | 2018-08-03 19:59:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-03 19:59:15 +0200 |
commit | c2649439d52bc5402305ecebc024de1e22af2d19 (patch) | |
tree | eb2a53203cad891cc0fcfab8da5c87b794c1bc39 /pkgs/development | |
parent | 0cd86e1e9d1df4e3c2bb7bffdc479ebcc252d9bb (diff) | |
parent | 5acb3f5774759d9eff3dc66f7cc8195dccab777d (diff) | |
download | nixlib-c2649439d52bc5402305ecebc024de1e22af2d19.tar nixlib-c2649439d52bc5402305ecebc024de1e22af2d19.tar.gz nixlib-c2649439d52bc5402305ecebc024de1e22af2d19.tar.bz2 nixlib-c2649439d52bc5402305ecebc024de1e22af2d19.tar.lz nixlib-c2649439d52bc5402305ecebc024de1e22af2d19.tar.xz nixlib-c2649439d52bc5402305ecebc024de1e22af2d19.tar.zst nixlib-c2649439d52bc5402305ecebc024de1e22af2d19.zip |
Merge pull request #44408 from dotlambda/actdiag-application
*diag: use python3 and toPythonApplication
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/actdiag/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/actdiag/default.nix b/pkgs/development/python-modules/actdiag/default.nix index 2172aa1165a6..27a9a455c47f 100644 --- a/pkgs/development/python-modules/actdiag/default.nix +++ b/pkgs/development/python-modules/actdiag/default.nix @@ -1,5 +1,5 @@ -{ stdenv, buildPythonPackage, fetchPypi -, pep8, nose, unittest2, docutils, blockdiag }: +{ stdenv, buildPythonPackage, fetchPypi, fetchpatch +, pep8, nose, unittest2, docutils, blockdiag, reportlab }: buildPythonPackage rec { pname = "actdiag"; @@ -10,13 +10,17 @@ buildPythonPackage rec { sha256 = "983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af"; }; + patches = fetchpatch { + name = "drop_test_pep8.py.patch"; + url = https://bitbucket.org/blockdiag/actdiag/commits/c1f2ed5947a1e93291f5860e4e30cee098bd635d/raw; + sha256 = "1zxzwb0fvwlc8xgs45fx65341sjhb3h6l2p6rdj6i127vg1hsxb4"; + }; + buildInputs = [ pep8 nose unittest2 docutils ]; propagatedBuildInputs = [ blockdiag ]; - # One test fails: - # UnicodeEncodeError: 'ascii' codec can't encode character u'\u3042' in position 0: ordinal not in range(128) - doCheck = false; + checkInputs = [ reportlab ]; meta = with stdenv.lib; { description = "Generate activity-diagram image from spec-text file (similar to Graphviz)"; |