2009-04-13 00:27:55 +01:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-05-24 11:57:41 +01:00
|
|
|
version = a.lib.attrByPath ["version"] "0.5.0rc1" a;
|
2009-04-13 00:27:55 +01:00
|
|
|
buildInputs = with a; [
|
|
|
|
python setuptools
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://prdownloads.sourceforge.net/sourceforge/xmpppy/xmpppy-${version}.tar.gz";
|
|
|
|
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["mkDirs" "installPythonPackage"];
|
2009-05-20 00:25:58 +01:00
|
|
|
mkDirs = a.fullDepEntry(''
|
2009-04-13 00:27:55 +01:00
|
|
|
ensureDir $out/bin $out/lib $out/share $(toPythonPath $out)
|
|
|
|
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
|
|
|
|
'') ["defEnsureDir" "addInputs"];
|
|
|
|
|
|
|
|
name = "xmpp.py-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "XMPP python library";
|
|
|
|
};
|
|
|
|
}
|