Merge pull request #63040 from worldofpeace/brave

brave: 0.61.50 -> 0.65.118
This commit is contained in:
worldofpeace 2019-06-15 21:10:20 -04:00 committed by GitHub
commit 72291fb668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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