2004-02-17 20:18:46 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, gtk, compat22 ? true}:
|
2003-12-03 22:58:16 +01:00
|
|
|
|
2004-03-29 12:25:25 +02:00
|
|
|
assert pkgconfig != null && gtk != null;
|
|
|
|
assert gtk.libtiff != null;
|
|
|
|
assert gtk.libjpeg != null;
|
|
|
|
assert gtk.libpng != null;
|
|
|
|
assert gtk.libpng.zlib != null;
|
2003-12-03 22:58:16 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2003-12-03 22:58:16 +01:00
|
|
|
name = "wxGTK-2.4.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2005-08-22 10:39:27 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/wxGTK-2.4.2.tar.bz2;
|
2003-12-03 22:58:16 +01:00
|
|
|
md5 = "cdadfe82fc93f8a65a2ae18a95b0b0e3";
|
|
|
|
};
|
|
|
|
|
2004-09-18 23:18:28 +02:00
|
|
|
buildInputs = [pkgconfig gtk gtk.libtiff gtk.libjpeg gtk.libpng gtk.libpng.zlib];
|
2004-04-02 17:36:14 +02:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-gtk2"
|
|
|
|
(if compat22 then "--enable-compat22" else "--disable-compat22")
|
|
|
|
];
|
|
|
|
|
|
|
|
inherit gtk compat22;
|
2003-12-03 22:58:16 +01:00
|
|
|
}
|