Added Gajim XMPP client in nearly full-feature configuration with all dependencies
svn path=/nixpkgs/trunk/; revision=15001
This commit is contained in:
29
pkgs/development/python-modules/dbus/default.nix
Normal file
29
pkgs/development/python-modules/dbus/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
32
pkgs/development/python-modules/libsexy/default.nix
Normal file
32
pkgs/development/python-modules/libsexy/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
26
pkgs/development/python-modules/pyopenssl/default.nix
Normal file
26
pkgs/development/python-modules/pyopenssl/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user