Added Gajim XMPP client in nearly full-feature configuration with all dependencies

svn path=/nixpkgs/trunk/; revision=15001
This commit is contained in:
Michael Raskin
2009-04-12 19:34:20 +00:00
parent 7ce7e06811
commit 3d5d738895
7 changed files with 190 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
a :
let
fetchurl = a.fetchurl;
version = a.lib.getAttr ["version"] "0.83.0" a;
buildInputs = with a; [
pkgconfig
];
propagatedBuildInputs = with a; [
dbus python dbus_glib
];
in
rec {
src = fetchurl {
url = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${version}.tar.gz";
sha256 = "14b1fwq9jyvg9qbbrmpk1264s9shm9n638hsgmkh9fn2lmd1vpc9";
};
inherit buildInputs propagatedBuildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "python-dbus-" + version;
meta = {
description = "Python DBus bindings";
};
}

View File

@@ -0,0 +1,32 @@
a :
let
fetchurl = a.fetchurl;
version = a.lib.getAttr ["version"] "0.1.9" a;
buildInputs = with a; [
pkgconfig pygtk
];
propagatedBuildInputs = with a; [
libsexy python gtk glib pango libxml2
];
in
rec {
src = fetchurl {
url = "http://releases.chipx86.com/libsexy/sexy-python/sexy-python-${version}.tar.gz";
sha256 = "05bgcsxwkp63rlr8wg6znd46cfbhrzc5wh70jabsi654pxxjb39d";
};
inherit buildInputs propagatedBuildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall" "postInstall"];
postInstall = a.FullDepEntry (''
ln -s $out/lib/python*/site-packages/gtk-2.0/* $out/lib/python*/site-packages/
'') ["minInit"];
name = "python-libsexy-" + version;
meta = {
description = "Python libsexy bindings";
};
}

View File

@@ -1,4 +1,5 @@
{stdenv, fetchurl, python, pkgconfig, glib, gtk, pygobject, pycairo}:
{stdenv, fetchurl, python, pkgconfig, glib, gtk, pygobject, pycairo
, libglade ? null}:
stdenv.mkDerivation {
name = "pygtk-2.10.4";
@@ -8,7 +9,9 @@ stdenv.mkDerivation {
sha256 = "1xg8vng42lql29aa5ryva8icc8dwdc7h2y3yn96qjdgl394d96mb";
};
buildInputs = [python pkgconfig glib gtk];
buildInputs = [python pkgconfig glib gtk]
++ (if libglade != null then [libglade] else [])
;
propagatedBuildInputs = [pygobject pycairo];
}

View File

@@ -0,0 +1,26 @@
a :
let
fetchurl = a.fetchurl;
version = a.lib.getAttr ["version"] "0.8" a;
propagatedBuildInputs = with a; [
openssl python
];
in
rec {
src = fetchurl {
url = "http://prdownloads.sourceforge.net/sourceforge/pyopenssl/pyOpenSSL-${version}.tar.gz";
sha256 = "1qzzycjyp1qsw87msj9kg2q3h7il1bf4jkrwy841y0zi44fl3112";
};
inherit propagatedBuildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["installPythonPackage"];
name = "pyOpenSSL-" + version;
meta = {
description = "Python OpenSSL wrapper capable of checking certificates";
};
}