Merge pull request #259067 from SuperSandro2000/join-desktop

join-desktop: drop
This commit is contained in:
Weijia Wang 2023-10-11 23:18:49 +02:00 committed by GitHub
commit 5e4c2ada4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 76 deletions

View file

@ -1,74 +0,0 @@
{ lib
, stdenv
, fetchurl
, alsa-lib
, autoPatchelfHook
, dpkg
, gtk3
, makeWrapper
, mesa
, nss
, systemd
, xorg
}:
stdenv.mkDerivation rec {
pname = "join-desktop";
version = "1.1.2";
src = fetchurl {
url = "https://github.com/joaomgcd/JoinDesktop/releases/download/v${version}/com.joaomgcd.join_${version}_amd64.deb";
sha256 = "sha256-k1LX/HC3tfL4Raipo7wp/LnfrPa38x8NBeKRyHJ72CU=";
};
nativeBuildInputs = [
autoPatchelfHook
dpkg
makeWrapper
];
buildInputs = [
alsa-lib
gtk3
mesa
nss
xorg.libXScrnSaver
xorg.libXtst
];
unpackPhase = "dpkg-deb -x $src .";
runtimeDependencies = [
(lib.getLib systemd)
# TODO: check if they are required
# libnotify
# libappindicator
];
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/share/join-desktop
mv usr/share/* $out/share
mv opt/Join\ Desktop/* $out/share/join-desktop
ln -s $out/share/join-desktop/com.joaomgcd.join $out/bin/
substituteInPlace $out/share/applications/com.joaomgcd.join.desktop \
--replace "/opt/Join Desktop/com.joaomgcd.join" "com.joaomgcd.join"
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/joaomgcd/JoinDesktop/";
description = "Desktop app for Join";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
# on https://joaoapps.com/join/desktop/ "Join Desktop is an open source app" but no license
license = licenses.free;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -382,6 +382,7 @@ mapAliases ({
jfbpdf = throw "'jfbpdf' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
jfbview = throw "'jfbview' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
jira-cli = throw "jira-cli was removed because it is no longer maintained"; # Added 2023-02-28
join-desktop = throw "'join-desktop' has been removed because it is unmaintained upstream"; # Added 2023-10-04
# Julia

View file

@ -30551,8 +30551,6 @@ with pkgs;
jxplorer = callPackage ../applications/networking/jxplorer {};
join-desktop = callPackage ../applications/misc/join-desktop { };
joincap = callPackage ../tools/security/joincap { };
json-plot = callPackage ../applications/graphics/json-plot { };