nixpkgs/pkgs/applications/networking/browsers/brave/default.nix
2024-05-02 16:06:00 +00:00

25 lines
865 B
Nix

# Expression generated by update.sh; do not edit it by hand!
{ stdenv, callPackage, ... }@args:
callPackage ./make-brave.nix (removeAttrs args [ "callPackage" ])
(
if stdenv.isAarch64 then
{
pname = "brave";
version = "1.65.126";
url = "https://github.com/brave/brave-browser/releases/download/v1.65.126/brave-browser_1.65.126_arm64.deb";
hash = "sha256-v2PbixM9g+AhvR6tJ9QDbaXF7ERlBBrNMIsLofFbAfU=";
platform = "aarch64-linux";
}
else if stdenv.isx86_64 then
{
pname = "brave";
version = "1.65.126";
url = "https://github.com/brave/brave-browser/releases/download/v1.65.126/brave-browser_1.65.126_amd64.deb";
hash = "sha256-DbdwCu9LwCeoH46egVY4AsOxcJDWilD2MdpyNdyJizw=";
platform = "x86_64-linux";
}
else
throw "Unsupported platform."
)