31 Commits

Author SHA1 Message Date
=
e2ea0e7dfa bump helium
Some checks failed
cache / build (push) Failing after 3h14m8s
2026-01-04 13:29:49 +00:00
636b729964 fix warning
Some checks are pending
cache / build (push) Waiting to run
2025-12-09 21:59:34 +04:00
f77541c4bf remove breakpoint hook
Some checks failed
cache / build (push) Failing after 3h14m40s
2025-12-06 12:57:47 +04:00
34dbec903f bump helium and add aria2-fast
Some checks failed
cache / build (push) Has been cancelled
2025-12-05 23:09:57 +04:00
e8a67e136d Merge branch 'bump-helium'
All checks were successful
cache / build (push) Successful in 20s
2025-11-11 21:30:54 +04:00
b6dde58eca add overlays which use our custom nixpkgs
All checks were successful
cache / build (push) Successful in 21s
2025-11-11 18:12:19 +04:00
981ad4307b fuck
All checks were successful
cache / build (push) Successful in 2h19m19s
2025-11-11 16:56:24 +04:00
6443c3859f bump nixpkgs 2025-11-11 16:56:14 +04:00
f8aff912c1 enable skip-cached
Some checks failed
cache / build (push) Failing after 21m45s
2025-11-11 16:13:11 +04:00
8912f0bacd make actions build on any push
Some checks failed
cache / build (push) Has been cancelled
2025-11-11 16:12:44 +04:00
0a196c5012 try update helium and other pkgs 2025-11-11 16:11:57 +04:00
ddf51d782e fix flightcore build
All checks were successful
checks / checks (push) Successful in 21s
2025-11-11 16:09:12 +04:00
da12d408e9 prevent helium from being built on aarch64
Some checks failed
checks / checks (push) Has been cancelled
2025-11-11 16:08:04 +04:00
d8dc8d84a5 fix action
Some checks failed
checks / checks (push) Has been cancelled
2025-11-11 15:28:04 +04:00
ff4dd1a4eb add cache
Some checks failed
checks / checks (push) Failing after 16s
2025-11-11 15:27:39 +04:00
51038c5b6c flightcore: cleanup
All checks were successful
checks / checks (push) Successful in 5m15s
2025-10-27 18:45:17 +04:00
8f02cf55b2 flightcore: init
Some checks failed
checks / checks (push) Has been cancelled
2025-10-27 18:44:24 +04:00
77fac19667 helium-browser: fix patcher
All checks were successful
checks / checks (push) Successful in 2h50m23s
2025-10-20 09:55:10 +04:00
21673b7396 helium-browser: update
Some checks failed
checks / checks (push) Failing after 4m1s
2025-10-20 09:50:41 +04:00
27a4764e00 claude-code-acp: init
Some checks failed
checks / checks (push) Has been cancelled
2025-10-17 21:09:27 +00:00
b26187ae7d helium-browser: version change
All checks were successful
checks / checks (push) Successful in 2h40m35s
2025-10-09 10:12:44 +04:00
539624da38 update and change how version is set 2025-10-09 10:11:28 +04:00
e5a7804eae helium-browser: update 2025-10-08 19:57:03 +04:00
18e2916e54 revert unfree fix
All checks were successful
checks / checks (push) Successful in 2h18m37s
2025-10-07 16:03:19 +04:00
baa4fcd4c2 fix build
Some checks failed
checks / checks (push) Has been cancelled
2025-10-07 16:02:08 +04:00
63dd4c75bc fix unfree error
Some checks failed
checks / checks (push) Has been cancelled
2025-10-07 15:59:52 +04:00
76536821fb add more options
Some checks failed
checks / checks (push) Has been cancelled
2025-10-07 15:56:40 +04:00
af6bedc09d delete old file
Some checks failed
checks / checks (push) Has been cancelled
2025-10-07 13:34:11 +04:00
964aa04878 fix gitignore
Some checks failed
checks / checks (push) Has been cancelled
2025-10-07 13:33:20 +04:00
4da830c97e fix 2025-10-07 13:32:55 +04:00
84f446e82c update helium 2025-10-07 13:27:00 +04:00
20 changed files with 6821 additions and 230 deletions

View File

@@ -0,0 +1,10 @@
name: cache
on:
push:
jobs:
build:
runs-on: nix
steps:
- uses: actions/checkout@v4
- run: attic login pkgs https://attic.scug.io ${{ secrets.ATTIC_TOKEN }}
- run: nix-fast-build --skip-cached --systems "x86_64-linux aarch64-linux" --no-nom --attic-cache pkgs

View File

@@ -1,11 +0,0 @@
name: checks
on:
push:
branches:
- main
jobs:
checks:
runs-on: nix
steps:
- uses: actions/checkout@v4
- run: nix flake check -L --all-systems

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
/result
**/result
result

8
flake.lock generated
View File

@@ -20,16 +20,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1758690382,
"narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=",
"lastModified": 1764897201,
"narHash": "sha256-428X4sppU6k+tF2vxTy726E5BxbtoxoTRP+1FBbXqvM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e643668fd71b949c53f8626614b21ff71a07379d",
"rev": "9cfae7bb77c5058a4cfa8006d0caf82af8e980dc",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}

View File

@@ -2,7 +2,7 @@
description = "Scuggo Pkgs";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
flake-utils.url = "github:numtide/flake-utils";
};
@@ -12,13 +12,8 @@
nixpkgs,
flake-utils,
}@inputs:
{
overlays.default =
final: prev: ((import "${nixpkgs}/pkgs/top-level/by-name-overlay.nix" ./pkgs/by-name) final prev);
}
//
flake-utils.lib.eachSystem
(nixpkgs.lib.recursiveUpdate
(flake-utils.lib.eachSystem
[
"x86_64-linux"
"aarch64-linux"
@@ -73,8 +68,17 @@
# );
in
{
overlays.default = final: prev: flatPackages;
packages = flatPackages;
checks = lib.mapAttrs' (n: lib.nameValuePair "package-${n}") workingPackages;
}
);
)
)
{
overlays = {
default =
final: prev: ((import "${nixpkgs}/pkgs/top-level/by-name-overlay.nix" ./pkgs/by-name) final prev);
};
}
);
}

View File

@@ -0,0 +1,4 @@
{ aria2 }:
aria2.overrideAttrs (oldAttrs: rec {
patches = oldAttrs.patches or [ ] ++ [ ./unlimited.patch ];
})

View File

@@ -0,0 +1,11 @@
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -440,7 +440,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
{
OptionHandler* op(new NumberOptionHandler(PREF_MAX_CONNECTION_PER_SERVER,
TEXT_MAX_CONNECTION_PER_SERVER,
- "1", 1, 16, 'x'));
+ "1", 1, -1, 'x'));
op->addTag(TAG_BASIC);
op->addTag(TAG_FTP);
op->addTag(TAG_HTTP);

View File

@@ -0,0 +1,5 @@
{
"version": "0.6.7",
"srcHash": "sha256-v32Q02ALWw6Upd4rrHGZH7Vt25+xSnKJCNGJob/irgM=",
"npmDepsHash": "sha256-oUAHkB4EPuo8YCxi9Y/Lc8cipjJQ05o51MpdUsCjiiQ="
}

View File

@@ -0,0 +1,36 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
let
info = lib.importJSON ./info.json;
in
buildNpmPackage {
pname = "claude-code-acp";
version = info.version;
src = fetchFromGitHub {
owner = "zed-industries";
repo = "claude-code-acp";
rev = "v${info.version}";
hash = info.srcHash;
};
npmDepsHash = info.npmDepsHash;
# The package uses TypeScript and builds before publishing
npmBuildScript = "build";
passthru = {
updateScript = ./update.mjs;
};
meta = {
description = "Use Claude Code from any ACP client such as Zed";
homepage = "https://github.com/zed-industries/claude-code-acp";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
mainProgram = "claude-code-acp";
};
}

View File

