brave: 0.61.50 -> 0.65.118

Also corrects indentation and adds changelog meta attribute.

https://github.com/brave/brave-browser/blob/v0.65.118/CHANGELOG.md
This commit is contained in:
worldofpeace 2019-06-12 13:07:47 -04:00
parent 037dd9b796
commit 16f867c2cb

View File

@ -14,6 +14,7 @@
, glib , glib
, gnome2 , gnome2
, gnome3 , gnome3
, gsettings-desktop-schemas
, gtk3 , gtk3
, libuuid , libuuid
, libX11 , libX11
@ -37,7 +38,9 @@
, wrapGAppsHook , wrapGAppsHook
}: }:
let rpath = lib.makeLibraryPath [ let
rpath = lib.makeLibraryPath [
alsaLib alsaLib
at-spi2-atk at-spi2-atk
at-spi2-core at-spi2-core
@ -73,14 +76,15 @@ let rpath = lib.makeLibraryPath [
zlib zlib
]; ];
in
in stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "brave"; pname = "brave";
version = "0.61.50"; version = "0.65.118";
src = fetchurl { src = fetchurl {
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
sha256 = "1lbajxnxqkd422rckfjm65pwwzl66v7anq4jrzxi29d5x7abl3c1"; sha256 = "13bihzf4yfgn01nrw780swhmcdh8gq71jqilhbi04jn1h1pbm3wg";
}; };
dontConfigure = true; dontConfigure = true;
@ -89,7 +93,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ dpkg wrapGAppsHook ]; nativeBuildInputs = [ dpkg wrapGAppsHook ];
buildInputs = [ glib gnome3.gsettings_desktop_schemas gnome3.adwaita-icon-theme ]; buildInputs = [ glib gsettings-desktop-schemas gnome3.adwaita-icon-theme ];
unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner"; unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner";
@ -138,6 +142,7 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://brave.com/"; homepage = "https://brave.com/";
description = "Privacy-oriented browser for Desktop and Laptop computers"; description = "Privacy-oriented browser for Desktop and Laptop computers";
changelog = "https://github.com/brave/brave-browser/blob/v${version}/CHANGELOG.md";
longDescription = '' longDescription = ''
Brave browser blocks the ads and trackers that slow you down, Brave browser blocks the ads and trackers that slow you down,
chew up your bandwidth, and invade your privacy. Brave lets you chew up your bandwidth, and invade your privacy. Brave lets you