mod: upgraded sable-web to 1.22.3

This commit is contained in:
2026-09-19 12:11:18 -04:00
parent 024df8e385
commit e19f331808
+8 -6
View File
@@ -11,7 +11,7 @@ buildNpmPackage (
finalAttrs:
let
pnpm = pnpm_10.override {
nodejs = nodejs_24;
nodejs-slim = nodejs_24;
};
matrixrtcSrc = fetchFromGitHub {
owner = "SableClient";
@@ -28,13 +28,13 @@ buildNpmPackage (
in
{
pname = "sable-unwrapped";
version = "1.21.0";
version = "1.22.3";
src = fetchFromGitHub {
owner = "SableClient";
repo = "Sable";
tag = "v${finalAttrs.version}";
hash = "sha256-vYoKNflV4vdJpgYVxYCxAQhvqDh1Qf+7qgIFHxriTTU=";
hash = "sha256-bU20ULw8qNJggS3TFSFNOSkYSI12Q8BCHqMq2oQfu2Y=";
};
nodejs = nodejs_24;
@@ -47,7 +47,7 @@ buildNpmPackage (
inherit (finalAttrs) pname version src;
inherit pnpm;
fetcherVersion = 3;
hash = "sha256-tzIU/5DQ4SpLABKOt6/Z2aD2d6nVt+MJvY7vHHnO4No=";
hash = "sha256-sI0tE73l+yKS8186tUHrNAJmGD26XEe7828ohvvc+1o=";
};
npmInstallFlags = [
@@ -56,7 +56,9 @@ buildNpmPackage (
preBuild = ''
cp -r --no-preserve=mode ${matrixrtcSrc}/. node_modules/@sableclient/matrixrtc/
pnpm exec tsc -p node_modules/@sableclient/matrixrtc/tsconfig.build.json
pnpm exec tsc \
-p node_modules/@sableclient/matrixrtc/tsconfig.build.json \
--rootDir node_modules/@sableclient/matrixrtc/src
cp -r --no-preserve=mode ${livekitMobileSrc}/. node_modules/@sableclient/tauri-plugin-livekit-mobile/
pnpm exec tsc \
-p node_modules/@sableclient/tauri-plugin-livekit-mobile/tsconfig.json \
@@ -78,7 +80,7 @@ buildNpmPackage (
description = "An almost stable Matrix client";
homepage = "https://app.sable.moe/";
maintainers = with lib.maintainers; [
wymillerlinux
(wymillerlinux or) "wymillerlinux"
];
license = lib.licenses.agpl3Only;
platforms = lib.platforms.all;