@@ -0,0 +1,77 @@
#! /usr/bin/env nix-shell
/*
#! nix-shell -i zx -p nix-prefetch-github -p zx
*/
import { readFileSync, writeFileSync } from "fs";
import { dirname, join } from "path";
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
// GitHub API endpoint for latest release
const GITHUB_API = "https://api.github.com/repos/zed-industries/claude-code-acp/releases/latest";
// Read current info.json
const infoPath = join(__dirname, "info.json");
const currentInfo = JSON.parse(readFileSync(infoPath, "utf-8"));
console.log(`Current version: ${currentInfo.version}`);
// Fetch latest release from GitHub
console.log("Fetching latest release from GitHub...");
const response = await fetch(GITHUB_API);
const release = await response.json();
const latestVersion = release.tag_name.replace(/^v/, ""); // Remove 'v' prefix
console.log(`Latest version: ${latestVersion}`);
if (currentInfo.version === latestVersion) {
console.log("Already up to date!");
process.exit(0);
}
// Update version
currentInfo.version = latestVersion;
// Prefetch source hash
console.log("Prefetching source hash...");
const srcHashOutput = await $`nix-prefetch-github zed-industries claude-code-acp --rev v${latestVersion}`;
const srcPrefetch = JSON.parse(srcHashOutput.stdout);
currentInfo.srcHash = srcPrefetch.hash;
console.log(`Source hash: ${currentInfo.srcHash}`);
// Write temporary info.json to get npmDepsHash
writeFileSync(infoPath, JSON.stringify(currentInfo, null, 2) + "\n");
// Prefetch npm dependencies hash
console.log("Prefetching npm dependencies hash...");
try {
// This will fail with the expected hash in the error message
await $`nix build .#claude-code-acp`;
} catch (error) {
// Extract hash from error message
const errorOutput = error.stderr;
const hashMatch = errorOutput.match(/got:\s+(sha256-[A-Za-z0-9+/=]+)/);
if (hashMatch) {
currentInfo.npmDepsHash = hashMatch[1];
console.log(`npm deps hash: ${currentInfo.npmDepsHash}`);
} else {
console.error("Failed to extract npmDepsHash from build output");
console.error("You may need to update it manually by running:");
console.error(` nix-build -A claude-code-acp`);
console.error("and copying the hash from the error message");
}
}
// Write final info.json
writeFileSync(infoPath, JSON.stringify(currentInfo, null, 2) + "\n");
console.log("\nUpdate complete!");
console.log(`Version: ${currentInfo.version}`);
console.log(`Source hash: ${currentInfo.srcHash}`);
console.log(`npm deps hash: ${currentInfo.npmDepsHash}`);

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,73 @@
{
lib,
stdenv,
rustPlatform,
jq,
moreutils,
fetchNpmDeps,
cargo-tauri,
glib-networking,
nodejs,
npmHooks,
openssl,
pkg-config,
webkitgtk_4_1,
wrapGAppsHook4,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "flightcore";
version = "3.2.0";
src = fetchFromGitHub {
owner = "R2NorthstarTools";
repo = "FlightCore";
rev = "v${finalAttrs.version}";
sha256 = "sha256-MFnW9cXFzqmdtC31r8cRcihV3NjGAC6+2/DnNVMheCI=";
};
patches = [ ./cargo-lock.patch ];
cargoDeps = rustPlatform.fetchCargoVendor {
src = finalAttrs.src;
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
hash = "sha256-Jh0DAX4fGy2Z1+hpq+bkU/VYy2JAL2u+neUIsQ2QXBU=";
patchFlags = "-p2";
inherit (finalAttrs) patches;
};
postPatch = ''
jq '.bundle.createUpdaterArtifacts = false' src-tauri/tauri.conf.json | sponge src-tauri/tauri.conf.json
'';
npmDeps = fetchNpmDeps {
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
src = "${finalAttrs.src}/src-vue";
hash = "sha256-QhUPkCBK1kcAF7gByFxlg8Ca9PLF3evCl0QYEPP/Q2c=";
};
nativeBuildInputs = [
cargo-tauri.hook
nodejs
npmHooks.npmConfigHook
pkg-config
jq
moreutils
]
++ lib.optionals stdenv.hostPlatform.isLinux [ wrapGAppsHook4 ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
glib-networking
openssl
webkitgtk_4_1
];
cargoRoot = "src-tauri";
npmRoot = "src-vue";
buildAndTestSubdir = finalAttrs.cargoRoot;
meta = {
platforms = [ "x86_64-linux" ];
description = "FlightCore A Northstar installer, updater, and mod-manager";
};
})

0
pkgs/by-name/he/helium-browser/depot_tools.py Normal file → Executable file
View File

View File

