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