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