join-desktop: drop

This commit is contained in:
Sandro Jäckel 2023-10-04 23:35:10 +02:00
parent 6d847579f7
commit 50dd764191
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
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

@ -368,6 +368,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

@ -30706,8 +30706,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 { };