Unverified Commit 411a5e2f authored by Leah Amelia Chen's avatar Leah Amelia Chen
Browse files

electronplayer: drop

ElectronPlayer had been unmaintained and its repository archived since October 28, 2024.

It evidently had already been struggling to function for years, judging by [the section titled
"The Pain of Widevine"](https://github.com/oscartbeaumont/ElectronPlayer/blob/master/README.md#the-pain-of-widevine) 
in its README file, and the last commit dates from October 9, 2021, over three years before the
repository was archived.

All in all, it is a dead project that had been broken for years, and we shouldn't continue to
support it in 25.05.
parent d283dea7
Loading
Loading
Loading
Loading
+0 −36
Original line number Diff line number Diff line
{
  appimageTools,
  lib,
  fetchurl,
}:
let
  pname = "electronplayer";
  version = "2.0.8";

  #TODO: remove the -rc4 from the tag in the url when possible
  src = fetchurl {
    url = "https://github.com/oscartbeaumont/ElectronPlayer/releases/download/v${version}-rc4/${pname}-${version}.AppImage";
    sha256 = "wAsmSFdbRPnYnDyWQSbtyj+GLJLN7ibksUE7cegfkhI=";
  };

  appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 {
  inherit pname version src;

  extraInstallCommands = ''
    install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
    substituteInPlace $out/share/applications/${pname}.desktop \
      --replace 'Exec=AppRun' 'Exec=ElectronPlayer'
    cp -r ${appimageContents}/usr/share/icons $out/share
  '';

  meta = with lib; {
    description = "Electron based web video services player";
    mainProgram = "electronplayer";
    homepage = "https://github.com/oscartbeaumont/ElectronPlayer";
    license = licenses.mit;
    maintainers = with maintainers; [ extends ];
    platforms = [ "x86_64-linux" ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -327,6 +327,7 @@ mapAliases {

  edUnstable = throw "edUnstable was removed; use ed instead"; # Added 2024-07-01
  elasticsearch7Plugins = elasticsearchPlugins;
  electronplayer = throw "'electronplayer' has been removed as it had been discontinued upstream since October 2024"; # Added 2024-12-17

  element-desktop-wayland = throw "element-desktop-wayland has been removed. Consider setting NIXOS_OZONE_WL=1 via 'environment.sessionVariables' instead"; # Added 2024-12-17

+0 −2
Original line number Diff line number Diff line
@@ -2277,8 +2277,6 @@ with pkgs;
  eddy = libsForQt5.callPackage ../applications/graphics/eddy { };
  electronplayer = callPackage ../applications/video/electronplayer/electronplayer.nix { };
  element-web = callPackage ../by-name/el/element-web/package.nix {
    conf = config.element-web.conf or { };
  };