a0159dee8e
URLs to http://nix.cs.uu.nl/dist/tarballs. With content-addressable mirror support (r9190, NIXPKGS-70) this is no longer necessary: fetchurl will try to download from that location automatically. So we can keep the original URLs. svn path=/nixpkgs/trunk/; revision=9192
23 lines
605 B
Nix
23 lines
605 B
Nix
{ xineramaSupport ? false
|
|
, stdenv, fetchurl, pkgconfig, x11, glib, atk
|
|
, pango, perl, libtiff, libjpeg, libpng, cairo, libXinerama ? null
|
|
}:
|
|
|
|
assert x11.buildClientLibs;
|
|
assert xineramaSupport -> libXinerama != null;
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gtk+-2.8.20";
|
|
src = fetchurl {
|
|
url = ftp://ftp.gtk.org/pub/gtk/v2.8/gtk+-2.8.20.tar.bz2;
|
|
md5 = "74e7ca98194f1fadfe906e66d763d05d";
|
|
};
|
|
buildInputs = [
|
|
pkgconfig perl libtiff libjpeg libpng cairo
|
|
(if xineramaSupport then libXinerama else null)
|
|
];
|
|
propagatedBuildInputs = [x11 glib atk pango];
|
|
inherit libtiff libjpeg libpng;
|
|
}
|