forked from mirrors/nixpkgs
454707da23
svn path=/nixpkgs/trunk/; revision=3660
22 lines
699 B
Nix
22 lines
699 B
Nix
{ 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.2.4";
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gtk+-2.2.4.tar.bz2;
|
|
md5 = "605332199533e73bc6eec481fb4f1671";
|
|
};
|
|
buildInputs = [pkgconfig perl libtiff libjpeg libpng];
|
|
propagatedBuildInputs = [x11 glib atk pango];
|
|
inherit libtiff libjpeg libpng;
|
|
}
|