kiwitalk: remove (#347656)

This commit is contained in:
Aleksana 2024-10-19 16:05:22 +08:00 committed by GitHub
commit 4f762bba55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 5885 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,79 +0,0 @@
{ lib
, fetchFromGitHub
, stdenv
, rustc
, rustPlatform
, cargo
, cargo-tauri
, desktop-file-utils
, openssl
, libayatana-appindicator
, webkitgtk_4_0
, pkg-config
, pnpm
, nodejs
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kiwitalk";
version = "0.5.1";
src = fetchFromGitHub {
owner = "KiwiTalk";
repo = "KiwiTalk";
rev = "v${finalAttrs.version}";
hash = "sha256-Th8q+Zbc102fIk2v7O3OOeSriUV/ydz60QwxzmS7AY8=";
};
postPatch = ''
substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
--replace-warn "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
ln -sf ${./Cargo.lock} Cargo.lock
'';
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-gf3vmKUta8KksUOxyhQS4UO6ycAJDfEicyXVGMW8+4c=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"tauri-plugin-log-0.0.0" = "sha256-8BrFf7vheMJIaZD0oXpi8V4hmUJFzHJmkcRtPL1/J48=";
"tauri-plugin-single-instance-0.0.0" = "sha256-8BrFf7vheMJIaZD0oXpi8V4hmUJFzHJmkcRtPL1/J48=";
};
};
nativeBuildInputs = [
rustPlatform.cargoSetupHook
cargo
rustc
cargo-tauri.hook
desktop-file-utils
nodejs
pnpm.configHook
pkg-config
];
buildInputs = [
openssl
libayatana-appindicator
webkitgtk_4_0
];
postInstall = lib.optionalString stdenv.isLinux ''
desktop-file-edit \
--set-comment "An UNOFFICIAL cross-platform KakaoTalk client" \
--set-key="Categories" --set-value="Network;InstantMessaging;" \
$out/share/applications/kiwi-talk.desktop
'';
meta = with lib; {
description = "UNOFFICIAL cross-platform KakaoTalk client written in TypeScript & Rust (SolidJS, tauri)";
homepage = "https://github.com/KiwiTalk/KiwiTalk";
maintainers = with maintainers; [ honnip ];
license = licenses.asl20;
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "kiwi-talk";
};
})

View File

@ -812,6 +812,7 @@ mapAliases {
kibana = kibana7;
kicad-with-packages3d = throw "'kicad-with-packages3d' has been renamed to/replaced by 'kicad'"; # Converted to throw 2023-09-10
kio-admin = libsForQt5.kdeGear.kio-admin; # Added 2023-03-18
kiwitalk = throw "KiwiTalk has been removed because the upstream has been deprecated at the request of Kakao and it's now obsolete."; # Added 2024-10-10
kodiGBM = kodi-gbm;
kodiPlain = kodi;
kodiPlainWayland = kodi-wayland;

View File

@ -30357,8 +30357,6 @@ with pkgs;
kitsas = libsForQt5.callPackage ../applications/office/kitsas { };
kiwitalk = callPackage ../by-name/ki/kiwitalk/package.nix { pnpm = pnpm_8; };
kiwix = libsForQt5.callPackage ../applications/misc/kiwix { };
kiwix-tools = callPackage ../applications/misc/kiwix/tools.nix { };