@@ -24,7 +24,7 @@ stdenv.mkDerivation {
dontBuild = true;
patches = [ ./fix-scripts.patch ];
# patches = [ ./fix-scripts.patch ];
buildInputs = [

View File

@@ -1,58 +1,58 @@
{
"ungoogled-chromium": {
"version": "140.0.7339.213",
"version": "143.0.7499.169",
"deps": {
"depot_tools": {
"rev": "7d1e2bdb9168718566caba63a170a67cdab2356b",
"hash": "sha256-ZOzKQpo7Z/h1eeWQj20ghDq7pFZ9nch8lt60aoK/g2k="
"rev": "e2bb3cd55899346cc68bbfd5139e59c9d85a6984",
"hash": "sha256-Qlc0UAdGRm1C0DNAqBsssND8PQZUVkj6aDaeExjwi2E="
},
"gn": {
"version": "0-unstable-2025-07-29",
"rev": "3a4f5cea73eca32e9586e8145f97b04cbd4a1aee",
"hash": "sha256-Z7bTto8BHnJzjvmKmcVAZ0/BrXimcAETV6YGKNTorQw="
"version": "0-unstable-2025-10-08",
"rev": "07d3c6f4dc290fae5ca6152ebcb37d6815c411ab",
"hash": "sha256-kIPhfuJBQSISdRjloe0N2JrqvuVrEkNijb92/9zSE9I="
},
"ungoogled-patches": {
"rev": "0.4.13",
"hash": "sha256-zSnS/t4hLyIxkSyiW6ZnclawYXC53e57yZB4kUQNW+M="
"rev": "0.7.9",
"hash": "sha256-WmCG1iG200En3Nt5U2E6KhXvZHv4gwwa7xtPTqpWOAI="
},
"npmHash": "sha256-R2gOpfPOUAmnsnUTIvzDPHuHNzL/b2fwlyyfTrywEcI="
"npmHash": "sha256-HF6B4abJJJ9JDVbovtAdaHIvqE1zHJZ2a+g2Cudx8Pw="
},
"DEPS": {
"src": {
"url": "https://chromium.googlesource.com/chromium/src.git",
"rev": "e2e6becc9eb74f73aa250b790c4e42ea9da82089",
"hash": "sha256-De34ATbpdYMRuhroHT0n+D/ZdClZJyRgA5GPzsvh70Y=",
"rev": "164b20aab62509dad21fd46383951aeec084ad1e",
"hash": "sha256-WqpZXjcklOyPIvEmWi23bC8D/vVXMLkAmFrQQ13Iy6o=",
"recompress": true
},
"src/third_party/clang-format/script": {
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git",
"rev": "37f6e68a107df43b7d7e044fd36a13cbae3413f2",
"hash": "sha256-d9uweklBffiuCWEb03ti1eFLnMac2qRtvggzXY1n/RU="
"rev": "c2725e0622e1a86d55f14514f2177a39efea4a0e",
"hash": "sha256-f+BbQ6xIubloSzx/MhPSZ8ymCskmS+9+epDGtPjZqXc="
},
"src/third_party/compiler-rt/src": {
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt.git",
"rev": "dc425afb37a69b60c8c02fef815af29e91b61773",
"hash": "sha256-TANkUmIqP+MirWFmegENuJEFK+Ve/o0A0azuxTzeAo8="
"rev": "08611c39bbfc52cc034904eb88817c6209b828f9",
"hash": "sha256-AfVP7cm7eNGl0JPnMkixMFgloDTHh0KSOAwXDEcl5MU="
},
"src/third_party/libc++/src": {
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git",
"rev": "adbb4a5210ae2a8a4e27fa6199221156c02a9b1a",
"hash": "sha256-34+xTZqWpm+1aks2b4nPD3WRJTkTxNj6ZjTuMveiQ+M="
"rev": "8cd54f6b0741cdef08299711668e6b25fef26406",
"hash": "sha256-AJx0Oz1sNubo2JNPjeXO5f9SnoXewOsPlgFrRXiCEKg="
},
"src/third_party/libc++abi/src": {
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git",
"rev": "a6c815c69d55ec59d020abde636754d120b402ad",
"hash": "sha256-wO64dyP1O3mCBh/iiRkSzaWMkiDkb7B98Avd4SpnY70="
"rev": "a02fa0058d8d52aca049868d229808a3e5dadbad",
"hash": "sha256-iNV7NtVviRBDjt6mK/DK3WfYd/QNGejRaSvpgEXmLqY="
},
"src/third_party/libunwind/src": {
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git",
"rev": "84c5262b57147e9934c0a8f2302d989b44ec7093",
"hash": "sha256-GmLreEtoyHMXr6mZgZ7NS1ZaS9leB9eMbISeN7qmfqw="
"rev": "b7c3dda13e46ced88a6f7230e271ebd633b4cef2",
"hash": "sha256-eWxGIMxMBRvQVJ6uc3ZWaKO7oXLLCXTi8sVR8v3H4MM="
},
"src/third_party/llvm-libc/src": {
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git",
"rev": "6adc0aa946a413c124758a3a0ac12e5a536c7dd3",
"hash": "sha256-C5ZmMzhGdRAd9tpad8hnqM6RoXsunKSuYUoUQdsYclI="
"rev": "796bfb264a22264b11acda9feaffdffb168c7e12",
"hash": "sha256-J/FiUpmwkFVZcLmeXABl4FE9rzGFsbo/Lc1Rjy5wdOU="
},
"src/chrome/test/data/perf/canvas_bench": {
"url": "https://chromium.googlesource.com/chromium/canvas_bench.git",
@@ -71,8 +71,8 @@
},
"src/docs/website": {
"url": "https://chromium.googlesource.com/website.git",
"rev": "a89f6810f6a5b0e11e4ec00387e9f97e8f6c23ae",
"hash": "sha256-LH4TlXPBULUamqTDitDEXiB37705BzEAqX1Lan87eoM="
"rev": "2acb551cf58ff3b6e6a093fe36deb8c625046900",
"hash": "sha256-HaNA1Es8t3A/WR9aXdEoFOdeNO6c6ydPDF1CCBb0Bu4="
},
"src/media/cdm/api": {
"url": "https://chromium.googlesource.com/chromium/cdm.git",
@@ -81,8 +81,8 @@
},
"src/net/third_party/quiche/src": {
"url": "https://quiche.googlesource.com/quiche.git",
"rev": "42832178b3b6ae20f0d1c9634c040c528614f45f",
"hash": "sha256-ImjvS826eyo82TIDw6M/7h3lrwbCwxQ+oKJr8RaqDTc="
"rev": "42cbfedd76691c19af012a3d717fca07d7b09cc9",
"hash": "sha256-ik5NjHWC8LHJiOde7Jdqq2C/NOofQwtPT4ubAqc8D4A="
},
"src/testing/libfuzzer/fuzzers/wasm_corpus": {
"url": "https://chromium.googlesource.com/v8/fuzzer_wasm_corpus.git",
@@ -91,8 +91,8 @@
},
"src/third_party/angle": {
"url": "https://chromium.googlesource.com/angle/angle.git",
"rev": "a8c8a6febe630c6239a5e207530e9fac651ae373",
"hash": "sha256-GxWTdzSf7/9WIqrECdAEkibXve/ZpKpxJcNS+KnfNc0="
"rev": "2dfb5b7603d09c1d06f9d7a894752431d98b9a3e",
"hash": "sha256-3F2K3UO3BHC0mJGUgc/q5AuxwL32O98PloF1cwyZLqU="
},
"src/third_party/angle/third_party/glmark2/src": {
"url": "https://chromium.googlesource.com/external/github.com/glmark2/glmark2",
@@ -106,18 +106,18 @@
},
"src/third_party/angle/third_party/VK-GL-CTS/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS",
"rev": "ad59a18f2ce08e60c9f4ab0aaf9b62679ab8c626",
"hash": "sha256-42ShMIXq9CnOlmwXcUvupPpQSNggdlXEkR3mdthsGzg="
"rev": "53f6cec6c0a81fc4e712cd3ec87a1a39b802f5d5",
"hash": "sha256-KC9sHWRrPI5R10z5Epq3e7BW7+Ez0AoYe+bKPYL58jg="
},
"src/third_party/anonymous_tokens/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/anonymous-tokens.git",
"rev": "50b2ee441f1c3bad73ab7430c41fd1ea5a7a06a6",
"hash": "sha256-NiqQy4CEK8qWb2khi4zTSb3fAf3n9LvBsmceSeyQ+Q0="
"rev": "50e04fb27eacd49a5e2bfde5977ac689e13ebeeb",
"hash": "sha256-jwfszvnWRtTmzPm5x/lyceX1Y0G0hyIATcKlYkKj/SY="
},
"src/third_party/readability/src": {
"url": "https://chromium.googlesource.com/external/github.com/mozilla/readability.git",
"rev": "04fd32f72b448c12b02ba6c40928b67e510bac49",
"hash": "sha256-yUf4UTwcJ7H0tuN+e6c92F4UUSXjmTNOIKqNZA4+zAo="
"rev": "d7949dc47dd9ed9ee1d3b34ffdcf3bce28cde435",
"hash": "sha256-lFsHXk4kEkzIbHgJiLTgeiKqiGOErzUwADo8WSZlnec="
},
"src/third_party/content_analysis_sdk/src": {
"url": "https://chromium.googlesource.com/external/github.com/chromium/content_analysis_sdk.git",
@@ -126,13 +126,13 @@
},
"src/third_party/dav1d/libdav1d": {
"url": "https://chromium.googlesource.com/external/github.com/videolan/dav1d.git",
"rev": "716164239ad6e6b11c5dcdaa3fb540309d499833",
"hash": "sha256-2J4M6EkfVtPLUpRWwzXdLkvJio4gskC0ihZnM5H3qYc="
"rev": "fcbc3d1b93f91c709293ed9faea8b7cbcac9030b",
"hash": "sha256-Lux+OGbeWnQJhIYDczH6jP/+lO+ZLlwpuUcLbO4Jvuo="
},
"src/third_party/dawn": {
"url": "https://dawn.googlesource.com/dawn.git",
"rev": "67be7fddacc4f4bcb21d0cf7bf8bb18752d8fb08",
"hash": "sha256-ulw+gDGpUn8uWuNedlfQADwnSYYbPWpHN5Q+pJbwKGc="
"rev": "479f62d2194fd6e44c37d07654ca6e41c42bd332",
"hash": "sha256-rzZn9l0EFcir6k8Xv2svIrhRPwe/rq48H7CX/3yfgFE="
},
"src/third_party/dawn/third_party/glfw": {
"url": "https://chromium.googlesource.com/external/github.com/glfw/glfw",
@@ -141,8 +141,8 @@
},
"src/third_party/dawn/third_party/dxc": {
"url": "https://chromium.googlesource.com/external/github.com/microsoft/DirectXShaderCompiler",
"rev": "50764bac3d4048144e9ada5f5a742c82cc97cc9a",
"hash": "sha256-rs5cw/kpRq0Bcr2ov5kKsupwqkIQDvuvUMbZbAdOmGI="
"rev": "c522461221759f1785b3434ce52ae89d6b66855a",
"hash": "sha256-UqgsxtEdvGs3fOueXJU6DJcESmgkEGAjdnMig78qKzE="
},
"src/third_party/dawn/third_party/dxheaders": {
"url": "https://chromium.googlesource.com/external/github.com/microsoft/DirectX-Headers",
@@ -161,33 +161,38 @@
},
"src/third_party/dawn/third_party/webgpu-cts": {
"url": "https://chromium.googlesource.com/external/github.com/gpuweb/cts",
"rev": "5b477670f53e5fefcf4bd829a2952013ef9d1953",
"hash": "sha256-os0yeQb6snDvUjYghrIYAy9nUi1j8Y2YoTfsiQ7SlpA="
"rev": "95042527d1555325b90dbb745a29d32eb9fad14a",
"hash": "sha256-Ofi/XfzyQrt2gUHaJpOyUUD7DXTWWmvXXJQP7C6AN8w="
},
"src/third_party/dawn/third_party/webgpu-headers/src": {
"url": "https://chromium.googlesource.com/external/github.com/webgpu-native/webgpu-headers",
"rev": "c8b371dd2ff8a2b028fdc0206af5958521181ba8",
"hash": "sha256-rHDN4ln5kTMzabW427Xktl93E+8EVhWa2i8n4Mh2BgQ="
"rev": "ca7071cd5dd8a67cb8ca4f8614fd006ff3d93bde",
"hash": "sha256-ucRkEY1bZ3WyK55FW0pujl9LWFENmEzZvxO2QKYXmhc="
},
"src/third_party/highway/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/highway.git",
"rev": "00fe003dac355b979f36157f9407c7c46448958e",
"hash": "sha256-IS7m1wBwpPBUNhx2GttY1fzvmLIeAp3o2gXfrFpRdvY="
"rev": "84379d1c73de9681b54fbe1c035a23c7bd5d272d",
"hash": "sha256-HNrlqtAs1vKCoSJ5TASs34XhzjEbLW+ISco1NQON+BI="
},
"src/third_party/google_benchmark/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/benchmark.git",
"rev": "761305ec3b33abf30e08d50eb829e19a802581cc",
"hash": "sha256-cH8s1gP6kCcojAAfTt5iQCVqiAaSooNk4BdaILujM3w="
},
"src/third_party/libpfm4/src": {
"url": "https://chromium.googlesource.com/external/git.code.sf.net/p/perfmon2/libpfm4.git",
"rev": "964baf9d35d5f88d8422f96d8a82c672042e7064",
"hash": "sha256-awpZ22rovLZWQkX/qog93vL4u2gJ+F3w5IGFNlZ0heQ="
},
"src/third_party/boringssl/src": {
"url": "https://boringssl.googlesource.com/boringssl.git",
"rev": "0a0009998fa180695f3e2071805dc03c9a5f3124",
"hash": "sha256-hYUbfUo00gHqYKac0vOpmBHtb5/FBsgXL+UQtrHxGaM="
"rev": "58da9b0d721fd807279f4e3898741c92cf43bdbd",
"hash": "sha256-uvsW0p3wo7L1tQqelRk5QJ65Jt5cpv6ORZRorZjHqrw="
},
"src/third_party/breakpad/breakpad": {
"url": "https://chromium.googlesource.com/breakpad/breakpad.git",
"rev": "ff252ff6faf5e3a52dc4955aab0d84831697dc94",
"hash": "sha256-8OfbSe+ly/5FFYk8NubAV39ACMr5S4wbLBVdiQHWeok="
"rev": "d0b41ca2a38c7b14c4b7853254eb5bf3b4039691",
"hash": "sha256-CQ1doQRsX0zvfgYKJalz0i35mPJfk5o6m2sdGYqS4co="
},
"src/third_party/cast_core/public/src": {
"url": "https://chromium.googlesource.com/cast_core/public",
@@ -196,8 +201,8 @@
},
"src/third_party/catapult": {
"url": "https://chromium.googlesource.com/catapult.git",
"rev": "0fd1415f0cf3219ba097d37336141897fab7c5e9",
"hash": "sha256-khxdFV6fxbTazz195MlxktLlihXytpNYCykLrI8nftM="
"rev": "ddb5845c3f7d88d8698e602547bd854b36f0604f",
"hash": "sha256-N+h99EL03NL6sAGJJM/aZEdVibn7SziLJp5G09y0EOc="
},
"src/third_party/ced/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/compact_enc_det.git",
@@ -221,8 +226,8 @@
},
"src/third_party/cpuinfo/src": {
"url": "https://chromium.googlesource.com/external/github.com/pytorch/cpuinfo.git",
"rev": "33ed0be77d7767d0e2010e2c3cf972ef36c7c307",
"hash": "sha256-0rZzbZkOo6DAt1YnH4rtx0FvmCuYH8M6X3DNJ0gURpU="
"rev": "877328f188a3c7d1fa855871a278eb48d530c4c0",
"hash": "sha256-JW83AgI1cWv4TSpXNe9sv/hNYAA7MOdUeTHY8+0lHgc="
},
"src/third_party/crc32c/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/crc32c.git",
@@ -231,13 +236,13 @@
},
"src/third_party/cros_system_api": {
"url": "https://chromium.googlesource.com/chromiumos/platform2/system_api.git",
"rev": "07b9fafa3fff468afa2960789d2b28444c38db3e",
"hash": "sha256-JpimNp8PmsROMiQLy8H39n8l+KDwaivZiIOgSjLF3U4="
"rev": "2c31c25519405d3d2b107844fd5e8c8bc397dbf7",
"hash": "sha256-Ew7gk1XxZccztYLZc4sOrzyKjNTkFPG8g+oOLy4/g1Q="
},
"src/third_party/crossbench": {
"url": "https://chromium.googlesource.com/crossbench.git",
"rev": "69b7e2bb8e1d8d92d4efbb92bcddba3af2716577",
"hash": "sha256-1cyXu5fSHWLWt3qdafWQu1WyeZ+fT/be7seiv/MDPdQ="
"rev": "e4937b062fe8b9130ea0fc02c406c045b5cb7b31",
"hash": "sha256-C//wuupFwZL4m8mMutY/SxCmg7mcfw2Sj5eS4c95+XE="
},
"src/third_party/crossbench-web-tests": {
"url": "https://chromium.googlesource.com/chromium/web-tests.git",
@@ -246,13 +251,13 @@
},
"src/third_party/depot_tools": {
"url": "https://chromium.googlesource.com/chromium/tools/depot_tools.git",
"rev": "7d1e2bdb9168718566caba63a170a67cdab2356b",
"hash": "sha256-ZOzKQpo7Z/h1eeWQj20ghDq7pFZ9nch8lt60aoK/g2k="
"rev": "e2bb3cd55899346cc68bbfd5139e59c9d85a6984",
"hash": "sha256-Qlc0UAdGRm1C0DNAqBsssND8PQZUVkj6aDaeExjwi2E="
},
"src/third_party/devtools-frontend/src": {
"url": "https://chromium.googlesource.com/devtools/devtools-frontend",
"rev": "725edaaf06b966e670194d0376d50be0c25deb13",
"hash": "sha256-7YwrN+MizCnfcwDHWsYkZaTbN2qmCHcixX6KHhCPrXs="
"rev": "e4dd1d1d96b706a33ae7d60237d3cdcd58294e4c",
"hash": "sha256-6to/NYTcx7H5OXF1u6YT55uCHwf8RU1uJaSXvuFsQ/c="
},
"src/third_party/dom_distiller_js/dist": {
"url": "https://chromium.googlesource.com/chromium/dom-distiller/dist.git",
@@ -266,8 +271,8 @@
},
"src/third_party/eigen3/src": {
"url": "https://chromium.googlesource.com/external/gitlab.com/libeigen/eigen.git",
"rev": "81044ec13df7608d0d9d86aff2ef9805fc69bed1",
"hash": "sha256-W0uonGzjDaN2RbY2U+Kl1a5/nrEZ9T9W426f+a7NUzY="
"rev": "cd4f989f8f9288ab5aed1643ecb04c7be021021e",
"hash": "sha256-qkdtS4kz8m5ZW30SQpDCbgM3WvfCGc+WGsv59J4FYpQ="
},
"src/third_party/farmhash/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/farmhash.git",
@@ -279,40 +284,45 @@
"rev": "cb1d42aaa1e14b09e1452cfdef373d051b8c02a4",
"hash": "sha256-CG5je117WYyemTe5PTqznDP0bvY5TeXn8Vu1Xh5yUzQ="
},
"src/third_party/federated_compute/src": {
"url": "https://chromium.googlesource.com/external/github.com/google-parfait/federated-compute.git",
"rev": "e51058dfe7888094ecc09cda38bfceffd4d4664b",
"hash": "sha256-5kuTp0TXOUCQQ7XcnwBRsQRxugl869hZhx8MbxDLwYk="
},
"src/third_party/ffmpeg": {
"url": "https://chromium.googlesource.com/chromium/third_party/ffmpeg.git",
"rev": "d2d06b12c22d27af58114e779270521074ff1f85",
"hash": "sha256-c5w8CuyE1J0g79lrNq1stdqc1JaAkMbtscdcywmAEMY="
"rev": "9e751092c9498b84bbb77e2e0689ef9f50fe608f",
"hash": "sha256-ZeFzrCE9LkDcp3VTMJkm5ypX29RGZCyZkp3tEr7yFKU="
},
"src/third_party/flac": {
"url": "https://chromium.googlesource.com/chromium/deps/flac.git",
"rev": "689da3a7ed50af7448c3f1961d1791c7c1d9c85c",
"hash": "sha256-gvTFPNOlBfozptaH7lTb9iD/09AmpdT3kCl9ClszjEs="
"rev": "807e251d9f8c5dd6059e547931e9c6a4251967af",
"hash": "sha256-Y5TXyJ8lVh8TaVC5S4BVxOmFxySBzPbJYEe8YJS6ZR4="
},
"src/third_party/flatbuffers/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/flatbuffers.git",
"rev": "8db59321d9f02cdffa30126654059c7d02f70c32",
"hash": "sha256-tbc45o0MbMvK5XqRUJt5Eg8BU6+TJqlmwFgQhHq6wRM="
"rev": "187240970746d00bbd26b0f5873ed54d2477f9f3",
"hash": "sha256-A9nWfgcuVW3x9MDFeviCUK/oGcWJQwadI8LqNR8BlQw="
},
"src/third_party/fontconfig/src": {
"url": "https://chromium.googlesource.com/external/fontconfig.git",
"rev": "86b48ec01ece451d5270d0c5181a43151e45a042",
"hash": "sha256-6HLV0U/MA1XprKJ70TKvwUBdkGQPwgqP4Oj5dINsKp0="
"rev": "f0ed9c3f43161d3555f6f7a5234b22fe7ca60727",
"hash": "sha256-2h0dWn7MxAX+4o2tMZLyjRFAES+FTMaGaf8M7ySkSV8="
},
"src/third_party/fp16/src": {
"url": "https://chromium.googlesource.com/external/github.com/Maratyszcza/FP16.git",
"rev": "0a92994d729ff76a58f692d3028ca1b64b145d91",
"hash": "sha256-m2d9bqZoGWzuUPGkd29MsrdscnJRtuIkLIMp3fMmtRY="
"rev": "3d2de1816307bac63c16a297e8c4dc501b4076df",
"hash": "sha256-CR7h1d9RFE86l6btk4N8vbQxy0KQDxSMvckbiO87JEg="
},
"src/third_party/gemmlowp/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/gemmlowp.git",
"rev": "13d57703abca3005d97b19df1f2db731607a7dc2",
"hash": "sha256-O5wD8wxgis0qYMaY+xZ21GBDVQFphMRvInCOswS6inA="
"rev": "16e8662c34917be0065110bfcd9cc27d30f52fdf",
"hash": "sha256-e6AeRhZioIiTG5R+IA9g2GBqI4o74wijJYmqINLOtQs="
},
"src/third_party/freetype/src": {
"url": "https://chromium.googlesource.com/chromium/src/third_party/freetype2.git",
"rev": "27c1cb10a52420515ce66729dfca897be21691b8",
"hash": "sha256-2ialoA/hqlTwnbBkBlgz5CT2nzpUVXVMtEOxSxifiXQ="
"rev": "ae63cc0d13318f2f93fd440cce277388d1b30a49",
"hash": "sha256-Tx5MbwMk+d2OZGd4CxJhJtP1pQyRJ0pe358OdKuWiRU="
},
"src/third_party/fxdiv/src": {
"url": "https://chromium.googlesource.com/external/github.com/Maratyszcza/FXdiv.git",
@@ -321,18 +331,18 @@
},
"src/third_party/harfbuzz-ng/src": {
"url": "https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git",
"rev": "9f83bbbe64654b45ba5bb06927ff36c2e7588495",
"hash": "sha256-lNnCtgIegUy4DLhYaGZXcEaFw83KWAHoKpz69AEsWp4="
"rev": "7d936359a27abb2d7cb14ecc102463bb15c11843",
"hash": "sha256-gUUXBd2/di6MYhUzo0QkGQvRY6KLcy7qdDlSClnmnL8="
},
"src/third_party/ink/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/ink.git",
"rev": "4e6081ad7052f97df7d77e1d87cea2d70c18a47b",
"hash": "sha256-SVwZWhM63iN2ajTMldgug0mfJV1rdvxTZwj/zyLe4WA="
"rev": "f70052a0bbae22fe52b630844e9651b27db92ed2",
"hash": "sha256-Mvxbdn4m/H3HBss31Z9nz0LphqpFeBHcX/kbFxJQPqM="
},
"src/third_party/ink_stroke_modeler/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/ink-stroke-modeler.git",
"rev": "fe79520c9ad7d2d445d26d3c59fda6fc54eb4d5c",
"hash": "sha256-4iXoBgCCbWCqGbpchiAYQhKBK9rO1Xb6wP98iMd06cY="
"rev": "2cd45e8683025c28fa2efcf672ad46607e8af869",
"hash": "sha256-h/xI/TPV2yiRLqrBgaDAkr8Nfg3RLkjHVuYX+nH99CQ="
},
"src/third_party/instrumented_libs": {
"url": "https://chromium.googlesource.com/chromium/third_party/instrumented_libraries.git",
@@ -344,6 +354,11 @@
"rev": "955936be8b391e00835257059607d7c5b72ce744",
"hash": "sha256-KdQdKBBipEBRT8UmNGao6yCB4m2CU8/SrMVvcXlb5qE="
},
"src/third_party/oak/src": {
"url": "https://chromium.googlesource.com/external/github.com/project-oak/oak.git",
"rev": "96c00a6c99ac382f3f3a8f376bc7a70890d1adaa",
"hash": "sha256-+ouwII+i5CbWoJ3NAxQPmczofzkPwtZTtjIPaXyyXt8="
},
"src/third_party/ots/src": {
"url": "https://chromium.googlesource.com/external/github.com/khaledhosny/ots.git",
"rev": "46bea9879127d0ff1c6601b078e2ce98e83fcd33",
@@ -356,8 +371,8 @@
},
"src/third_party/googletest/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/googletest.git",
"rev": "373af2e3df71599b87a40ce0e37164523849166b",
"hash": "sha256-07pEo2gj3n/IOipqz7UpZkBOywZt7FkfZFCnVyp3xYw="
"rev": "b2b9072ecbe874f5937054653ef8f2731eb0f010",
"hash": "sha256-cTPx19WAXlyXDK4nY0pxbMI4oRojaARgIeASA+MB3NY="
},
"src/third_party/hunspell_dictionaries": {
"url": "https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git",
@@ -366,8 +381,8 @@
},
"src/third_party/icu": {
"url": "https://chromium.googlesource.com/chromium/deps/icu.git",
"rev": "1b2e3e8a421efae36141a7b932b41e315b089af8",
"hash": "sha256-k3z31DhDPoqjcZdUL4vjyUMVpUiNk44+7rCMTDVPH8Q="
"rev": "a86a32e67b8d1384b33f8fa48c83a6079b86f8cd",
"hash": "sha256-zFxeAY6lEFRGNbCOOJij0CFjp3512WkyaN1Ld0+WADs="
},
"src/third_party/jsoncpp/source": {
"url": "https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git",
@@ -386,8 +401,8 @@
},
"src/third_party/fuzztest/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/fuzztest.git",
"rev": "7bab06ff5fbbf8b8cce05a8661369dc2e11cde66",
"hash": "sha256-uWPhInzuidI4smFRjRF95aaVNTsehKd/1y4uRzr12mk="
"rev": "7940ee9a7ebce6419c6391eef8b289524b16f198",
"hash": "sha256-uIb2nzPzMU/FZGYs3cFQwc4QNTNRmz01uF6XDCLrgDk="
},
"src/third_party/domato/src": {
"url": "https://chromium.googlesource.com/external/github.com/googleprojectzero/domato.git",
@@ -401,18 +416,18 @@
},
"src/third_party/libaom/source/libaom": {
"url": "https://aomedia.googlesource.com/aom.git",
"rev": "e91b7aa26d6d0979bba2bee5e1c27a7a695e0226",
"hash": "sha256-cER77Q9cM5rh+oeh1LDyKDZyQK5VbtE/ANNTN2cYzMo="
"rev": "93233d27eb23ac3f1f13da1b19c5380bacc75baa",
"hash": "sha256-wDW+YXxIaenDtqf3zdpMT2hbwEMEswC88+Q2ylfzHw0="
},
"src/third_party/crabbyavif/src": {
"url": "https://chromium.googlesource.com/external/github.com/webmproject/CrabbyAvif.git",
"rev": "644c9d84c123ac811a611760a9adc807e3eb5be5",
"hash": "sha256-snogXm3EMmDJoL2ikoaxeODYfmTaVEsAb5cMcRU7uC4="
"rev": "3ba05863e84fd3acb4f4af2b4545221b317a2e55",
"hash": "sha256-HUGkuQWfUGsE6crsluI7l5H2DYalruoDKqBjbVfE7BM="
},
"src/third_party/nearby/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/nearby-connections.git",
"rev": "a8889d12a27ef7006d1a47dfefc272e0815f5c41",
"hash": "sha256-pFcusmbij3OsSAmaKhuI8/bo3AlfP7DuTo/W/6mAZs8="
"rev": "0bad8b0c9877f92eeeb550654f1ea51a71a085e4",
"hash": "sha256-Mwuo2RlKweqZPkDw4OcJDD+QNRiXVysSyzLdjHsG1mA="
},
"src/third_party/securemessage/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/securemessage.git",
@@ -421,8 +436,8 @@
},
"src/third_party/jetstream/main": {
"url": "https://chromium.googlesource.com/external/github.com/WebKit/JetStream.git",
"rev": "fe1f348226d4b7c3447e606577960a606cc058e4",
"hash": "sha256-kznek87yenGR9Ft3D06LGDOy7+VPRhSUFru340mvES4="
"rev": "0debbb0b94486d4c78162ad5a102279b96dc79d3",
"hash": "sha256-w1oBQrjYK8ze02MRNPO8PsV5rNHiLzToCQjoSm+NagI="
},
"src/third_party/jetstream/v2.2": {
"url": "https://chromium.googlesource.com/external/github.com/WebKit/JetStream.git",
@@ -431,8 +446,8 @@
},
"src/third_party/speedometer/main": {
"url": "https://chromium.googlesource.com/external/github.com/WebKit/Speedometer.git",
"rev": "87f9ed88c8f8abe3a3bb19b9ec5ea49623d803ad",
"hash": "sha256-eIrkM7UxuaZox3A8pqEgvgpQCkcBO3zJWFwK45fgWm0="
"rev": "d90b6fde07041d9d19ab71de32b461b613c899a1",
"hash": "sha256-/S8YBNfxbQe6Wt0h2Otuw7+bkObBtvmtb6ZO6nsce6E="
},
"src/third_party/speedometer/v3.1": {
"url": "https://chromium.googlesource.com/external/github.com/WebKit/Speedometer.git",
@@ -476,8 +491,8 @@
},
"src/third_party/libipp/libipp": {
"url": "https://chromium.googlesource.com/chromiumos/platform2/libipp.git",
"rev": "2209bb84a8e122dab7c02fe66cc61a7b42873d7f",
"hash": "sha256-gxU92lHLd6uxO8T3QWhZIK0hGy97cki705DV0VimCPY="
"rev": "4be5f77f672a3a9f1bbf3c935fb0ea8b3f86ce61",
"hash": "sha256-GzLVt6RIN+FgOpcK61ya5lvdIIhQRciAb/ISIirWogY="
},
"src/third_party/libjpeg_turbo": {
"url": "https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git",
@@ -506,8 +521,8 @@
},
"src/third_party/libsync/src": {
"url": "https://chromium.googlesource.com/aosp/platform/system/core/libsync.git",
"rev": "f4f4387b6bf2387efbcfd1453af4892e8982faf6",
"hash": "sha256-Mkl6C1LxF3RYLwYbxiSfoQPt8QKFwQWj/Ati2sNJ32E="
"rev": "d29ac04dc81e6b072c091c5b1342a282765ea250",
"hash": "sha256-aI7Exie3AmTy8R/Ua5lua0lCwMO1k4wMS6cxulU6iD8="
},
"src/third_party/libva-fake-driver/src": {
"url": "https://chromium.googlesource.com/chromiumos/platform/libva-fake-driver.git",
@@ -516,8 +531,8 @@
},
"src/third_party/libvpx/source/libvpx": {
"url": "https://chromium.googlesource.com/webm/libvpx.git",
"rev": "a985e5e847a2fe69bef3e547cf25088132194e39",
"hash": "sha256-BbXiBbnGwdsbZCZIpurfTzYvDUCysdt+ocRh6xvuUI8="
"rev": "4c1801be20dd53900d2a7cd74f6fc91a9ae353be",
"hash": "sha256-8k8KWkDS3kvJjHWVlOlTW/By7rQLiT7TrOtxwEOCXgk="
},
"src/third_party/libwebm/source": {
"url": "https://chromium.googlesource.com/webm/libwebm.git",
@@ -526,18 +541,18 @@
},
"src/third_party/libwebp/src": {
"url": "https://chromium.googlesource.com/webm/libwebp.git",
"rev": "4fa21912338357f89e4fd51cf2368325b59e9bd9",
"hash": "sha256-eaGWMpF6ENrKxGxqXccQ0P1G0X+nQI0EoL0Y0R2VVZ0="
"rev": "c00d83f6642e7838a12bb03bca94237f03cc2e00",
"hash": "sha256-a7F97BEnwpdx9W8OsVnz+NfIYW+J1XVDSi38KsIZIfI="
},
"src/third_party/libyuv": {
"url": "https://chromium.googlesource.com/libyuv/libyuv.git",
"rev": "cdd3bae84818e78466fec1ce954eead8f403d10c",
"hash": "sha256-ievGlutmOuuEEhWS82vMqxwqXCq8PF3508N0MCMPQus="
"rev": "900da61d3cadba86ec593c8226de736b5e6b2c43",
"hash": "sha256-vqPiv1HJe883aDOjzLBNXGA/b/F/frcW3Iml3ZUyHlY="
},
"src/third_party/lss": {
"url": "https://chromium.googlesource.com/linux-syscall-support.git",
"rev": "ed31caa60f20a4f6569883b2d752ef7522de51e0",
"hash": "sha256-rhp4EcZYdgSfu9cqn+zxxGx6v2IW8uX8V+iA0UfZhFY="
"rev": "29164a80da4d41134950d76d55199ea33fbb9613",
"hash": "sha256-89CdA7vBYudbko0nAIyHcpHMXqFZHC05kwRIUmeEWGo="
},
"src/third_party/material_color_utilities/src": {
"url": "https://chromium.googlesource.com/external/github.com/material-foundation/material-color-utilities.git",
@@ -566,8 +581,8 @@
},
"src/third_party/openscreen/src": {
"url": "https://chromium.googlesource.com/openscreen",
"rev": "f51be2dd676c855bc588a439f002bc941b87db6b",
"hash": "sha256-7AmfZjugPKty0lpinOR/Q22M7F34p57tl+gs6s2BJhY="
"rev": "279b21edd27132609d2f46b702c42455ea05c4a8",
"hash": "sha256-BxS1VaDK6ZwS7tXjimeBPNqdPKsIOosH29cL6EmWEM4="
},
"src/third_party/openscreen/src/buildtools": {
"url": "https://chromium.googlesource.com/chromium/src/buildtools",
@@ -581,23 +596,23 @@
},
"src/third_party/pdfium": {
"url": "https://pdfium.googlesource.com/pdfium.git",
"rev": "1afaa1a380fcd06cec420f3e5b6ec1d2ccb920dc",
"hash": "sha256-kx2jF4kHeGECdf6WzcRKTmwhvmoKl+rIVQ2Ep8Y9rs8="
"rev": "f5c376f93d33709ecd6b0dc8147b14a651ddbfeb",
"hash": "sha256-Rfpdow3S3HTHVEEAmCyiKU7XfuUoxvtHeWV+wfarvF8="
},
"src/third_party/perfetto": {
"url": "https://chromium.googlesource.com/external/github.com/google/perfetto.git",
"rev": "4ab725613a8ee64e9acd7930eceb8995e24df562",
"hash": "sha256-V16Fm389yRNn0b13n70828c8xTdwxoQ6GW8iKLyy0qE="
"rev": "ac7792a0f3f1cbfffb071e8b97cd9a5168900e03",
"hash": "sha256-9vpds/Xgw65uW5TG0kenqFVEh/NM1V3OpRdkGd0pMk4="
},
"src/third_party/protobuf-javascript/src": {
"url": "https://chromium.googlesource.com/external/github.com/protocolbuffers/protobuf-javascript",
"rev": "28bf5df73ef2f345a936d9cc95d64ba8ed426a53",
"hash": "sha256-c/aC+LZQtedL5oouUXw2eTF6xD7LN3J3C0q3D0wl+W0="
"rev": "e6d763860001ba1a76a63adcff5efb12b1c96024",
"hash": "sha256-1o6N9+1wsQSu1B4w5LlGlwzIUmuPCIYHPqwOyt234ZM="
},
"src/third_party/pthreadpool/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/pthreadpool.git",
"rev": "149f0a86f5ad215e9f0441684385ce09f345dbe4",
"hash": "sha256-3/FnJ2FL6fQSlymqJS/UoXTB4ZiW9d7xpvK3Ur8Ynp4="
"rev": "0e6ca13779b57d397a5ba6bfdcaa8a275bc8ea2e",
"hash": "sha256-FPUKjWARY4TdUq7ni48tnszEdmVYxPXIgtddPBHn/U0="
},
"src/third_party/pyelftools": {
"url": "https://chromium.googlesource.com/chromiumos/third_party/pyelftools.git",
@@ -606,8 +621,8 @@
},
"src/third_party/quic_trace/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/quic-trace.git",
"rev": "ed3deb8a056b260c59f2fd42af6dfa3db48a8cad",
"hash": "sha256-vbXqddDgwqetU0bDYn3qo7OBqT5eG926/MbA1hKkCT0="
"rev": "e5c4ef17d934e078644e65d667ca6d86fe020d49",
"hash": "sha256-LFZ5qFQoyBKta05wJUtJh3oIvaBYlzOozFpDulrQ/no="
},
"src/third_party/pywebsocket3/src": {
"url": "https://chromium.googlesource.com/external/github.com/GoogleChromeLabs/pywebsocket3.git",
@@ -616,8 +631,8 @@
},
"src/third_party/re2/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/re2.git",
"rev": "8451125897dd7816a5c118925e8e42309d598ecc",
"hash": "sha256-vjh4HI4JKCMAf5SZeqstb0M01w8ssaTwwrLAUsrFkkQ="
"rev": "61c4644171ee6b480540bf9e569cba06d9090b4b",
"hash": "sha256-fRnjrP6Bz33eW+bOta5v3k9gqgN+gBvRH+t1i7b+eXA="
},
"src/third_party/ruy/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/ruy.git",
@@ -626,13 +641,13 @@
},
"src/third_party/search_engines_data/resources": {
"url": "https://chromium.googlesource.com/external/search_engines_data.git",
"rev": "5c5db51f8c13cb42379d8b333890971f1a1a1797",
"hash": "sha256-Z4ykCZkUVatvkH3ytIdGOp0zEYLKIqr8fta0MnovZKw="
"rev": "94eb2a9a225078cb5f40e82fd890bce387c8121a",
"hash": "sha256-WWkOOnOI3ohPuO+M9/x53hyDO11P6E6Z6ZZvKmQEyjI="
},
"src/third_party/skia": {
"url": "https://skia.googlesource.com/skia.git",
"rev": "f3ff281f2330f2948888a9cc0ba921bbdc107da8",
"hash": "sha256-88ezOArtEdPJZACmgyjJ2Jf5biSlyoDYMJBZ7wwPt7Q="
"rev": "da51f0d60ea2b14e845a823dc11b405dbeef42d8",
"hash": "sha256-thUbelru/6nPF7haXJtW6ncT6sIQzYqi0BCAJ+BWNY0="
},
"src/third_party/smhasher/src": {
"url": "https://chromium.googlesource.com/external/smhasher.git",
@@ -646,13 +661,13 @@
},
"src/third_party/sqlite/src": {
"url": "https://chromium.googlesource.com/chromium/deps/sqlite.git",
"rev": "cc08c79629643fdd5b592f1391e738815f5577b6",
"hash": "sha256-1Q2+NyCJb0GIMC30YNbVqVYHnP62tmKqBRfr9Xw5Z4A="
"rev": "7d348fc79216a09b864ff881d8561a6222301666",
"hash": "sha256-13HMEpzzcFx/UKqt4V68619R+0j4B/GOl6NYlhpBk0c="
},
"src/third_party/swiftshader": {
"url": "https://swiftshader.googlesource.com/SwiftShader.git",
"rev": "fdb6700ecb04103b658d2e4623d6bc663ba80ea8",
"hash": "sha256-jJT0hF1k5a6na+9aH1yHuUo6go/PzgKibP/k60m6+xM="
"rev": "3d536c0fc62b1cdea0f78c3c38d79be559855b88",
"hash": "sha256-mlKoTdZgqfMzKGB7dUaETCd6NIQm5dne59w09/0bnGE="
},
"src/third_party/text-fragments-polyfill/src": {
"url": "https://chromium.googlesource.com/external/github.com/GoogleChromeLabs/text-fragments-polyfill.git",
@@ -661,18 +676,18 @@
},
"src/third_party/tflite/src": {
"url": "https://chromium.googlesource.com/external/github.com/tensorflow/tensorflow.git",
"rev": "fe38b1b8c23d86ed93c13ef367b19496e398462d",
"hash": "sha256-51tpID94hoxm0I2Mf3WFQBf5MsuzIzlkS9lOto/8tC4="
"rev": "5fcf510a862fb6d3c0d34906044389095a180ff6",
"hash": "sha256-iXt3IutfZxiH9j7/mnx+YeZwak44+nhNo2rbDxtgKTg="
},
"src/third_party/vulkan-deps": {
"url": "https://chromium.googlesource.com/vulkan-deps",
"rev": "c466059b72815c7fbce8bb3ab4832407aabc5dc5",
"hash": "sha256-MEMOJBBMBeA0kBlU5ZhkPbfRpn1PSL1950IsU1rWaJ8="
"rev": "224a52b06d0e019c7f7c006c2306de095207f77f",
"hash": "sha256-/RkiBLiXo7Z+FUIjHIrvvcU8Mg6vX9vJUn8Cz1fI2OE="
},
"src/third_party/glslang/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang",
"rev": "38f6708b6b6f213010c51ffa8f577a7751e12ce7",
"hash": "sha256-HeH7j7IsjeP2vFPhX9cKzZ2O54eIGSCoSnPT4pumA00="
"rev": "36b4d078576ad465e85b4b0502695ac5f3edb2e6",
"hash": "sha256-A2D6fSfHpeXsYnXZs9l7DRE4ELUHbNQxr7HaokFByDQ="
},
"src/third_party/spirv-cross/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross",
@@ -681,38 +696,38 @@
},
"src/third_party/spirv-headers/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers",
"rev": "97e96f9e9defeb4bba3cfbd034dec516671dd7a3",
"hash": "sha256-/OT6//yu8VmQMXs3DSgwEx2lMDTPlUuXJDjboNdLjrI="
"rev": "6bb105b6c4b3a246e1e6bb96366fe14c6dbfde83",
"hash": "sha256-rgLhWf3U7gMjB+mpwq4EgQdRS6yP2/Q71Ns42ZDu7cc="
},
"src/third_party/spirv-tools/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools",
"rev": "3aeaaa088d37b86cff036eee1a9bf452abad7d9d",
"hash": "sha256-bkoD3/4o/CjNBAp49vnRq4ZtY7TNgYkVPI5gESM8CUI="
"rev": "05b0ab1253db43c3ea29efd593f3f13dfa621ab1",
"hash": "sha256-OmvvBOBacp8ZgY+tcV1a7OmdGL607rrH89bu9uLj1L4="
},
"src/third_party/vulkan-headers/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers",
"rev": "a01329f307fa6067da824de9f587f292d761680b",
"hash": "sha256-LCRK6UzqvcRoa3sr6nsfkDf3aILXj8zjb48lirsLTIw="
"rev": "df274657d83f3bd8c77aef816c1cbf27352a948b",
"hash": "sha256-/YXVD60zaSRgqkAFGZs0D0T2LoXRgMnYcO/RkQznW+I="
},
"src/third_party/vulkan-loader/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader",
"rev": "f2389e27734347c1d9f40e03be53f69f969976b1",
"hash": "sha256-NIBn5HkAKzNaSruw742QBWPgCkrxQdmITvTASagYlKM="
"rev": "e1cad037970cfeeb86051c49d00ead75311acbec",
"hash": "sha256-/xnxL+S6Z04FLHLv1V/YBcDu4fzhXvAqfHgS5cgeVhg="
},
"src/third_party/vulkan-tools/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools",
"rev": "f766b30b2de3ffe2cf6b656d943720882617ec58",
"hash": "sha256-9sF9syF7d28J5yzGsIHUcJ1QB2JmJZpAVqDt92ZZOY4="
"rev": "7f6326618226225269a274869ac638b870c8fe2b",
"hash": "sha256-hInSJsfPuI7U74rEqFQf6De1QoBkFjAnGLFE91uyJ5s="
},
"src/third_party/vulkan-utility-libraries/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Utility-Libraries",
"rev": "b0a40d2e50310e9f84327061290a390a061125a3",
"hash": "sha256-bj9YCZfIFeaQ9TVpyyztRs3LOIaJkKpkGKbU5g9hEzg="
"rev": "ea43e2f5e51e9ad958a40fdce981f2f0abf09cb5",
"hash": "sha256-7SYRTJLLkC1OXDZ/llNRpVKhQeNak2IFxrHNJKRfrLk="
},
"src/third_party/vulkan-validation-layers/src": {
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers",
"rev": "6b1b8e3d259241a68c0944ca0a7bb5320d086191",
"hash": "sha256-Do+6/v8Ysp1Wnnmdi5I+UKHpBcEG4xMeRROCWgLmJbY="
"rev": "0cb2d651931455e44aa898585d7d78a9d90d31c5",
"hash": "sha256-IxxvrY90d/NJWRNcvMIaUjg2o7LZEHi2gmOe+eyJmHI="
},
"src/third_party/vulkan_memory_allocator": {
"url": "https://chromium.googlesource.com/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git",
@@ -721,8 +736,8 @@
},
"src/third_party/wayland/src": {
"url": "https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland.git",
"rev": "a156431ea66fe67d69c9fbba8a8ad34dabbab81c",
"hash": "sha256-oK0Z8xO2ILuySGZS0m37ZF0MOyle2l8AXb0/6wai0/w="
"rev": "736d12ac67c20c60dc406dc49bb06be878501f86",
"hash": "sha256-5iG0HaPXJCEo027TuyXlJQNGluTaAPlvwQDFbiYOEJQ="
},
"src/third_party/wayland-protocols/src": {
"url": "https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland-protocols.git",
@@ -751,18 +766,18 @@
},
"src/third_party/webgpu-cts/src": {
"url": "https://chromium.googlesource.com/external/github.com/gpuweb/cts.git",
"rev": "07f4412e935c988d60fad2e373287d6450bcd231",
"hash": "sha256-yb7NqciuvXi7crCqpN+7hgJ+JXfDF9x48gkYI2uSTtA="
"rev": "eefe6f33964beec1bd1534b1d9065ad027b71740",
"hash": "sha256-g+zg7SpK/BztfgT+y45Ygb9+7izQpkgAM3vRX5iKkbU="
},
"src/third_party/webpagereplay": {
"url": "https://chromium.googlesource.com/webpagereplay.git",
"rev": "eebd5c62cb5c6a5afbb36eccdcc3b3e01f28adc9",
"hash": "sha256-WXiWUVTX4JBuavc3qxPpWeM2qZsyMr64iqF/fu9fzRI="
"rev": "ab0ca8075f0cc5d40fed25e08ddabb144c29fc08",
"hash": "sha256-hZ2TH5AsPPqxxShDTG1hhgpZWqXccD7TsoPfXcdhIUg="
},
"src/third_party/webrtc": {
"url": "https://webrtc.googlesource.com/src.git",
"rev": "36ea4535a500ac137dbf1f577ce40dc1aaa774ef",
"hash": "sha256-/3V/V0IrhOKcMAgs/C1qraqq+1pfopW8HKvGRmqLE0Q="
"rev": "4e31d1a1ff41bb1b79609c83f998458a111a149c",
"hash": "sha256-3tfB6jNsTLYozYqBfAmYNmq94wQ3OFxBSlOfRaj6wxc="
},
"src/third_party/wuffs/src": {
"url": "https://skia.googlesource.com/external/github.com/google/wuffs-mirror-release-c.git",
@@ -781,18 +796,18 @@
},
"src/third_party/xnnpack/src": {
"url": "https://chromium.googlesource.com/external/github.com/google/XNNPACK.git",
"rev": "ae40b1a2d93d5c516bc7657c6c3eea1470f917ae",
"hash": "sha256-w+8aCRTlBWQcDh4EvAF87eiLmQWsIsxD9adPTnuA12E="
"rev": "98a027498845d3e2acd0e983fff6950714edbfc2",
"hash": "sha256-MwzgJN/QE3pLI+5UZNz2oepBibQq5j4CKLDQ1jFyi2w="
},
"src/third_party/zstd/src": {
"url": "https://chromium.googlesource.com/external/github.com/facebook/zstd.git",
"rev": "f9938c217da17ec3e9dcd2a2d99c5cf39536aeb9",
"hash": "sha256-emmJF7XLq5CxXFd0KUrtUtw1YGOHDSiz39vtgVoEPd0="
"rev": "89d685e42dbcf815a16ed0fcd7d050ef74ccad96",
"hash": "sha256-xFObjxA4LKOnCugxaYek3cU4ld3JwLj5jFoRJ20hje4="
},
"src/v8": {
"url": "https://chromium.googlesource.com/v8/v8.git",
"rev": "b7ed978e41b4bac7802b206404d0e2f3d09f31ac",
"hash": "sha256-/XuTD8ENQutrbBt5sJYHuG/87q00J2fACSBBkeEHTYs="
"rev": "326f5f8cad3f0e436c8ea8f82a6894936a32e860",
"hash": "sha256-crTEZnN5iWTXOxpAkvIDPQ6hyfF54F1/ImoKrdmO2K4="
}
}
}

