2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchurl, isPy3k }:
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xmpp.py";
|
|
|
|
version = "0.5.0rc1";
|
|
|
|
|
|
|
|
patches = [ ./ssl.patch ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
|
|
|
|
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
|
|
|
|
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "XMPP python library";
|
|
|
|
homepage = "http://xmpppy.sourceforge.net/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|