nixpkgs/pkgs/applications/networking/browsers/dwb/default.nix

36 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchgit, pkgconfig, makeWrapper, libsoup, webkit, gtk3, gnutls, json_c,
m4, glib_networking, gsettings_desktop_schemas }:
stdenv.mkDerivation {
2014-03-28 10:30:36 +01:00
name = "dwb-2014-03-27";
src = fetchgit {
url = "https://bitbucket.org/portix/dwb.git";
2014-03-28 10:30:36 +01:00
rev = "4566d58575fbf687ebe9e3414996c45697b62787";
sha256 = "145sq2wv0s0n32cwpwgy59ff6ppcv80ialak7nnj1rpqicfqb72h";
};
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkit gtk3 gnutls json_c m4 ];
# There are Xlib and gtk warnings therefore I have set Wno-error
preBuild=''
makeFlagsArray=(CPPFLAGS="-Wno-error" GTK=3 PREFIX=$out);
'';
preFixup=''
wrapProgram "$out/bin/dwb" \
--prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share"
wrapProgram "$out/bin/dwbem" \
--prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules"
'';
meta = {
homepage = http://portix.bitbucket.org/dwb/;
description = "A lightweight web browser based on the webkit web browser engine and the gtk toolkit";
2013-10-07 17:36:47 +02:00
platforms = stdenv.lib.platforms.mesaPlatforms;
maintainers = [ stdenv.lib.maintainers.pSub ];
license = "GPL";
};
}