10 libayatana-appindicator,
14 rustPlatform.buildRustPackage rec {
18 src = fetchFromGitHub {
19 owner = "overlayeddev";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-3GFg8czBf1csojXUNC51xFXJnGuXltP6D46fCt6q24I=";
25 sourceRoot = "${src.name}/apps/desktop/src-tauri";
27 webui = callPackage ./webui.nix {
28 inherit meta src version;
42 OPENSSL_NO_VENDOR = 1;
46 lockFile = ./Cargo.lock;
48 "system-notification-0.1.0" = "sha256-T9SnKBy4x0Y5Ul6oECHJ/lvsYS2TPY8Nrg1R9JtJUXs=";
49 "tauri-nspanel-2.0.0-beta" = "sha256-PhMkSrmmc6fJ0GmT9lPwYMsyBap7/g8vIp210l2nFU4=";
50 "tauri-plugin-window-state-2.0.0-rc.1" = "sha256-8GR9q1+eiULDOtWlLy+sLylOzfAOUO5Q61EP/XvP6c0=";
55 substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
56 --replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
57 substituteInPlace ./tauri.conf.json \
58 --replace-fail '../dist' '${webui}' \
59 --replace-fail 'pnpm build' ' '
63 description = "Modern discord voice chat overlay";
64 homepage = "https://github.com/overlayeddev/overlayed";
65 changelog = "https://github.com/overlayeddev/overlayed/releases/tag/v${version}";
66 platforms = lib.platforms.linux;
67 maintainers = with lib.maintainers; [ bot-wxt1221 ];
68 license = lib.licenses.agpl3Plus;
69 mainProgram = "overlayed";