nixpkgs/pkgs/desktops/gnome-2/platform/libglade/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

19 lines
495 B
Nix

{stdenv, fetchurl, pkgconfig, gtk, libxml2, python, gettext}:
stdenv.mkDerivation {
name = "libglade-2.6.4";
src = fetchurl {
url = mirror://gnome/sources/libglade/2.6/libglade-2.6.4.tar.bz2;
sha256 = "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk python gettext ];
propagatedBuildInputs = [ libxml2 ];
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
}