Author: cillian Date: Mon May 21 22:46:40 2012 New Revision: 34203 URL: https://nixos.org/websvn/nix/?rev=34203&sc=1
Log: Submitting patch by qknight (Joachim Schiele) to add Gnome2 python bindings Added: nixpkgs/trunk/pkgs/desktops/gnome-2/bindings/gnome-python/ nixpkgs/trunk/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix Modified: nixpkgs/trunk/pkgs/desktops/gnome-2/default.nix Added: nixpkgs/trunk/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ nixpkgs/trunk/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix Mon May 21 22:46:40 2012 (r34203) @@ -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 ]; + }; +} \ No newline at end of file Modified: nixpkgs/trunk/pkgs/desktops/gnome-2/default.nix ============================================================================== --- nixpkgs/trunk/pkgs/desktops/gnome-2/default.nix Mon May 21 22:38:44 2012 (r34202) +++ nixpkgs/trunk/pkgs/desktops/gnome-2/default.nix Mon May 21 22:46:40 2012 (r34203) @@ -111,4 +111,6 @@ libglademm = callPackage ./bindings/libglademm { }; + gnome_python = callPackage ./bindings/gnome-python { }; + } _______________________________________________ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits