2009-06-19 09:05:21 +01:00
|
|
|
a :
|
|
|
|
let
|
2012-03-21 19:14:34 +00:00
|
|
|
fetchgit = a.fetchgit;
|
2009-10-06 06:58:56 +01:00
|
|
|
|
2009-06-19 09:05:21 +01:00
|
|
|
buildInputs = with a; [
|
2012-11-08 06:34:06 +00:00
|
|
|
libsoup pkgconfig webkit gtk makeWrapper
|
|
|
|
kbproto glib pango cairo gdk_pixbuf atk
|
|
|
|
python3
|
2009-06-19 09:05:21 +01:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
2012-03-21 19:14:34 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/Dieterbe/uzbl.git";
|
2012-11-08 06:34:06 +00:00
|
|
|
rev = "refs/tags/2012.05.14";
|
|
|
|
sha256 = "1crvikb0qqsx5qb003i4w7ywh72psl37gjslrj5hx2fd2f215l0l";
|
2012-03-21 19:14:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
name = "uzbl-git";
|
2009-06-19 09:05:21 +01:00
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
2009-08-24 14:05:19 +01:00
|
|
|
phaseNames = ["addInputs" "setVars" "doMakeInstall" "doWrap"];
|
|
|
|
|
|
|
|
setVars = a.noDepEntry (''
|
2010-06-17 16:23:38 +01:00
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -L${a.libX11}/lib -lX11"
|
2009-08-24 14:05:19 +01:00
|
|
|
'');
|
2009-08-03 06:11:30 +01:00
|
|
|
|
2010-06-17 05:22:08 +01:00
|
|
|
doWrap = a.makeManyWrappers "$out/bin/uzbl-core"
|
2009-08-03 06:11:30 +01:00
|
|
|
''
|
2009-08-03 07:40:27 +01:00
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gstreamer}/lib/gstreamer-* \
|
2012-03-14 22:44:52 +00:00
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gst_plugins_base}/lib/gstreamer-* \
|
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gst_plugins_good}/lib/gstreamer-* \
|
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gst_ffmpeg}/lib/gstreamer-* \
|
2011-04-17 18:56:01 +01:00
|
|
|
--prefix GIO_EXTRA_MODULES : ${a.glib_networking}/lib/gio/modules
|
2009-08-03 06:11:30 +01:00
|
|
|
'';
|
2009-06-19 09:05:21 +01:00
|
|
|
|
2012-11-08 06:34:06 +00:00
|
|
|
installFlags = "PREFIX=$out PYINSTALL_EXTRA=\"--prefix=$out\"";
|
2009-06-19 09:05:21 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tiny externally controllable webkit browser";
|
2009-08-04 08:49:16 +01:00
|
|
|
maintainers = [a.lib.maintainers.raskin];
|
2009-06-19 09:05:21 +01:00
|
|
|
};
|
|
|
|
}
|