nixpkgs-suyu/pkgs/development/python-modules/sleekxmpp/default.nix
2018-05-01 13:11:11 +02:00

23 lines
521 B
Nix

{ 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/";
};
}