nixpkgs-suyu/pkgs/desktops/gnome-2/platform/libbonobo/default.nix

22 lines
668 B
Nix
Raw Normal View History

{ stdenv, fetchurl, flex, bison, pkgconfig, glib, libxml2, popt
, intltool, ORBit2, procps }:
stdenv.mkDerivation rec {
2015-04-05 07:22:12 +02:00
name = "libbonobo-${minVer}.1";
minVer = "2.32";
src = fetchurl {
url = "mirror://gnome/sources/libbonobo/${minVer}/${name}.tar.bz2";
sha256 = "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i";
};
outputs = [ "out" "dev" ];
2016-04-27 03:04:48 +02:00
preConfigure = # still using stuff deprecated in new glib versions
"sed 's/-DG_DISABLE_DEPRECATED//g' -i configure activation-server/Makefile.in";
nativeBuildInputs = [ flex bison pkgconfig intltool procps ];
buildInputs = [ libxml2 ];
propagatedBuildInputs = [ popt glib ORBit2 ];
}