python27Packages.xmpppy: fix ssl socket api
This commit is contained in:
26
pkgs/development/python-modules/xmpppy/default.nix
Normal file
26
pkgs/development/python-modules/xmpppy/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, isPy3k }:
|
||||
buildPythonPackage rec {
|
||||
name = "xmpp.py-${version}";
|
||||
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;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "XMPP python library";
|
||||
homepage = "http://xmpppy.sourceforge.net/";
|
||||
license = license.gpl3;
|
||||
maintainers = [ maintainers.mic92 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user