Author: raskin
Date: Wed Nov 17 16:27:48 2010
New Revision: 24744
URL: https://svn.nixos.org/websvn/nix/?rev=24744&sc=1
Log:
Update farsight2 and enable python bindings
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/farsight2/default.nix
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/farsight2/default.nix
==============================================================================
---
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/farsight2/default.nix
Wed Nov 17 16:00:33 2010 (r24743)
+++
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/farsight2/default.nix
Wed Nov 17 16:27:48 2010 (r24744)
@@ -1,16 +1,22 @@
-{stdenv, fetchurl, libnice, pkgconfig, python, glib, gstreamer,
gstPluginsBase}:
+{stdenv, fetchurl, libnice, pkgconfig, python, glib, gstreamer, gstPluginsBase,
+ pygobject, gst_python}:
-stdenv.mkDerivation {
- name = "farsight2-0.0.16";
+stdenv.mkDerivation rec {
+ name = "farsight2-0.0.22";
src = fetchurl {
- url =
http://farsight.freedesktop.org/releases/farsight2/farsight2-0.0.16.tar.gz;
+ url = "http://farsight.freedesktop.org/releases/farsight2/${name}.tar.gz";
sha256 = "07yjndkx1p7ij1ifxsnbqbr8943wmq768x4812khka7dx6ii1sv9";
};
- buildInputs = [ libnice pkgconfig python glib gstreamer gstPluginsBase ];
+ buildInputs = [ libnice pkgconfig python glib gstreamer gstPluginsBase
+ pygobject gst_python ];
- configureFlags = "--disable-python";
+ preBuild = ''
+ sed -e '/^[[] -z/d' -i python/Makefile
+ find . -name Makefile -execdir sed -e '/^[.]NOEXPORT:/d' -i '{}' ';'
+ find . -name Makefile -execdir sed -r -e 's/^ {8,8}/\t/' -i '{}' ';'
+ '';
patches = [./makefile.patch];
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits