1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/applications/networking/browsers/vimb/default.nix

39 lines
1.3 KiB
Nix

{ stdenv, fetchurl, pkgconfig, libsoup, webkit, gtk2, glib-networking
, gsettings-desktop-schemas, makeWrapper
}:
stdenv.mkDerivation rec {
name = "vimb-${version}";
version = "3.1.0";
src = fetchurl {
url = "https://github.com/fanglingsu/vimb/archive/${version}.tar.gz";
sha256 = "1gws028c2v1zh6r142hmjvi2m447lwqqh65m6z3dzcar2yw35z3f";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ makeWrapper gtk2 libsoup webkit gsettings-desktop-schemas ];
makeFlags = [ "PREFIX=$(out)" ];
preFixup = ''
wrapProgram "$out/bin/vimb" \
--prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
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 = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.rickynils ];
platforms = with stdenv.lib.platforms; linux;
};
}