Merge pull request #31519 from Ma27/fix-yowsup
pythonPackages.yowsup: disable python2 build
This commit is contained in:
commit
a1911a04b0
@ -1,10 +1,16 @@
|
|||||||
{ buildPythonPackage, stdenv, fetchFromGitHub, six, python-axolotl, pytest }:
|
{ buildPythonPackage, stdenv, fetchFromGitHub, six, python-axolotl, pytest
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "yowsup";
|
pname = "yowsup";
|
||||||
version = "2.5.2";
|
version = "2.5.2";
|
||||||
|
|
||||||
|
# python2 is currently incompatible with yowsup:
|
||||||
|
# https://github.com/tgalal/yowsup/issues/2325#issuecomment-343516519
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tgalal";
|
owner = "tgalal";
|
||||||
repo = "yowsup";
|
repo = "yowsup";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user