mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
Merge pull request #44408 from dotlambda/actdiag-application
*diag: use python3 and toPythonApplication
This commit is contained in:
commit
c2649439d5
@ -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)";
|
||||
|
@ -429,7 +429,7 @@ with pkgs;
|
||||
|
||||
acpica-tools = callPackage ../tools/system/acpica-tools { };
|
||||
|
||||
actdiag = pythonPackages.actdiag;
|
||||
actdiag = with python3.pkgs; toPythonApplication actdiag;
|
||||
|
||||
actkbd = callPackage ../tools/system/actkbd { };
|
||||
|
||||
@ -905,7 +905,7 @@ with pkgs;
|
||||
|
||||
blobfuse = callPackage ../tools/filesystems/blobfuse { };
|
||||
|
||||
blockdiag = pythonPackages.blockdiag;
|
||||
blockdiag = with python3Packages; toPythonApplication blockdiag;
|
||||
|
||||
blsd = callPackage ../tools/misc/blsd {
|
||||
libgit2 = libgit2_0_27;
|
||||
@ -4244,7 +4244,7 @@ with pkgs;
|
||||
|
||||
nssmdns = callPackage ../tools/networking/nss-mdns { };
|
||||
|
||||
nwdiag = pythonPackages.nwdiag;
|
||||
nwdiag = with python3Packages; toPythonApplication nwdiag;
|
||||
|
||||
nylon = callPackage ../tools/networking/nylon { };
|
||||
|
||||
@ -5076,7 +5076,7 @@ with pkgs;
|
||||
|
||||
setserial = callPackage ../tools/system/setserial { };
|
||||
|
||||
seqdiag = pythonPackages.seqdiag;
|
||||
seqdiag = with python3Packages; toPythonApplication seqdiag;
|
||||
|
||||
screenfetch = callPackage ../tools/misc/screenfetch { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user