Skip to content

Commit

Permalink
Merge pull request #121894 from lourkeur/update/brave
Browse files Browse the repository at this point in the history
brave: 1.23.71 -> 1.24.82
  • Loading branch information
SuperSandro2000 committed May 7, 2021
2 parents 501da89 + 40612e4 commit 3f77710
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/applications/networking/browsers/brave/default.nix
Expand Up @@ -90,11 +90,11 @@ in

stdenv.mkDerivation rec {
pname = "brave";
version = "1.23.71";
version = "1.24.82";

src = fetchurl {
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
sha256 = "17ajn1vx5xwlp2yvjf1hr8vw3b7hiribv5gaipyb37zrhkff241h";
sha256 = "iWUJ5yLWWQvg510Atf+Pd9ya/1NnMNW2Sp/RVFn4PCc=";
};

dontConfigure = true;
Expand All @@ -109,6 +109,8 @@ stdenv.mkDerivation rec {
unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner";

installPhase = ''
runHook preInstall
mkdir -p $out $out/bin
cp -R usr/share $out
Expand Down Expand Up @@ -148,6 +150,8 @@ stdenv.mkDerivation rec {
# Replace xdg-settings and xdg-mime
ln -sf ${xdg-utils}/bin/xdg-settings $out/opt/brave.com/brave/xdg-settings
ln -sf ${xdg-utils}/bin/xdg-mime $out/opt/brave.com/brave/xdg-mime
runHook postInstall
'';

installCheckPhase = ''
Expand Down

0 comments on commit 3f77710

Please sign in to comment.