overlayed: 0.5.0 -> 0.6.2 (#351327)

This commit is contained in:
Artturin 2024-10-27 05:41:58 +02:00 committed by GitHub
commit 85b305ed0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1959 additions and 1438 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,20 +5,21 @@
pkg-config,
openssl,
libsoup,
webkitgtk_4_0,
webkitgtk_4_1,
fetchFromGitHub,
libayatana-appindicator,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "overlayed";
version = "0.5.0";
version = "0.6.2";
src = fetchFromGitHub {
owner = "overlayeddev";
repo = "overlayed";
rev = "refs/tags/v${version}";
hash = "sha256-yS1u7pp7SfmqzoH0QOAH060uo3nFb/N9VIng0T21tVw=";
hash = "sha256-3GFg8czBf1csojXUNC51xFXJnGuXltP6D46fCt6q24I=";
};
sourceRoot = "${src.name}/apps/desktop/src-tauri";
@ -33,7 +34,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
openssl
webkitgtk_4_0
webkitgtk_4_1
libsoup
];
@ -44,9 +45,9 @@ rustPlatform.buildRustPackage rec {
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"tauri-plugin-window-state-0.1.1" = "sha256-2cdO+5YAP7MOK0/YKclQemK4N9ci2JX3AfmMaeauwNI=";
"tauri-nspanel-0.0.0" = "sha256-tQHY0OX37b4dqhs89phYIzw7JzEPmMJo5e/jlyzxdMg=";
"tauri-plugin-single-instance-0.0.0" = "sha256-S1nsT/Dr0aIJdiPnW1FGamCth7CDMNAp4v34tpWqjHg=";
"system-notification-0.1.0" = "sha256-T9SnKBy4x0Y5Ul6oECHJ/lvsYS2TPY8Nrg1R9JtJUXs=";
"tauri-nspanel-2.0.0-beta" = "sha256-PhMkSrmmc6fJ0GmT9lPwYMsyBap7/g8vIp210l2nFU4=";
"tauri-plugin-window-state-2.0.0-rc.1" = "sha256-8GR9q1+eiULDOtWlLy+sLylOzfAOUO5Q61EP/XvP6c0=";
};
};
@ -54,8 +55,8 @@ rustPlatform.buildRustPackage rec {
substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
--replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
substituteInPlace ./tauri.conf.json \
--replace-fail '"distDir": "../dist",' '"distDir": "${webui}",' \
--replace-fail '"beforeBuildCommand": "pnpm build"' '"beforeBuildCommand": ""'
--replace-fail '../dist' '${webui}' \
--replace-fail 'pnpm build' ' '
'';
meta = {

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) src pname version;
hash = "sha256-YTZ6uT1hcNSh+xhRvOq4q/opMOEksXT/MH3BgCnccrA=";
hash = "sha256-+yyxoodcDfqJ2pkosd6sMk77/71RDsGthedo1Oigwto=";
};
nativeBuildInputs = [