2022-06-26 10:26:21 +00:00
|
|
|
{ stdenv, lib, fetchPypi, buildPythonPackage, pythonAtLeast, dnspython, pyasn1 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sleekxmpp";
|
|
|
|
version = "1.3.3";
|
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
disabled = pythonAtLeast "3.10"; # Deprecated in favor of Slixmpp
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
propagatedBuildInputs = [ dnspython pyasn1 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
./dnspython-ip6.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "d213c1de71d92505f95ced0460ee0f84fdc4ddcacb7d7dd343739ed4028e5569";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "XMPP library for Python";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "http://sleekxmpp.com/";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|