2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, glib-networking, gtk2, libsoup, libX11, perl,
|
2019-03-05 16:40:00 +00:00
|
|
|
pkgconfig, webkitgtk, gsettings-desktop-schemas }:
|
2012-01-04 22:12:43 +00:00
|
|
|
|
2013-03-14 15:01:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-03-29 23:59:32 +00:00
|
|
|
version = "1.4.2";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "vimprobable2";
|
2012-01-04 22:12:43 +00:00
|
|
|
src = fetchurl {
|
2013-03-14 15:01:53 +00:00
|
|
|
url = "mirror://sourceforge/vimprobable/vimprobable2_${version}.tar.bz2";
|
2014-03-29 23:59:32 +00:00
|
|
|
sha256 = "13jdximksh9r3cgd2f8vms0pbsn3x0gxvyqdqiw16xp5fmdx5kzr";
|
2012-01-04 22:12:43 +00:00
|
|
|
};
|
2013-02-25 19:56:11 +00:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-03-05 16:40:00 +00:00
|
|
|
buildInputs = [ makeWrapper gtk2 libsoup libX11 perl webkitgtk gsettings-desktop-schemas ];
|
2013-02-25 19:56:11 +00:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-20 22:34:06 +00:00
|
|
|
|
|
|
|
installFlags = "PREFIX=/ DESTDIR=$(out)";
|
2014-04-05 14:51:42 +01:00
|
|
|
|
|
|
|
preFixup = ''
|
2013-03-14 15:01:53 +00:00
|
|
|
wrapProgram "$out/bin/vimprobable2" \
|
2018-02-25 02:23:58 +00:00
|
|
|
--prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules" \
|
2014-04-05 14:51:42 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
2012-01-04 22:12:43 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''
|
|
|
|
Vimprobable is a web browser that behaves like the Vimperator plugin
|
|
|
|
available for Mozilla Firefox
|
|
|
|
'';
|
|
|
|
longDescription = ''
|
|
|
|
Vimprobable is a web browser that behaves like the Vimperator plugin
|
|
|
|
available for Mozilla Firefox. It is based on the WebKit engine (using
|
|
|
|
GTK bindings). The goal of Vimprobable is to build a completely
|
|
|
|
keyboard-driven, efficient and pleasurable browsing-experience. Its
|
|
|
|
featureset might be considered "minimalistic", but not as minimalistic as
|
2016-02-20 22:34:06 +00:00
|
|
|
being completely featureless.
|
2012-01-04 22:12:43 +00:00
|
|
|
'';
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://sourceforge.net/apps/trac/vimprobable;
|
2012-04-04 22:30:49 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.aforemny ];
|
2012-03-25 12:39:43 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2012-01-04 22:12:43 +00:00
|
|
|
};
|
|
|
|
}
|