1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Submitting patch by qknight (Joachim Schiele) to add Gnome2 python bindings

svn path=/nixpkgs/trunk/; revision=34203
This commit is contained in:
Cillian de Roiste 2012-05-21 22:46:40 +00:00
parent f44b78641d
commit 6bf4d9522a
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ stdenv, fetchurl, python, pkgconfig, libgnome, GConf, pygobject, pygtk, glib, gtk, pythonDBus}:
with stdenv.lib;
stdenv.mkDerivation rec {
version = "2.28";
name = "gnome-python-${version}.1";
src = fetchurl {
url = "http://ftp.gnome.org/pub/GNOME/sources/gnome-python/${version}/${name}.tar.bz2";
sha256 = "759ce9344cbf89cf7f8449d945822a0c9f317a494f56787782a901e4119b96d8";
};
phases = "unpackPhase configurePhase buildPhase installPhase";
# You should be using WAF instead; see the file INSTALL.WAF
configurePhase = ''
python waf configure --prefix=$out
'';
buildPhase = ''
python waf build
'';
installPhase = ''
python waf install
'';
buildInputs = [ python pkgconfig pygobject pygtk glib gtk GConf libgnome pythonDBus ];
doCheck = false;
meta = {
homepage = "http://projects.gnome.org/gconf/";
description = "Python wrapper for gconf";
maintainers = [ stdenv.lib.maintainers.qknight ];
};
}

View file

@ -111,4 +111,6 @@
libglademm = callPackage ./bindings/libglademm { };
gnome_python = callPackage ./bindings/gnome-python { };
}