Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49a7431945 | ||
|
|
99fccdc256
|
||
|
|
47f9558533
|
||
|
|
ac949bcb77
|
||
|
|
1500f50bd5 |
@@ -70,6 +70,11 @@ jobs:
|
|||||||
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --sandbox --no-sandbox-fallback --accept-flake-config --no-link --print-out-paths -L \
|
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --sandbox --no-sandbox-fallback --accept-flake-config --no-link --print-out-paths -L \
|
||||||
".#packages.${system}.atuinLatest" \
|
".#packages.${system}.atuinLatest" \
|
||||||
".#packages.${system}.cliampLatest" \
|
".#packages.${system}.cliampLatest" \
|
||||||
|
".#packages.${system}.lazygitLatest" \
|
||||||
|
".#packages.${system}.ghDashLatest" \
|
||||||
|
".#packages.${system}.diffNavLatest" \
|
||||||
|
".#packages.${system}.k9sLatest" \
|
||||||
|
".#packages.${system}.sable-web" \
|
||||||
".#packages.${system}.musicpresence" \
|
".#packages.${system}.musicpresence" \
|
||||||
".#packages.${system}.vintage-story" \
|
".#packages.${system}.vintage-story" \
|
||||||
".#packages.${system}.swaytreesave" \
|
".#packages.${system}.swaytreesave" \
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ in {
|
|||||||
owner = "dlvhdr";
|
owner = "dlvhdr";
|
||||||
repo = "gh-dash";
|
repo = "gh-dash";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-FUb4zrGT0L7S1O5EcOCop4n0zlx1ODsANzBcEl9bvOU=";
|
hash = "sha256-3iUBuMvA2Xh7UjTiFNEs3tuZMCnSt/bIhTSEDD92yCU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-3iUBuMvA2Xh7UjTiFNEs3tuZMCnSt/bIhTSEDD92yCU=";
|
vendorHash = "sha256-Teu+8jiZE2gZ+0ErKsunhotY9W4Hjg6PAeFkFLgESIk=";
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
"-skip=TestFullOutput"
|
"-skip=TestFullOutput"
|
||||||
|
|||||||
+34
-7
@@ -7,20 +7,34 @@
|
|||||||
nodejs_24,
|
nodejs_24,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
}:
|
}:
|
||||||
buildNpmPackage (finalAttrs:
|
buildNpmPackage (
|
||||||
let
|
finalAttrs:
|
||||||
|
let
|
||||||
pnpm = pnpm_10.override {
|
pnpm = pnpm_10.override {
|
||||||
nodejs = nodejs_24;
|
nodejs = nodejs_24;
|
||||||
};
|
};
|
||||||
in {
|
matrixrtcSrc = fetchFromGitHub {
|
||||||
|
owner = "SableClient";
|
||||||
|
repo = "matrix-rtc";
|
||||||
|
rev = "519fe6b863cfac78700f4e2b1748649103bb8a8d";
|
||||||
|
hash = "sha256-n5f7529RdRxY8/a43Xkgrhg4yRz5aNgfoZqWrB7kvak=";
|
||||||
|
};
|
||||||
|
livekitMobileSrc = fetchFromGitHub {
|
||||||
|
owner = "SableClient";
|
||||||
|
repo = "tauri-plugin-livekit-mobile";
|
||||||
|
rev = "c6f0d02ab3da1174535bc1dc8e598a2e6873f977";
|
||||||
|
hash = "sha256-ZPx6Ic+Gkvzg9LXYP9BaQALzOrvLCcQHOms8U3VfnU0=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
pname = "sable-unwrapped";
|
pname = "sable-unwrapped";
|
||||||
version = "1.14.0";
|
version = "1.21.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SableClient";
|
owner = "SableClient";
|
||||||
repo = "Sable";
|
repo = "Sable";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-zoGKs0pm9m42JrTNAdU33LP139JlVz3RZnkTyY0aiqY=";
|
hash = "sha256-vYoKNflV4vdJpgYVxYCxAQhvqDh1Qf+7qgIFHxriTTU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nodejs = nodejs_24;
|
nodejs = nodejs_24;
|
||||||
@@ -33,13 +47,25 @@ in {
|
|||||||
inherit (finalAttrs) pname version src;
|
inherit (finalAttrs) pname version src;
|
||||||
inherit pnpm;
|
inherit pnpm;
|
||||||
fetcherVersion = 3;
|
fetcherVersion = 3;
|
||||||
hash = "sha256-2GwUz0jsuVKQZyeidM0F4rDzijm9AFcAxN7x/m/b3Is=";
|
hash = "sha256-tzIU/5DQ4SpLABKOt6/Z2aD2d6nVt+MJvY7vHHnO4No=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmInstallFlags = [
|
npmInstallFlags = [
|
||||||
"--ignore-scripts"
|
"--ignore-scripts"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
cp -r --no-preserve=mode ${matrixrtcSrc}/. node_modules/@sableclient/matrixrtc/
|
||||||
|
pnpm exec tsc -p node_modules/@sableclient/matrixrtc/tsconfig.build.json
|
||||||
|
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 \
|
||||||
|
--noEmit false \
|
||||||
|
--declaration \
|
||||||
|
--rootDir node_modules/@sableclient/tauri-plugin-livekit-mobile/guest-js \
|
||||||
|
--outDir node_modules/@sableclient/tauri-plugin-livekit-mobile/dist-js
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
@@ -57,4 +83,5 @@ in {
|
|||||||
license = lib.licenses.agpl3Only;
|
license = lib.licenses.agpl3Only;
|
||||||
platforms = lib.platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
})
|
}
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user