summary refs log tree commit diff
path: root/pkgs/development/python-modules/xmpppy
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2009-04-12 23:27:55 +0000
committerMichael Raskin <7c6f434c@mail.ru>2009-04-12 23:27:55 +0000
commit9619e184cff6e779807a1eb555e23260ed636fb3 (patch)
treec4478f4571ce215365ce52c45abd1bb0ed19e8ad /pkgs/development/python-modules/xmpppy
parent327d8f4862fe9372f92e4e37fb83f1540507841b (diff)
downloadnixlib-9619e184cff6e779807a1eb555e23260ed636fb3.tar
nixlib-9619e184cff6e779807a1eb555e23260ed636fb3.tar.gz
nixlib-9619e184cff6e779807a1eb555e23260ed636fb3.tar.bz2
nixlib-9619e184cff6e779807a1eb555e23260ed636fb3.tar.lz
nixlib-9619e184cff6e779807a1eb555e23260ed636fb3.tar.xz
nixlib-9619e184cff6e779807a1eb555e23260ed636fb3.tar.zst
nixlib-9619e184cff6e779807a1eb555e23260ed636fb3.zip
Added xmpppy - python XMPP library and pyIRCt - python IRC transport
svn path=/nixpkgs/trunk/; revision=15005
Diffstat (limited to 'pkgs/development/python-modules/xmpppy')
-rw-r--r--pkgs/development/python-modules/xmpppy/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/xmpppy/default.nix b/pkgs/development/python-modules/xmpppy/default.nix
new file mode 100644
index 000000000000..9afa28011dee
--- /dev/null
+++ b/pkgs/development/python-modules/xmpppy/default.nix
@@ -0,0 +1,30 @@
+a :  
+let 
+  fetchurl = a.fetchurl;
+
+  version = a.lib.getAttr ["version"] "0.5.0rc1" a; 
+  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"];
+  mkDirs = a.FullDepEntry(''
+    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";
+  };
+}