Unverified Commit 0db74319 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

electronplayer: drop (#365924)

parents 8f24b0ab 411a5e2f
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 { };
  };