2008-09-07 14:58:56 +02:00
|
|
|
args :
|
|
|
|
let
|
|
|
|
lib = args.lib;
|
|
|
|
fetchurl = args.fetchurl;
|
|
|
|
doPatchShebangs = args.doPatchShebangs;
|
|
|
|
makeManyWrappers = args.makeManyWrappers;
|
|
|
|
|
2009-06-04 13:20:26 +02:00
|
|
|
version = lib.attrByPath ["version"] "0.1.7" args;
|
2008-09-07 14:58:56 +02:00
|
|
|
buildInputs = with args; [
|
|
|
|
intltool python imagemagick gtk glib webkit libxml2
|
|
|
|
gtksourceview pkgconfig which gettext makeWrapper
|
2009-06-04 13:20:26 +02:00
|
|
|
file libidn sqlite docutils libnotify libsoup
|
2008-09-07 14:58:56 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://goodies.xfce.org/releases/midori/midori-${version}.tar.bz2";
|
2009-06-04 13:20:26 +02:00
|
|
|
sha256 = if version == "0.1.7" then
|
|
|
|
"1bxs4nlwvhzwiq73lf1gvx7qqdm1hm4x1hym1b0q0dhwhdvafx4v"
|
2008-09-07 14:58:56 +02:00
|
|
|
else null;
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doUnpack" (doPatchShebangs ".") "doConfigure"
|
|
|
|
"doMakeInstall" (doPatchShebangs "$out/bin")
|
|
|
|
(makeManyWrappers "$out/bin/*" "--set WEBKIT_IGNORE_SSL_ERRORS 1")];
|
|
|
|
|
|
|
|
name = "midori-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Light WebKit-based web browser with GTK GUI.";
|
|
|
|
};
|
|
|
|
}
|