diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2017-11-11 09:35:50 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2017-11-11 09:46:11 +0100 |
commit | 14c13ed3900c413ae217aacbaa31572ee8d9548c (patch) | |
tree | 288057134ebca07abac0202fb2b18b80d182e163 /pkgs/development/python-modules/yowsup | |
parent | 4d4e70d071282da2c6c7f8e59e9d029666481db1 (diff) | |
download | nixlib-14c13ed3900c413ae217aacbaa31572ee8d9548c.tar nixlib-14c13ed3900c413ae217aacbaa31572ee8d9548c.tar.gz nixlib-14c13ed3900c413ae217aacbaa31572ee8d9548c.tar.bz2 nixlib-14c13ed3900c413ae217aacbaa31572ee8d9548c.tar.lz nixlib-14c13ed3900c413ae217aacbaa31572ee8d9548c.tar.xz nixlib-14c13ed3900c413ae217aacbaa31572ee8d9548c.tar.zst nixlib-14c13ed3900c413ae217aacbaa31572ee8d9548c.zip |
pythonPackages.yowsup: disable python2 build
I'm not exactly sure why, but it seems as the python2 build of yowsup is breaking. see https://github.com/tgalal/yowsup/issues/2325 It seems to be recommended to use python3 for building and disable the usage of python2 which fixed the build.
Diffstat (limited to 'pkgs/development/python-modules/yowsup')
-rw-r--r-- | pkgs/development/python-modules/yowsup/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/yowsup/default.nix b/pkgs/development/python-modules/yowsup/default.nix index fce974ccd3ac..f7ee986aebb3 100644 --- a/pkgs/development/python-modules/yowsup/default.nix +++ b/pkgs/development/python-modules/yowsup/default.nix @@ -1,10 +1,16 @@ -{ buildPythonPackage, stdenv, fetchFromGitHub, six, python-axolotl, pytest }: +{ buildPythonPackage, stdenv, fetchFromGitHub, six, python-axolotl, pytest +, isPy3k +}: buildPythonPackage rec { name = "${pname}-${version}"; pname = "yowsup"; version = "2.5.2"; + # python2 is currently incompatible with yowsup: + # https://github.com/tgalal/yowsup/issues/2325#issuecomment-343516519 + disabled = !isPy3k; + src = fetchFromGitHub { owner = "tgalal"; repo = "yowsup"; |