Skip to content

Commit

Permalink
Merge pull request #39926 from Ma27/update-yowsup
Browse files Browse the repository at this point in the history
python3Packages.yowsup: 2.5.2 -> 2.5.7
  • Loading branch information
dotlambda committed May 4, 2018
2 parents da69dc4 + cf50edf commit f79e0fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
diff --git a/setup.py b/setup.py
index 053ed07..60f0d9a 100755
index 991e89c..7a96ccf 100755
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ import yowsup
import platform
import sys

-deps = ['python-dateutil', 'argparse', 'python-axolotl>=0.1.39', 'six']
-deps = ['python-dateutil', 'argparse', 'python-axolotl>=0.1.39', 'six==1.10']
+deps = ['python-dateutil', 'python-axolotl>=0.1.39', 'six']

if sys.version_info < (2,7):
deps += ['importlib']
deps += ['importlib', "protobuf==3.4.0"]
9 changes: 4 additions & 5 deletions pkgs/development/python-modules/yowsup/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@
}:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "yowsup";
version = "2.5.2";
version = "2.5.7";

# python2 is currently incompatible with yowsup:
# https://github.com/tgalal/yowsup/issues/2325#issuecomment-343516519
# The Python 2.x support of this package is incompatible with `six==1.11`:
# https://github.com/tgalal/yowsup/issues/2416#issuecomment-365113486
disabled = !isPy3k;

src = fetchFromGitHub {
owner = "tgalal";
repo = "yowsup";
rev = "v${version}";
sha256 = "16l8jmr32wwvl11m0a4r4id3dkfqj2n7dn6gky1077xwmj2da4fl";
sha256 = "1p0hdj5x38v2cxjnhdnqcnp5g7la57mbi365m0z83wa01x2n73w6";
};

checkInputs = [ pytest ];
Expand Down

0 comments on commit f79e0fc

Please sign in to comment.