10 , libayatana-appindicator
17 stdenv.mkDerivation (finalAttrs: {
21 src = fetchFromGitHub {
24 rev = "v${finalAttrs.version}";
25 hash = "sha256-Th8q+Zbc102fIk2v7O3OOeSriUV/ydz60QwxzmS7AY8=";
29 substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
30 --replace-warn "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
31 ln -sf ${./Cargo.lock} Cargo.lock
34 pnpmDeps = pnpm.fetchDeps {
35 inherit (finalAttrs) pname version src;
36 hash = "sha256-gf3vmKUta8KksUOxyhQS4UO6ycAJDfEicyXVGMW8+4c=";
39 cargoDeps = rustPlatform.importCargoLock {
40 lockFile = ./Cargo.lock;
42 "tauri-plugin-log-0.0.0" = "sha256-8BrFf7vheMJIaZD0oXpi8V4hmUJFzHJmkcRtPL1/J48=";
43 "tauri-plugin-single-instance-0.0.0" = "sha256-8BrFf7vheMJIaZD0oXpi8V4hmUJFzHJmkcRtPL1/J48=";
48 rustPlatform.cargoSetupHook
60 libayatana-appindicator
64 postInstall = lib.optionalString stdenv.isLinux ''
66 --set-comment "An UNOFFICIAL cross-platform KakaoTalk client" \
67 --set-key="Categories" --set-value="Network;InstantMessaging;" \
68 $out/share/applications/kiwi-talk.desktop
72 description = "UNOFFICIAL cross-platform KakaoTalk client written in TypeScript & Rust (SolidJS, tauri)";
73 homepage = "https://github.com/KiwiTalk/KiwiTalk";
74 maintainers = with maintainers; [ honnip ];
75 license = licenses.asl20;
76 platforms = platforms.linux ++ platforms.darwin;
77 mainProgram = "kiwi-talk";