nixpkgs/pkgs/development/libraries/gtk-libs-2.6/gtk+/default.nix

22 lines
713 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, x11, glib, atk
, pango, perl, libtiff, libjpeg, libpng}:
assert pkgconfig != null && x11 != null && glib != null && atk != null
&& pango != null && perl != null && perl != null && libtiff != null
&& libjpeg != null && libpng != null;
assert x11.buildClientLibs;
#assert glib == atk.glib;
#assert glib == pango.glib;
#assert x11 == pango.x11;
stdenv.mkDerivation {
name = "gtk+-2.6.6";
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.6/gtk+-2.6.6.tar.bz2;
md5 = "6bf5a71a7ea6a02821fd0c9edab25904";
};
buildInputs = [pkgconfig perl libtiff libjpeg libpng];
propagatedBuildInputs = [x11 glib atk pango];
inherit libtiff libjpeg libpng;
}