2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchurl, isPy3k }:
|
2017-01-19 17:57:08 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "xmpp.py";
|
2017-01-19 17:57:08 +00:00
|
|
|
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-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-01-19 17:57:08 +00:00
|
|
|
description = "XMPP python library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://xmpppy.sourceforge.net/";
|
2017-01-19 19:04:54 +00:00
|
|
|
license = licenses.gpl3;
|
2017-01-19 17:57:08 +00:00
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|