nixpkgs/pkgs/applications/networking/browsers/uzbl/default.nix
Michael Raskin 25b3fe32ad Adding myself as a maintainer of some of the packages
svn path=/nixpkgs/trunk/; revision=16572
2009-08-04 07:49:16 +00:00

39 lines
1.1 KiB
Nix

a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "2009.07.18" a;
buildInputs = with a; [
pkgconfig webkit libsoup gtk makeWrapper
];
in
rec {
src = fetchurl {
url = "http://github.com/Dieterbe/uzbl/tarball/${version}";
sha256 = "1bgx2pl3f4y20s43xpz62dx9pa80z38d0l6kzyzjbpzikih69vkw";
name = "uzbl-master-${version}.tar.gz";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doMakeInstall" "doWrap"];
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";
name = "uzbl-" + version;
meta = {
description = "Tiny externally controllable webkit browser";
maintainers = [a.lib.maintainers.raskin];
};
}