about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/browsers/vimb/default.nix
blob: 35fece92529b81743a69b2b18f5b4e66bd83e69b (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
{ lib, stdenv, fetchFromGitHub, pkg-config, libsoup, webkitgtk, gtk3, glib-networking
, gsettings-desktop-schemas, wrapGAppsHook
}:

stdenv.mkDerivation rec {
  pname = "vimb";
  version = "3.6.0";

  src = fetchFromGitHub {
    owner = "fanglingsu";
    repo = "vimb";
    rev = version;
    sha256 = "sha256-Eq4riJSznKpkW9JJDnTCLxZ9oMJTmWkIoGphOiCcSAg=";
  };

  nativeBuildInputs = [ wrapGAppsHook pkg-config ];
  buildInputs = [ gtk3 libsoup webkitgtk glib-networking gsettings-desktop-schemas ];

  passthru = {
    inherit gtk3;
  };

  makeFlags = [ "PREFIX=${placeholder "out"}" ];

  meta = {
    description = "A Vim-like browser";
    longDescription = ''
      A fast and lightweight vim like web browser based on the webkit web
      browser engine and the GTK toolkit. Vimb is modal like the great vim
      editor and also easily configurable during runtime. Vimb is mostly
      keyboard driven and does not detract you from your daily work.
    '';
    homepage = "https://fanglingsu.github.io/vimb/";
    license = lib.licenses.gpl3;
    maintainers = [];
    platforms = with lib.platforms; linux;
  };
}