diff --git a/pkgs/by-name/sl/slimerjs/package.nix b/pkgs/by-name/sl/slimerjs/package.nix deleted file mode 100644 index 09bb4dae87db..000000000000 --- a/pkgs/by-name/sl/slimerjs/package.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ - lib, - bash, - fetchFromGitHub, - firefox, - strip-nondeterminism, - stdenv, - unzip, - zip, -}: - -stdenv.mkDerivation rec { - pname = "slimerjs"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "laurentj"; - repo = "slimerjs"; - sha256 = "sha256-RHd9PqcSkO9FYi5x+09TN7c4fKGf5pCPXjoCUXZ2mvA="; - rev = version; - }; - - buildInputs = [ zip ]; - nativeBuildInputs = [ - strip-nondeterminism - unzip - ]; - - preConfigure = '' - test -d src && cd src - test -f omni.ja || zip omni.ja -r */ - ''; - - installPhase = '' - strip-nondeterminism --type zip omni.ja - mkdir -p "$out"/{bin,share/doc/slimerjs,lib/slimerjs} - cp LICENSE README* "$out/share/doc/slimerjs" - cp -r * "$out/lib/slimerjs" - echo '#!${bash}/bin/bash' >> "$out/bin/slimerjs" - echo 'export SLIMERJSLAUNCHER=${firefox}/bin/firefox' >> "$out/bin/slimerjs" - echo "'$out/lib/slimerjs/slimerjs' \"\$@\"" >> "$out/bin/slimerjs" - chmod a+x "$out/bin/slimerjs" - sed -e 's@MaxVersion=[3456][0-9][.]@MaxVersion=99.@' -i "$out/lib/slimerjs/application.ini" - ''; - - meta = with lib; { - description = "Gecko-based programmatically-driven browser"; - mainProgram = "slimerjs"; - license = licenses.mpl20; - maintainers = with maintainers; [ raskin ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index ec91cde37c60..1336ab9b5ff4 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1214,6 +1214,7 @@ mapAliases { sky = throw "'sky' has been removed because its upstream website disappeared"; # Added 2024-07-21 SkypeExport = skypeexport; # Added 2024-06-12 slack-dark = throw "'slack-dark' has been renamed to/replaced by 'slack'"; # Converted to throw 2024-10-17 + slimerjs = throw "slimerjs does not work with any version of Firefox newer than 59; upstream ended the project in 2021. "; # added 2025-01-06 slurm-llnl = slurm; # renamed July 2017 sm64ex-coop = throw "'sm64ex-coop' was removed as it was archived upstream. Consider migrating to 'sm64coopdx'"; # added 2024-11-23 snapTools = throw "snapTools was removed because makeSnap produced broken snaps and it was the only function in snapTools. See https://github.com/NixOS/nixpkgs/issues/100618 for more details."; # 2024-03-04;