mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
25 lines
907 B
Nix
25 lines
907 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.hostPlatform.isAarch64 then
|
|
rec {
|
|
pname = "brave";
|
|
version = "1.71.121";
|
|
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_arm64.deb";
|
|
hash = "sha256-+MBZXtgaEiTqEd63HpPbi4KjHOHPRRcf8q3QDe+YsKk=";
|
|
platform = "aarch64-linux";
|
|
}
|
|
else if stdenv.hostPlatform.isx86_64 then
|
|
rec {
|
|
pname = "brave";
|
|
version = "1.71.121";
|
|
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
|
|
hash = "sha256-sc2FFSttm9+yh8atJQ6KS5ZL87Ov9vUXJeVKYTPNpy0=";
|
|
platform = "x86_64-linux";
|
|
}
|
|
else
|
|
throw "Unsupported platform."
|
|
)
|