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

24 lines
584 B
Nix
Raw Normal View History

args: with args;
stdenv.mkDerivation {
name = "gtk+-2.12.10";
src = fetchurl {
url = mirror://gnome/sources/gtk+/2.12/gtk+-2.12.10.tar.bz2;
md5 = "5fcbdd2254eedb6b9ae828afc01d9eaa";
};
buildInputs = [pkgconfig perl];
propagatedBuildInputs = [
x11 glib atk pango libtiff libjpeg libpng cairo libXrandr
] ++ stdenv.lib.optional xineramaSupport libXinerama;
passthru = { inherit libtiff libjpeg libpng; };
meta = {
description = "A multi-platform toolkit for creating graphical user interfaces";
homepage = http://www.gtk.org/;
};
}