aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-11 06:16:46 -0700
committerFuwn <[email protected]>2024-10-11 06:24:34 -0700
commit4e8179f97169ffc9a07c0dfe0dde4a9f08d738ae (patch)
treefdaf30aab7c1054c746c52171244021297c8b609 /pkgs
parentchore(yae): pin yaak (diff)
downloadtsutsumi-4e8179f97169ffc9a07c0dfe0dde4a9f08d738ae.tar.xz
tsutsumi-4e8179f97169ffc9a07c0dfe0dde4a9f08d738ae.zip
chore(refactor): move thorium source to yae
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/thorium.nix23
1 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/thorium.nix b/pkgs/thorium.nix
index 21fd4d5..01bffb0 100644
--- a/pkgs/thorium.nix
+++ b/pkgs/thorium.nix
@@ -1,17 +1,16 @@
-{ pkgs, lib }:
-let
- thorium-version = "126.0.6478.246";
- thorium-release = "${thorium-version}_Th24_SSE4";
-
- thorium-archive = pkgs.fetchurl {
- url = "https://github.com/Alex313031/thorium/releases/download/M${thorium-version}/Thorium_Browser_${thorium-release}.AppImage";
- hash = "sha256-izYbx/mSA+l7fAh917SauHopk3UlUJo+7NjkyIGpnNA=";
- };
-in
+{
+ pkgs,
+ lib,
+ yae,
+}:
pkgs.appimageTools.wrapType2 {
+ inherit (yae.thorium) version;
+
pname = "thorium";
- version = thorium-version;
- src = "${thorium-archive}";
+
+ src = pkgs.fetchurl {
+ inherit (yae.thorium) url sha256;
+ };
meta = with lib; {
description = "Chromium fork named after radioactive element No. 90.";