ea4f08a919
dwb: 2015-07-07 -> 2016-03-21
35 lines
1.2 KiB
Nix
35 lines
1.2 KiB
Nix
{ stdenv, fetchgit, pkgconfig, makeWrapper, libsoup, webkitgtk2, gtk2, gnutls
|
|
, json_c, m4, glib_networking, gsettings_desktop_schemas, dconf }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "dwb-2016-03-21";
|
|
|
|
src = fetchgit {
|
|
url = "https://bitbucket.org/portix/dwb";
|
|
rev = "7fb82bc1db36a5d1d2436088c9b58054d2c51f96";
|
|
sha256 = "16y3cfk4bq89d1lzpj4ci4gq9cx5m2br5i7kmw5rv396527yvn0i";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup
|
|
webkitgtk2 gtk2 gnutls json_c m4 ];
|
|
|
|
# There are Xlib and gtk warnings therefore I have set Wno-error
|
|
makeFlags = ''PREFIX=$(out) GTK=2 CPPFLAGS="-Wno-error"'';
|
|
|
|
preFixup=''
|
|
wrapProgram "$out/bin/dwb" \
|
|
--prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules:${dconf}/lib/gio/modules" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share"
|
|
wrapProgram "$out/bin/dwbem" \
|
|
--prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://portix.bitbucket.org/dwb/;
|
|
description = "A lightweight web browser based on the webkit web browser engine and the gtk toolkit";
|
|
platforms = platforms.mesaPlatforms;
|
|
maintainers = with maintainers; [ pSub ];
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|