teleprompter: remove (#295852)

This commit is contained in:
Yureka 2024-03-15 13:59:03 +01:00 committed by GitHub
parent f6e0afbcc3
commit ad6be068f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 46 deletions

View file

@ -1,44 +0,0 @@
{ lib, stdenv, fetchurl, electron_10, makeDesktopItem, makeWrapper, asar, autoPatchelfHook}:
let
electron = electron_10;
in
stdenv.mkDerivation rec {
pname = "teleprompter";
version = "2.4.0";
src = fetchurl {
url = "https://github.com/ImaginarySense/Imaginary-Teleprompter-Electron/releases/download/${lib.versions.majorMinor version}/imaginary-teleprompter-${version}.tar.gz";
sha256 = "bgdtK8l5d26avv1WUw9cfOgZrIL1q/a9890Ams4yidQ=";
};
dontBuild = true;
dontStrip = true;
nativeBuildInputs = [ autoPatchelfHook makeWrapper asar ];
installPhase = ''
mkdir -p $out/bin $out/opt/teleprompter $out/share/applications
asar e resources/app.asar $out/opt/teleprompter/resources/app.asar.unpacked
ln -s ${desktopItem}/share/applications/* $out/share/applications
'';
postFixup = ''
makeWrapper ${electron}/bin/electron $out/bin/teleprompter \
--add-flags "$out/opt/teleprompter/resources/app.asar.unpacked --without-update"
'';
desktopItem = makeDesktopItem {
name = "teleprompter";
exec = "teleprompter";
desktopName = "Teleprompter";
};
meta = with lib; {
description = "The most complete, free, teleprompter app on the web";
license = [ licenses.gpl3Plus ];
homepage = "https://github.com/ImaginarySense/Teleprompter-Core";
platforms = platforms.linux;
maintainers = with maintainers; [ Scriptkiddi ];
};
}

View file

@ -1139,6 +1139,7 @@ mapAliases ({
tdesktop = telegram-desktop; # Added 2023-04-07 tdesktop = telegram-desktop; # Added 2023-04-07
telegram-cli = throw "telegram-cli was removed because it was broken and abandoned upstream"; # Added 2023-07-28 telegram-cli = throw "telegram-cli was removed because it was broken and abandoned upstream"; # Added 2023-07-28
teleport_11 = throw "teleport 11 has been removed as it is EOL. Please upgrade to Teleport 12 or later"; # Added 2023-11-27 teleport_11 = throw "teleport 11 has been removed as it is EOL. Please upgrade to Teleport 12 or later"; # Added 2023-11-27
teleprompter = throw "teleprompter has been removed. reason: upstream dead and does not work with recent electron versions"; # Adedd 2024-03-14
tensile = throw "'tensile' has been replaced with 'rocmPackages.tensile'"; # Added 2023-10-08 tensile = throw "'tensile' has been replaced with 'rocmPackages.tensile'"; # Added 2023-10-08
testVersion = testers.testVersion; # Added 2022-04-20 testVersion = testers.testVersion; # Added 2022-04-20
tfplugindocs = terraform-plugin-docs; # Added 2023-11-01 tfplugindocs = terraform-plugin-docs; # Added 2023-11-01

View file

@ -35245,8 +35245,6 @@ with pkgs;
telepathy-idle = callPackage ../applications/networking/instant-messengers/telepathy/idle { }; telepathy-idle = callPackage ../applications/networking/instant-messengers/telepathy/idle { };
teleprompter = callPackage ../applications/misc/teleprompter { };
tempo = callPackage ../servers/tracing/tempo { }; tempo = callPackage ../servers/tracing/tempo { };
temporal = callPackage ../applications/networking/cluster/temporal { }; temporal = callPackage ../applications/networking/cluster/temporal { };