mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
e42507d182
gazillion different servers. Resurrected some 25 missing files. svn path=/nixpkgs/trunk/; revision=2237
30 lines
701 B
Nix
30 lines
701 B
Nix
{stdenv, fetchurl, pkgconfig, gtk, libXinerama, compat22 ? true}:
|
|
|
|
assert pkgconfig != null && gtk != null;
|
|
assert gtk.libtiff != null;
|
|
assert gtk.libjpeg != null;
|
|
assert gtk.libpng != null;
|
|
assert gtk.libpng.zlib != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "wxGTK-2.5.2";
|
|
|
|
src = fetchurl {
|
|
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/wxGTK-2.5.2.tar.bz2;
|
|
md5 = "b45874428b0164bfa5bd1a5a11b3eb4a";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig gtk gtk.libtiff gtk.libjpeg gtk.libpng gtk.libpng.zlib
|
|
libXinerama
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-gtk2"
|
|
(if compat22 then "--enable-compat22" else "--disable-compat22")
|
|
"--disable-precomp-headers"
|
|
];
|
|
|
|
inherit gtk compat22;
|
|
}
|