View File

@@ -17,15 +17,44 @@
gnugrep,
callPackage,
rustc,
runCommand,
widevine-cdm,
enableWideVine ? false,
proprietaryCodecs ? true,
cupsSupport ? true,
pulseSupport ? stdenv.hostPlatform.isLinux,
commandLineArgs ? "",
}:
let
upstream-info = (lib.importJSON ./info.json)."ungoogled-chromium";
unwrapped = callPackage ./unwrapped.nix {
inherit helium-patcher-unwrapped upstream-info;
inherit
helium-patcher-unwrapped
upstream-info
proprietaryCodecs
cupsSupport
pulseSupport
;
stdenv = rustc.llvmPackages.stdenv;
};
helium-patcher-unwrapped = callPackage ./helium-patcher.nix { };
sandboxExecutableName = unwrapped.passthru.sandboxExecutableName;
chromiumWV =
let
browser = unwrapped;
in
if enableWideVine then
runCommand (browser.name + "-wv") { version = browser.version; } ''
mkdir -p $out
cp -a ${browser}/* $out/
chmod u+w $out/libexec/helium
cp -a ${widevine-cdm}/share/google/chrome/WidevineCdm $out/libexec/helium/
''
else
browser;
in
stdenv.mkDerivation {
pname = "helium-browser";
@@ -57,7 +86,7 @@ stdenv.mkDerivation {
buildCommand =
let
browserBinary = "${unwrapped}/libexec/helium/helium";
browserBinary = "${chromiumWV}/libexec/helium/helium";
libPath = lib.makeLibraryPath [
libva
pipewire
@@ -73,7 +102,7 @@ stdenv.mkDerivation {
makeWrapper "${browserBinary}" "$out/bin/helium" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
--add-flags ${lib.escapeShellArg commandLineArgs}
ed -v -s "$out/bin/helium" << EOF
2i
@@ -122,19 +151,13 @@ stdenv.mkDerivation {
'';
inherit (unwrapped) packageName;
meta = unwrapped.meta;
meta = unwrapped.meta // {
platforms = [ "x86_64-linux" ];
};
passthru = {
inherit (unwrapped) upstream-info;
browser = unwrapped;
inherit sandboxExecutableName;
# TODO: enable and fix this script when bothered
# updateScript = replaceVarsWith {
# src = ./update.mjs;
# replacements = {
# inherit nixpkgs;
# };
# dir = "bin";
# isExecutable = true;
# };
updateScript = ./update.mjs;
};
}

View File

@@ -7,15 +7,54 @@
overrideCC,
pkgsBuildBuild,
lib,
electron-source,
helium-patcher-unwrapped,
fetchzip,
breakpointHook,
proprietaryCodecs,
cupsSupport,
pulseSupport,
}:
let
warnObsoleteVersionConditional =
min-version: result:
let
min-supported-version = (lib.head (lib.attrValues electron-source)).unwrapped.info.chromium.version;
# Warning can be toggled by changing the value of enabled:
enabled = false;
in
lib.warnIf (enabled && lib.versionAtLeast min-supported-version min-version)
"chromium: min-supported-version ${min-supported-version} is newer than a conditional bounded at ${min-version}. You can safely delete it."
result;
chromiumVersionAtLeast =
min-version:
let
result = lib.versionAtLeast upstream-info.version min-version;
in
warnObsoleteVersionConditional min-version result;
versionRange =
min-version: upto-version:
let
inherit (upstream-info) version;
result = lib.versionAtLeast version min-version && lib.versionOlder version upto-version;
in
warnObsoleteVersionConditional upto-version result;
in
(
(chromium.passthru.mkDerivation.override (old: {
inherit stdenv;
ungoogled = true;
ungoogled-chromium = helium-patcher-unwrapped;
inherit upstream-info;
inherit
upstream-info
chromiumVersionAtLeast
versionRange
proprietaryCodecs
cupsSupport
pulseSupport
;
}))
(
base:
@@ -35,11 +74,11 @@
ublock_src =
let
version = "1.66.4";
version = "1.67.0";
in
fetchurl {
url = "https://github.com/imputnet/ublock-origin-crx/releases/download/${version}/uBlock0_${version}.crx";
hash = "sha256-CMPHVEpSeKA1ZJX3Ia5gccIr+4KDFs6OF+IgO0Zhq74=";
hash = "sha256-06NjhGEfV5Msg098vq6NdPXPrGNrqVUkz+nlLoFVAac=";
recursiveHash = true;
downloadToTemp = true;
@@ -54,11 +93,11 @@
};
helium-onboarding =
let
version = "202509241653";
version = "202511061712";
in
fetchzip {
url = "https://github.com/imputnet/helium-onboarding/releases/download/${version}/helium-onboarding-${version}.tar.gz";
hash = "sha256-AeGc6psN4nzbjSG/UF1GNiZ7ZhcgA5GwBrGTg2Rt3Ns=";
hash = "sha256-wsEFW9Psj4xTFUwgWC12aLErp/QKDIhcRkcw9WZms8Q=";
stripRoot = false;
};
search-engine-data = fetchzip {
@@ -71,9 +110,24 @@
rec {
inherit stdenv;
pname = "helium-browser-unwrapped";
depsBuildBuild = lib.filter (
d: d != buildPlatformLlvmStdenv && d != buildPlatformLlvmStdenv.cc
) base.depsBuildBuild;
version = "${upstream-info.deps.ungoogled-patches.rev}-${upstream-info.version}";
depsBuildBuild =
lib.filter (d: d != buildPlatformLlvmStdenv && d != buildPlatformLlvmStdenv.cc) base.depsBuildBuild
++ [
# breakpointHook
];
# skip chromium-126-llvm-17.patch
patches = lib.filter (
p:
let
name = (builtins.baseNameOf p);
in
!builtins.elem name [
"chromium-126-llvm-17.patch"
"x5k78i7w4zics8v9b9azy4k1g7c8586z-chromium-141-Revert-Remove-unnecessary-include-in-tree_scope.h.patch"
"1rh5mwg9vxra2bbadh2saxzscfpxf5w4-chromium-142-Backport-Add-missing-include-for-FormFieldData-type-completeness.patch"
]
) base.patches;
postUnpack = ''
cp -r ${helium-onboarding}/ src/components/helium_onboarding
@@ -82,7 +136,6 @@
chmod +rw -R src/third_party/ublock
cp -r ${search-engine-data}/. src/third_party/search_engines_data/resources_internal
chmod +rw -R src/third_party/search_engines_data/resources_internal
# chmod +x src/components/helium_onboarding/node_modules/@esbuild/linux-x64/bin/esbuild
'';
postPatch = base.postPatch + ''
"${helium}/utils/name_substitution.py" --sub -t .
@@ -91,7 +144,6 @@
"${helium}/utils/generate_resources.py" "${helium}/resources/generate_resources.txt" "$TMPDIR/helium-resources"
"${helium}/utils/replace_resources.py" "${helium}/resources/helium_resources.txt" "$TMPDIR/helium-resources" .
'';
# stdenv = ccacheStdenv;
name = "helium-browser";
packageName = "helium";
buildTargets = [
@@ -165,6 +217,7 @@
passthru = {
inherit sandboxExecutableName;
inherit upstream-info chromiumVersionAtLeast;
};
requiredSystemFeatures = [ "big-parallel" ];

27
pkgs/by-name/he/helium-browser/update.mjs Normal file → Executable file
View File

@@ -4,7 +4,12 @@
*/
console.log(process.cwd())
const nixpkgs = "@nixpkgs@"
const custompkgs = (await $`git rev-parse --show-toplevel`).stdout.trim()
const $custompkgs = $({
cwd:custompkgs
})
const nixpkgs = "<nixpkgs>"
const dummy_hash = 'sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='
@@ -111,13 +116,13 @@ for (const attr_path of Object.keys(lockfile)) {
}
console.log(`[${chalk.red(path)}] FOD prefetching ${value.url}@${value.rev}...`)
// value.hash = await prefetch_FOD('-A', `${attr_path}.browser.passthru.chromiumDeps."${path}"`)
value.hash = await prefetch_flake_FOD(`.#default.browser.passthru.chromiumDeps."${path}"`)
console.log(`[${chalk.green(path)}] FOD prefetching successful`)
// value.hash = await prefetch_FOD('./package.nix', '-A', `${attr_path}.browser.passthru.chromiumDeps."${path}"`)
value.hash = await prefetch_flake_FOD(`.#helium-browser.browser.passthru.chromiumDeps."${path}"`)
// console.log(`[${chalk.green(path)}] FOD prefetching successful`)
}
// lockfile[attr_path].deps.npmHash = await prefetch_FOD('-A', `${attr_path}.browser.passthru.npmDeps`)
lockfile[attr_path].deps.npmHash = await prefetch_flake_FOD(`.#default.browser.passthru.npmDeps`)
// lockfile[attr_path].deps.npmHash = await prefetch_FOD('./package.nix', '-A', `${attr_path}.browser.passthru.npmDeps`)
lockfile[attr_path].deps.npmHash = await prefetch_flake_FOD(`.#helium-browser.browser.passthru.npmDeps`)
console.log(chalk.green(`[${attr_path}] Done updating ${attr_path} from ${version_nixpkgs} to ${version_upstream}!`))
}
@@ -203,9 +208,11 @@ async function get_latest_chromium_release(platform) {
async function get_latest_ungoogled_release() {
const ungoogled_tags = await (await fetch('https://api.github.com/repos/imputnet/helium/tags')).json()
const chromium_releases = await (await fetch('https://versionhistory.googleapis.com/v1/chrome/platforms/linux/channels/stable/versions/all/releases')).json()
const chromium_release_map = chromium_releases.releases.map((x) => x.version)
return "0.4.13" // TODO: figure out how to actually properly do this stuff
// console.log(ungoogled_tags)
// const chromium_releases = await (await fetch('https://versionhistory.googleapis.com/v1/chrome/platforms/linux/channels/stable/versions/all/releases')).json()
// const chromium_release_map = chromium_releases.releases.map((x) => x.version)
// return "0.5.2" // TODO: figure out how to actually properly do this stuff
return ungoogled_tags[0].name
}
@@ -274,7 +281,7 @@ async function prefetch_FOD(...args) {
return hash
}
async function prefetch_flake_FOD(...args) {
const { stderr } = await $`nix build ${args}`.nothrow()
const { stderr } = await $custompkgs`nix build ${args}`.nothrow()
const hash = /\s+got:\s+(?<hash>.+)$/m.exec(stderr)?.groups?.hash
if (hash == undefined) {
throw new Error(chalk.red('Expected to find hash in nix build stderr output:') + stderr)

View File

@@ -27,10 +27,11 @@ stdenv.mkDerivation (
rec {
name = "x1e80100-firmware";
version = "26100_25.084.40393.0";
version = "26100_25.101.12926.0";
src = fetchurl {
# https://www.microsoft.com/en-us/download/details.aspx?id=106120
url = "https://download.microsoft.com/download/b7ca2c3f-d320-4795-be0f-529a0117abb4/SurfaceLaptop7_ARM_Win11_${version}.msi";
hash = "sha256-EHpq5yqnq2GwH5keCEbWvDEoprQA+74HDPHcq/eTm44=";
hash = "sha256-4LVqkA4YwGrAh3gNSUQ5G2ahwBoj/5QvyFqvNgznvX4=";
};
nativeBuildInputs = [
msitools

1
result
View File

@@ -1 +0,0 @@
/nix/store/2ysni042zy3fm42rqfyr8m48s5w9wx4f-x1e80100-firmware