blob: fd2b90805f5f5409a3d802f0894794b6b590f820 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
doPatchShebangs = args.doPatchShebangs;
makeManyWrappers = args.makeManyWrappers;
version = lib.getAttr ["version"] "0.0.21" args;
buildInputs = with args; [
intltool python imagemagick gtk glib webkit libxml2
gtksourceview pkgconfig which gettext makeWrapper
file
];
in
rec {
src = fetchurl {
url = "http://goodies.xfce.org/releases/midori/midori-${version}.tar.bz2";
sha256 = if version == "0.0.21" then
"0cbpvjdfzgbqwn8rfkp3l35scfvz9cc8hip8v35vkxpac9igcqg5"
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.";
};
}
|