wsjtz: 2.0.16 -> 2.0.18, fix desktopitem to avoid against wsjtx

This commit is contained in:
Cryolitia PukNgae
2026-07-23 00:42:44 +08:00
parent 241313f4e8
commit e7a98248f5
+7 -2
View File
@@ -7,18 +7,22 @@
wsjtx.overrideAttrs (
finalAttrs: old: {
pname = "wsjtz";
version = "2.0.16";
version = "2.0.18";
src = fetchFromGitHub {
owner = "sq9fve";
repo = "wsjt-z";
tag = "v${finalAttrs.version}";
hash = "sha256-O7HHAr3am4bH4b/RldoaB9LWWhciUbDc+u+lPO60UUY=";
hash = "sha256-YxO4pSdKKeO0Ye7Ay/0gdjPvceLbC5eMQk1ZBh1ZHCw=";
};
postInstall = ''
mv $out/bin/wsjtx $out/bin/wsjtz
mv $out/bin/wsjtx_app_version $out/bin/wsjtz_app_version
substituteInPlace $out/share/applications/wsjtx.desktop \
--replace-fail "Exec=wsjtx" "Exec=wsjtz" \
--replace-fail "Name=wsjtx" "Name=wsjtz"
'';
meta = {
@@ -27,6 +31,7 @@ wsjtx.overrideAttrs (
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
Cryolitia
scd31
];
mainProgram = "wsjtz";