8776ba127c
right now because wxGTK is broken (it depends on internal symbols in GTK which where made private in GTK 2.4). svn path=/nixpkgs/trunk/; revision=907
26 lines
642 B
Nix
26 lines
642 B
Nix
{stdenv, fetchurl, pkgconfig, gtk, 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.4.2";
|
|
|
|
src = fetchurl {
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.4.2.tar.bz2;
|
|
md5 = "cdadfe82fc93f8a65a2ae18a95b0b0e3";
|
|
};
|
|
|
|
buildinputs = [pkgconfig gtk gtk.libtiff gtk.libjpeg gtk.libpng gtk.libpng.zlib];
|
|
|
|
configureFlags = [
|
|
"--enable-gtk2"
|
|
(if compat22 then "--enable-compat22" else "--disable-compat22")
|
|
];
|
|
|
|
inherit gtk compat22;
|
|
}
|