dorion: 6.8.0 -> 6.11.0 (#451114)

This commit is contained in:
dish
2025-10-13 01:21:56 +00:00
committed by GitHub

View File

@@ -26,8 +26,8 @@ let
}; };
shelter = fetchurl { shelter = fetchurl {
url = "https://raw.githubusercontent.com/uwu/shelter-builds/fab6f100bd0ab8583d67f792f66722a7d2a14bd1/shelter.js"; url = "https://raw.githubusercontent.com/uwu/shelter-builds/1b35b8802a85809742af99f454bb941f56f759a3/shelter.js";
hash = "sha256-d9vaKLrl8RYNcHnE1iGN49ov6U/Y+9XpEsio+c1Sguc="; hash = "sha256-g4xe4Wj8OSaA/btlv2O8aawi+Bx8qttL95mnINOrTgg=";
meta = { meta = {
homepage = "https://github.com/uwu/shelter"; homepage = "https://github.com/uwu/shelter";
sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; # actually, minified JS sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; # actually, minified JS
@@ -38,28 +38,24 @@ in
rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.buildRustPackage (finalAttrs: {
pname = "dorion"; pname = "dorion";
version = "6.8.0"; version = "6.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SpikeHD"; owner = "SpikeHD";
repo = "Dorion"; repo = "Dorion";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-RvaGCAqAcWYA3v7AkdKMiM10Cki0jI418pbHPlVUnCg="; hash = "sha256-be21MAAVfxouO1relcqLLbB9W8w5iDRe0Yr6snSKyq0=";
}; };
cargoPatches = [
./no-cargo-patch.patch
];
cargoRoot = "src-tauri"; cargoRoot = "src-tauri";
buildAndTestSubdir = finalAttrs.cargoRoot; buildAndTestSubdir = finalAttrs.cargoRoot;
cargoHash = "sha256-jLMXwW5q4MyCblw28tmheKGPAIn3BLuceyAtoS4J7bc="; cargoHash = "sha256-9zH0Coiyoz6NK2go2XVL5xYaCrXzrOMKaK+3pDXqrGs=";
pnpmDeps = pnpm_9.fetchDeps { pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src; inherit (finalAttrs) pname version src;
fetcherVersion = 1; fetcherVersion = 1;
hash = "sha256-xBonUzA4+1zbViEsKap6CaG6ZRldW1LjNYIB+FmVRFs="; hash = "sha256-SO/9GkjNP+7IEeULCyWAp32RYIxyzgmbc8YZiTCTjF8=";
}; };
# CMake (webkit extension) # CMake (webkit extension)
@@ -103,9 +99,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
# remove updater # remove updater
rm -rf updater rm -rf updater
# patch cargo-deps
patch -d $cargoDepsCopy/tauri-plugin-shell-* -p1 < ./src-tauri/patches/tauri-plugin-shell+*.patch
substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \ substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
--replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1" --replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"