Merge pull request #31519 from Ma27/fix-yowsup

pythonPackages.yowsup: disable python2 build
This commit is contained in:
Frederik Rietdijk 2017-11-11 09:51:15 +01:00 committed by GitHub
commit a1911a04b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";