mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
28 lines
701 B
Nix
28 lines
701 B
Nix
{ stdenv, buildPythonPackage, fetchurl, isPy3k }:
|
|
buildPythonPackage rec {
|
|
pname = "xmpp.py";
|
|
name = "${pname}-${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 = licenses.gpl3;
|
|
maintainers = [ maintainers.mic92 ];
|
|
};
|
|
}
|