1{
2 stdenv,
3 lib,
4 fetchPypi,
5 buildPythonPackage,
6 pythonAtLeast,
7 dnspython,
8 pyasn1,
9}:
10
11buildPythonPackage rec {
12 pname = "sleekxmpp";
13 version = "1.3.3";
14 format = "setuptools";
15
16 disabled = pythonAtLeast "3.10"; # Deprecated in favor of Slixmpp
17
18 propagatedBuildInputs = [
19 dnspython
20 pyasn1
21 ];
22
23 patches = [ ./dnspython-ip6.patch ];
24
25 src = fetchPypi {
26 inherit pname version;
27 sha256 = "d213c1de71d92505f95ced0460ee0f84fdc4ddcacb7d7dd343739ed4028e5569";
28 };
29
30 meta = with lib; {
31 broken =
32 (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) || stdenv.hostPlatform.isDarwin;
33 description = "XMPP library for Python";
34 license = licenses.mit;
35 homepage = "http://sleekxmpp.com/";
36 };
37}