nixpkgs/pkgs/applications/networking/browsers/uzbl/default.nix
Michael Raskin 7469c3da48 move to fetchgit as github tarballs are unpredictable
svn path=/nixpkgs/trunk/; revision=17662
2009-10-06 05:58:56 +00:00

39 lines
955 B
Nix

a :
let
fetchurl = a.fetchurl;
s = import ./src-for-default.nix;
buildInputs = with a; [
libsoup pkgconfig webkit gtk makeWrapper
];
in
rec {
src = (a.fetchGitFromSrcInfo s) + "/";
inherit (s) name;
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["addInputs" "setVars" "doMakeInstall" "doWrap"];
setVars = a.noDepEntry (''
'');
doWrap = a.makeManyWrappers "$out/bin/uzbl"
''
--prefix GST_PLUGIN_PATH : ${a.webkit.gstreamer}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${a.webkit.gstPluginsBase}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${a.webkit.gstPluginsGood}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${a.webkit.gstFfmpeg}/lib/gstreamer-*
'';
installFlags = "PREFIX=$out";
meta = {
description = "Tiny externally controllable webkit browser";
maintainers = [a.lib.maintainers.raskin];
};
}