summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/vimprobable2/default.nix
blob: 8a2e164b363996f4e8c0fbe3aef2beb5571bb66f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ stdenv, fetchurl, makeWrapper, glib-networking, gtk2, libsoup, libX11, perl,
  pkgconfig, webkitgtk, gsettings-desktop-schemas }:

stdenv.mkDerivation rec {
  version = "1.4.2";
  pname = "vimprobable2";
  src = fetchurl {
    url = "mirror://sourceforge/vimprobable/vimprobable2_${version}.tar.bz2";
    sha256 = "13jdximksh9r3cgd2f8vms0pbsn3x0gxvyqdqiw16xp5fmdx5kzr";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ makeWrapper gtk2 libsoup libX11 perl webkitgtk gsettings-desktop-schemas ];

  hardeningDisable = [ "format" ];

  installFlags = "PREFIX=/ DESTDIR=$(out)";

  preFixup = ''
    wrapProgram "$out/bin/vimprobable2" \
      --prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules" \
      --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
  '';

  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
      being completely featureless.
    '';
    homepage = https://sourceforge.net/apps/trac/vimprobable;
    license = stdenv.lib.licenses.mit;
    maintainers = [ stdenv.lib.maintainers.aforemny ];
    platforms = with stdenv.lib.platforms; linux;
  };
}