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