Merge pull request #51232 from dtzWill/update/vimb-3.3.0

vimb: 3.1.0 -> 3.3.0
This commit is contained in:
Will Dietz 2019-01-20 02:16:30 -06:00 committed by GitHub
commit f511d52c5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,22 @@
{ stdenv, fetchurl, pkgconfig, libsoup, webkit, gtk2, glib-networking
, gsettings-desktop-schemas, makeWrapper
{ stdenv, fetchFromGitHub, pkgconfig, libsoup, webkit, gtk3, glib-networking
, gsettings-desktop-schemas, wrapGAppsHook
}:
stdenv.mkDerivation rec {
name = "vimb-${version}";
version = "3.1.0";
version = "3.3.0";
src = fetchurl {
url = "https://github.com/fanglingsu/vimb/archive/${version}.tar.gz";
sha256 = "1gws028c2v1zh6r142hmjvi2m447lwqqh65m6z3dzcar2yw35z3f";
src = fetchFromGitHub {
owner = "fanglingsu";
repo = "vimb";
rev = version;
sha256 = "1qg18z2gnsli9qgrqfhqfrsi6g9mcgr90w8yab28nxrq4aha6brf";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ makeWrapper gtk2 libsoup webkit gsettings-desktop-schemas ];
nativeBuildInputs = [ wrapGAppsHook pkgconfig ];
buildInputs = [ gtk3 libsoup webkit glib-networking 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"
'';
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = {
description = "A Vim-like browser";