pythonPackages.sleekxmpp: fix dnspython issue

This commit is contained in:
Robin Gloster
2017-06-05 22:10:58 +02:00
parent bf2e512377
commit 6f76d907c8
2 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,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/";
};
}