1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/gnome-2/platform/libgnome/default.nix

24 lines
775 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, popt, zlib, libcanberra-gtk2
, intltool, libbonobo, GConf, gnome_vfs, libtool, libogg
}:
stdenv.mkDerivation rec {
2015-04-05 06:22:12 +01:00
name = "libgnome-${minVer}.1";
minVer = "2.32";
2015-04-05 06:22:12 +01:00
src = fetchurl {
url = "mirror://gnome/sources/libgnome/${minVer}/${name}.tar.bz2";
sha256 = "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj";
};
patches = [ ./new-glib.patch ];
/* There's a comment containing an invalid utf-8 sequence, breaking glib-mkenums. */
postPatch = "sed '/returns the true filename/d' -i libgnome/gnome-config.h";
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt zlib intltool GConf gnome_vfs libcanberra-gtk2 libtool ];
2014-06-20 17:51:32 +01:00
propagatedBuildInputs = [ glib libbonobo libogg ];
}