55932c1bec
This reverts commit cd52c04456
and
others.
Managing certificates (including revoking certificates and adding
custom certificates) becomes extremely painful if every package in the
system potentially depends on a different copy of cacert. Also, it
makes updating cacert rather expensive.
38 lines
1.2 KiB
Nix
38 lines
1.2 KiB
Nix
{ stdenv, fetchurl, pkgconfig, libsoup, webkit, gtk, glib_networking
|
|
, gsettings_desktop_schemas, makeWrapper
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "vimb-${version}";
|
|
version = "2.9";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/fanglingsu/vimb/archive/${version}.tar.gz";
|
|
sha256 = "0h9m5qfs09lb0dz8a79yccmm3a5rv6z8gi5pkyfh8fqkgkh2940p";
|
|
};
|
|
|
|
buildInputs = [ makeWrapper gtk libsoup pkgconfig webkit gsettings_desktop_schemas ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/vimb" \
|
|
--prefix GIO_EXTRA_MODULES : "${glib_networking}/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 = "http://fanglingsu.github.io/vimb/";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|