summary refs log tree commit diff
path: root/pkgs/development/python-modules/sleekxmpp/default.nix
blob: c6444224104fed6d16b224108de2dbc2c897f4c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, buildPythonPackage, dns, pyasn1 }:

buildPythonPackage rec {
  name = "sleekxmpp-${version}";
  version = "1.3.1";

  propagatedBuildInputs = [ dns pyasn1 ];

  patches = [
    ./dnspython-ip6.patch
  ];

  src = fetchurl {
    url = "mirror://pypi/s/sleekxmpp/${name}.tar.gz";
    sha256 = "1krkhkvj8xw5a6c2xlf7h1rg9xdcm9d8x2niivwjahahpvbl6krr";
  };

  meta = with stdenv.lib; {
    description = "XMPP library for Python";
    license = licenses.mit;
    homepage = "http://sleekxmpp.com/";
  };
}