diff --git a/doc/using/configuration.xml b/doc/using/configuration.xml
index 1e1df867e08..2cd2615f54a 100644
--- a/doc/using/configuration.xml
+++ b/doc/using/configuration.xml
@@ -138,11 +138,11 @@
- For a more useful example, try the following. This configuration only allows unfree packages named flash player and visual studio code:
+ For a more useful example, try the following. This configuration only allows unfree packages named roon-server and visual studio code:
{
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
- "flashplayer"
+ "roon-server"
"vscode"
];
}
diff --git a/lib/lists.nix b/lib/lists.nix
index 56af4d9daa1..e469f3ef265 100644
--- a/lib/lists.nix
+++ b/lib/lists.nix
@@ -241,7 +241,7 @@ rec {
/* Return a singleton list or an empty list, depending on a boolean
value. Useful when building lists with optional elements
- (e.g. `++ optional (system == "i686-linux") flashplayer').
+ (e.g. `++ optional (system == "i686-linux") firefox').
Type: optional :: bool -> a -> [a]
diff --git a/nixos/doc/manual/release-notes/rl-2103.xml b/nixos/doc/manual/release-notes/rl-2103.xml
index 2105ff9f3d7..b76d0930290 100644
--- a/nixos/doc/manual/release-notes/rl-2103.xml
+++ b/nixos/doc/manual/release-notes/rl-2103.xml
@@ -479,6 +479,21 @@ self: super:
thinkfan documentation before updating.
+
+
+ Adobe Flash Player support has been dropped from the tree. In particular,
+ the following packages no longer support it:
+
+ chromium
+ firefox
+ qt48
+ qt5.qtwebkit
+
+ Additionally, packages flashplayer and
+ hal-flash were removed along with the
+ services.flashpolicyd module.
+
+
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index f4416a06fc9..97721868660 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -651,7 +651,6 @@
./services/networking/fireqos.nix
./services/networking/firewall.nix
./services/networking/flannel.nix
- ./services/networking/flashpolicyd.nix
./services/networking/freenet.nix
./services/networking/freeradius.nix
./services/networking/gale.nix
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index 1dd8b48d76b..2d07e421efe 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -71,6 +71,7 @@ with lib;
(mkRemovedOptionModule [ "services" "seeks" ] "")
(mkRemovedOptionModule [ "services" "venus" ] "The corresponding package was removed from nixpkgs.")
+ (mkRemovedOptionModule [ "services" "flashpolicyd" ] "The flashpolicyd module has been removed. Adobe Flash Player is deprecated.")
# Do NOT add any option renames here, see top of the file
];
diff --git a/nixos/modules/services/networking/flashpolicyd.nix b/nixos/modules/services/networking/flashpolicyd.nix
deleted file mode 100644
index d3ac78430ca..00000000000
--- a/nixos/modules/services/networking/flashpolicyd.nix
+++ /dev/null
@@ -1,86 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
-
- cfg = config.services.flashpolicyd;
-
- flashpolicyd = pkgs.stdenv.mkDerivation {
- name = "flashpolicyd-0.6";
-
- src = pkgs.fetchurl {
- name = "flashpolicyd_v0.6.zip";
- url = "https://download.adobe.com/pub/adobe/devnet/flashplayer/articles/socket_policy_files/flashpolicyd_v0.6.zip";
- sha256 = "16zk237233npwfq1m4ksy4g5lzy1z9fp95w7pz0cdlpmv0fv9sm3";
- };
-
- buildInputs = [ pkgs.unzip pkgs.perl ];
-
- installPhase = "mkdir $out; cp -pr * $out/; chmod +x $out/*/*.pl";
- };
-
- flashpolicydWrapper = pkgs.writeScriptBin "flashpolicyd"
- ''
- #! ${pkgs.runtimeShell}
- exec ${flashpolicyd}/Perl_xinetd/in.flashpolicyd.pl \
- --file=${pkgs.writeText "flashpolixy.xml" cfg.policy} \
- 2> /dev/null
- '';
-
-in
-
-{
-
- ###### interface
-
- options = {
-
- services.flashpolicyd = {
-
- enable = mkOption {
- type = types.bool;
- default = false;
- description =
- ''
- Whether to enable the Flash Policy server. This is
- necessary if you want Flash applications to make
- connections to your server.
- '';
- };
-
- policy = mkOption {
- type = types.lines;
- default =
- ''
-
-
-
-
-
-
- '';
- description = "The policy to be served. The default is to allow connections from any domain to any port.";
- };
-
- };
-
- };
-
-
- ###### implementation
-
- config = mkIf cfg.enable {
-
- services.xinetd.enable = true;
-
- services.xinetd.services = singleton
- { name = "flashpolicy";
- port = 843;
- unlisted = true;
- server = "${flashpolicydWrapper}/bin/flashpolicyd";
- };
-
- };
-
-}
diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix
index 31cfe0247ee..96a4e15adf8 100644
--- a/pkgs/applications/networking/browsers/firefox/wrapper.nix
+++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix
@@ -2,7 +2,6 @@
, replace, fetchurl, zip, unzip, jq, xdg-utils, writeText
## various stuff that can be plugged in
-, flashplayer, hal-flash
, ffmpeg, xorg, alsaLib, libpulseaudio, libcanberra-gtk2, libglvnd, libnotify
, gnome3/*.gnome-shell*/
, browserpass, chrome-gnome-shell, uget-integrator, plasma5Packages, bukubrow, pipewire
@@ -47,28 +46,31 @@ let
assert forceWayland -> (browser ? gtk3); # Can only use the wayland backend if gtk3 is being used
let
- enableAdobeFlash = cfg.enableAdobeFlash or false;
ffmpegSupport = browser.ffmpegSupport or false;
gssSupport = browser.gssSupport or false;
alsaSupport = browser.alsaSupport or false;
pipewireSupport = browser.pipewireSupport or false;
+ # FIXME: This should probably be an assertion now?
plugins =
let
removed = lib.filter (a: builtins.hasAttr a cfg) [
- "enableVLC"
- "enableDjvu"
- "enableMPlayer"
- "jre"
- "icedtea"
- "enableGoogleTalkPlugin"
- "enableFriBIDPlugin"
- "enableBluejeans"
+ "enableAdobeFlash"
"enableAdobeReader"
+ "enableBluejeans"
+ "enableDjvu"
+ "enableFriBIDPlugin"
+ "enableGoogleTalkPlugin"
+ "enableMPlayer"
+ "enableVLC"
+ "icedtea"
+ "jre"
];
- in if removed != []
- then throw "Your configuration mentions ${lib.concatMapStringsSep ", " (p: browserName + "." + p) removed}. All plugin related options, except for the adobe flash player, have been removed, since Firefox from version 52 onwards no longer supports npapi plugins (see https://support.mozilla.org/en-US/kb/npapi-plugins)."
- else lib.optional enableAdobeFlash flashplayer;
+ in if removed != [] then
+ throw "Your configuration mentions ${lib.concatMapStringsSep ", " (p: browserName + "." + p) removed}. All plugin related options have been removed, since Firefox from version 52 onwards no longer supports npapi plugins (see https://support.mozilla.org/en-US/kb/npapi-plugins)."
+ else
+ []
+ ;
nativeMessagingHosts =
([ ]
@@ -88,7 +90,6 @@ let
++ lib.optional useGlvnd libglvnd
++ lib.optionals (cfg.enableQuakeLive or false)
(with xorg; [ stdenv.cc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib ])
- ++ lib.optional (enableAdobeFlash && (cfg.enableAdobeFlashDRM or false)) hal-flash
++ lib.optional (config.pulseaudio or true) libpulseaudio
++ lib.optional alsaSupport alsaLib
++ pkcs11Modules;
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
deleted file mode 100644
index 1a4f9b4ec7b..00000000000
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
+++ /dev/null
@@ -1,147 +0,0 @@
-{ stdenv
-, lib
-, fetchurl
-, alsaLib
-, atk
-, bzip2
-, cairo
-, curl
-, expat
-, fontconfig
-, freetype
-, gdk-pixbuf
-, glib
-, glibc
-, graphite2
-, gtk2
-, harfbuzz
-, libICE
-, libSM
-, libX11
-, libXau
-, libXcomposite
-, libXcursor
-, libXdamage
-, libXdmcp
-, libXext
-, libXfixes
-, libXi
-, libXinerama
-, libXrandr
-, libXrender
-, libXt
-, libXxf86vm
-, libdrm
-, libffi
-, libglvnd
-, libpng
-, libvdpau
-, libxcb
-, libxshmfence
-, nspr
-, nss
-, pango
-, pcre
-, pixman
-, zlib
-, unzip
-, debug ? false
-
-/* you have to add ~/mm.cfg :
-
- TraceOutputFileEnable=1
- ErrorReportingEnable=1
- MaxWarnings=1
-
- in order to read the flash trace at ~/.macromedia/Flash_Player/Logs/flashlog.txt
- Then FlashBug (a FireFox plugin) shows the log as well
-*/
-
-}:
-
-let
- arch =
- if stdenv.hostPlatform.system == "x86_64-linux" then
- "x86_64"
- else if stdenv.hostPlatform.system == "i686-linux" then
- "i386"
- else throw "Flash Player is not supported on this platform";
- lib_suffix =
- if stdenv.hostPlatform.system == "x86_64-linux" then
- "64"
- else
- "";
-in
-stdenv.mkDerivation rec {
- pname = "flashplayer";
- version = "32.0.0.465";
-
- src = fetchurl {
- url =
- if debug then
- "https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_npapi_linux_debug.${arch}.tar.gz"
- else
- "https://fpdownload.adobe.com/get/flashplayer/pdc/${version}/flash_player_npapi_linux.${arch}.tar.gz";
- sha256 =
- if debug then
- if arch == "x86_64" then
- "04p70zc4y7k1klsxa70ngl7g5q6pf2n4018r7d5n6wg2961mjk3y"
- else
- "1avslj2ssp9fcvygcc8f578gpj3bbbpvap4ssr7ag6xn6mh15adw"
- else
- if arch == "x86_64" then
- "0dbccg7ijlr9wdjkh6chbw0q1qchycbi1a313hrrc613k3djw3x9"
- else
- "1mhbkb2d6ky1xlgx55yip1l9kh5nq35jjbbm6hf6ckai146j3dr7";
- };
-
- nativeBuildInputs = [ unzip ];
-
- sourceRoot = ".";
-
- dontStrip = true;
- dontPatchELF = true;
-
- preferLocalBuild = true;
-
- installPhase = ''
- mkdir -p $out/lib/mozilla/plugins
- cp -pv libflashplayer.so $out/lib/mozilla/plugins
-
- mkdir -p $out/bin
- cp -pv usr/bin/flash-player-properties $out/bin
-
- mkdir -p $out/lib${lib_suffix}/kde4
- cp -pv usr/lib${lib_suffix}/kde4/kcm_adobe_flash_player.so $out/lib${lib_suffix}/kde4
-
- patchelf --set-rpath "$rpath" \
- $out/lib/mozilla/plugins/libflashplayer.so \
- $out/lib${lib_suffix}/kde4/kcm_adobe_flash_player.so
-
- patchelf \
- --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
- --set-rpath "$rpath" \
- $out/bin/flash-player-properties
- '';
-
- passthru = {
- mozillaPlugin = "/lib/mozilla/plugins";
- };
-
- rpath = lib.makeLibraryPath
- [ stdenv.cc.cc
- alsaLib atk bzip2 cairo curl expat fontconfig freetype gdk-pixbuf glib
- glibc graphite2 gtk2 harfbuzz libICE libSM libX11 libXau libXcomposite
- libXcursor libXdamage libXdmcp libXext libXfixes libXi libXinerama
- libXrandr libXrender libXt libXxf86vm libdrm libffi libglvnd libpng
- libvdpau libxcb libxshmfence nspr nss pango pcre pixman zlib
- ];
-
- meta = {
- description = "Adobe Flash Player browser plugin";
- homepage = "http://www.adobe.com/products/flashplayer/";
- license = lib.licenses.unfree;
- maintainers = with lib.maintainers; [ taku0 ];
- platforms = [ "x86_64-linux" "i686-linux" ];
- };
-}
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
deleted file mode 100644
index ed95d02ade4..00000000000
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
+++ /dev/null
@@ -1,106 +0,0 @@
-{ stdenv
-, lib
-, fetchurl
-, alsaLib
-, atk
-, bzip2
-, cairo
-, curl
-, expat
-, fontconfig
-, freetype
-, gdk-pixbuf
-, glib
-, glibc
-, graphite2
-, gtk2
-, harfbuzz
-, libICE
-, libSM
-, libX11
-, libXau
-, libXcomposite
-, libXcursor
-, libXdamage
-, libXdmcp
-, libXext
-, libXfixes
-, libXi
-, libXinerama
-, libXrandr
-, libXrender
-, libXt
-, libXxf86vm
-, libdrm
-, libffi
-, libglvnd
-, libpng
-, libvdpau
-, libxcb
-, libxshmfence
-, nspr
-, nss
-, pango
-, pcre
-, pixman
-, zlib
-, unzip
-, debug ? false
-}:
-
-stdenv.mkDerivation {
- pname = "flashplayer-standalone";
- version = "32.0.0.465";
-
- src = fetchurl {
- url =
- if debug then
- "https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux_debug.x86_64.tar.gz"
- else
- "https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz";
- sha256 =
- if debug then
- "1ija3z5bxg0ppx9r237cxs1cdrhk6pia2kcxbrm6y30kvzrd3nqs"
- else
- "1hwnvwph7p3nfv2xf7kjw3zdpb546dsia0cmhzg81z016fi7lgw8";
- };
-
- nativeBuildInputs = [ unzip ];
-
- sourceRoot = ".";
-
- dontStrip = true;
- dontPatchELF = true;
-
- preferLocalBuild = true;
-
- installPhase = ''
- mkdir -p $out/bin
- cp -pv flashplayer${lib.optionalString debug "debugger"} $out/bin
-
- patchelf \
- --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
- --set-rpath "$rpath" \
- $out/bin/flashplayer${lib.optionalString debug "debugger"}
- '';
-
- rpath = lib.makeLibraryPath
- [ stdenv.cc.cc
- alsaLib atk bzip2 cairo curl expat fontconfig freetype gdk-pixbuf glib
- glibc graphite2 gtk2 harfbuzz libICE libSM libX11 libXau libXcomposite
- libXcursor libXdamage libXdmcp libXext libXfixes libXi libXinerama
- libXrandr libXrender libXt libXxf86vm libdrm libffi libglvnd libpng
- libvdpau libxcb libxshmfence nspr nss pango pcre pixman zlib
- ];
-
- meta = {
- description = "Adobe Flash Player standalone executable";
- homepage = "https://www.adobe.com/support/flashplayer/debug_downloads.html";
- license = lib.licenses.unfree;
- maintainers = with lib.maintainers; [ taku0 ];
- platforms = [ "x86_64-linux" ];
- # Application crashed with an unhandled SIGSEGV
- # Not on all systems, though. Video driver problem?
- broken = false;
- };
-}
diff --git a/pkgs/development/libraries/qt-4.x/4.8/default.nix b/pkgs/development/libraries/qt-4.x/4.8/default.nix
index 7dddd2bc67d..a4ac41d81df 100644
--- a/pkgs/development/libraries/qt-4.x/4.8/default.nix
+++ b/pkgs/development/libraries/qt-4.x/4.8/default.nix
@@ -5,8 +5,7 @@
, libtiff, glib, icu, libmysqlclient, postgresql, sqlite, perl, coreutils, libXi
, alsaLib
, libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
-, flashplayerFix ? false, gdk-pixbuf
-, gtkStyle ? stdenv.hostPlatform == stdenv.buildPlatform, gtk2
+, gtkStyle ? stdenv.hostPlatform == stdenv.buildPlatform, gtk2, gdk-pixbuf
, gnomeStyle ? false, libgnomeui, GConf, gnome_vfs
, developerBuild ? false
, docs ? false
@@ -108,10 +107,6 @@ stdenv.mkDerivation rec {
libgnomeui = libgnomeui.out;
gnome_vfs = gnome_vfs.out;
}))
- ++ lib.optional flashplayerFix (substituteAll {
- src = ./dlopen-webkit-nsplugin.diff;
- gtk = gtk2.out;
- })
++ lib.optional stdenv.isAarch64 (fetchpatch {
url = "https://src.fedoraproject.org/rpms/qt/raw/ecf530486e0fb7fe31bad26805cde61115562b2b/f/qt-aarch64.patch";
sha256 = "1fbjh78nmafqmj7yk67qwjbhl3f6ylkp6x33b1dqxfw9gld8b3gl";
diff --git a/pkgs/development/libraries/qt-4.x/4.8/dlopen-webkit-nsplugin.diff b/pkgs/development/libraries/qt-4.x/4.8/dlopen-webkit-nsplugin.diff
deleted file mode 100644
index d2ebbf3b45a..00000000000
--- a/pkgs/development/libraries/qt-4.x/4.8/dlopen-webkit-nsplugin.diff
+++ /dev/null
@@ -1,52 +0,0 @@
-diff --git a/src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginPackageQt.cpp b/src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginPackageQt.cpp
-index 19941d6..0ec15e2 100644
---- a/src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginPackageQt.cpp
-+++ b/src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginPackageQt.cpp
-@@ -121,7 +121,7 @@ static void initializeGtk(QLibrary* module = 0)
- }
- }
-
-- QLibrary library(QLatin1String("libgtk-x11-2.0.so.0"));
-+ QLibrary library(QLatin1String("@gtk@/lib/libgtk-x11-2.0"), 0);
- if (library.load()) {
- typedef void *(*gtk_init_check_ptr)(int*, char***);
- gtk_init_check_ptr gtkInitCheck = (gtk_init_check_ptr)library.resolve("gtk_init_check");
-diff --git a/src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginViewQt.cpp b/src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginViewQt.cpp
-index 2fe69d1..b658e4a 100644
---- a/src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginViewQt.cpp
-+++ b/src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginViewQt.cpp
-@@ -857,7 +857,7 @@ static Display *getPluginDisplay()
- // support gdk based plugins (like flash) that use a different X connection.
- // The code below has the same effect as this one:
- // Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
-- QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
-+ QLibrary library(QLatin1String("@gtk@/lib/libgdk-x11-2.0"), 0);
- if (!library.load())
- return 0;
-
-diff --git a/src/3rdparty/webkit/Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp b/src/3rdparty/webkit/Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp
-index 2c9b465..56b3074 100644
---- a/src/3rdparty/webkit/Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp
-+++ b/src/3rdparty/webkit/Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp
-@@ -42,7 +42,7 @@ namespace WebKit {
- #if PLATFORM(QT)
- static void initializeGTK()
- {
-- QLibrary library(QLatin1String("libgtk-x11-2.0.so.0"));
-+ QLibrary library(QLatin1String("@gtk@/lib/libgtk-x11-2.0"), 0);
- if (library.load()) {
- typedef void *(*gtk_init_check_ptr)(int*, char***);
- gtk_init_check_ptr gtkInitCheck = reinterpret_cast(library.resolve("gtk_init_check"));
-diff --git a/src/3rdparty/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp b/src/3rdparty/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
-index b8c8f2a..e7f4dc5 100644
---- a/src/3rdparty/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
-+++ b/src/3rdparty/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
-@@ -54,7 +54,7 @@ static Display *getPluginDisplay()
- // The code below has the same effect as this one:
- // Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
-
-- QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
-+ QLibrary library(QLatin1String("@gtk@/lib/libgdk-x11-2.0"), 0);
- if (!library.load())
- return 0;
-
diff --git a/pkgs/development/libraries/qt-5/modules/qtwebkit.nix b/pkgs/development/libraries/qt-5/modules/qtwebkit.nix
index ed41a4ac9bc..288a0e30f69 100644
--- a/pkgs/development/libraries/qt-5/modules/qtwebkit.nix
+++ b/pkgs/development/libraries/qt-5/modules/qtwebkit.nix
@@ -1,10 +1,9 @@
{ qtModule, stdenv, lib, fetchurl
, qtbase, qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtwebchannel
-, fontconfig, gtk2, libwebp, libxml2, libxslt
+, fontconfig, libwebp, libxml2, libxslt
, sqlite, systemd, glib, gst_all_1, cmake
, bison, flex, gdb, gperf, perl, pkg-config, python2, ruby
, darwin
-, flashplayerFix ? false
}:
let
@@ -58,12 +57,6 @@ qtModule {
++ optional stdenv.cc.isGNU "-Wno-class-memaccess"
# with clang this warning blows the log over Hydra's limit
++ optional stdenv.isDarwin "-Wno-inconsistent-missing-override"
- ++ optionals flashplayerFix
- [
- ''-DNIXPKGS_LIBGTK2="${getLib gtk2}/lib/libgtk-x11-2.0"''
- # this file used to exist in gdk_pixbuf?
- ''-DNIXPKGS_LIBGDK2="${getLib gtk2}/lib/libgdk-x11-2.0"''
- ]
++ optional (!stdenv.isDarwin) ''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
doCheck = false; # fails 13 out of 13 tests (ctest)
diff --git a/pkgs/os-specific/linux/hal-flash/default.nix b/pkgs/os-specific/linux/hal-flash/default.nix
deleted file mode 100644
index 70dab152c72..00000000000
--- a/pkgs/os-specific/linux/hal-flash/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ lib, stdenv, fetchurl, autoconf, automake, dbus, glib, libtool, pkg-config, udisks2 }:
-
-stdenv.mkDerivation {
- name = "hal-flash-0.3.3";
-
- src = fetchurl {
- url = "https://github.com/cshorler/hal-flash/archive/v0.3.3.tar.gz";
- sha256 = "0dw9bx190mrh0dycw4rfvfmwwvh2sgypffr99nfnr36b38jrd6y6";
- };
-
- nativeBuildInputs = [ pkg-config ];
- buildInputs = [ autoconf automake dbus glib libtool udisks2 ];
-
- preConfigure = "libtoolize && aclocal && autoconf && automake --add-missing";
-
- meta = with lib; {
- homepage = "https://github.com/cshorler/hal-flash";
- description = "libhal stub library to satisfy the Flash Player DRM requirements";
- longDescription =
- ''
- Stub library based loosely upon libhal.[ch] from the hal-0.5.14
- package. Provides the minimum necessary functionality to enable
- libflashplayer.so/libadobecp.so to play back DRM content.
- '';
- license = with licenses; [ afl21 gpl2 ];
- maintainers = with maintainers; [ malyn ];
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix
index 160ca5d4e06..e170aae7370 100644
--- a/pkgs/stdenv/generic/check-meta.nix
+++ b/pkgs/stdenv/generic/check-meta.nix
@@ -66,7 +66,7 @@ let
# {pkgs, ...}:
# {
# allowUnfree = false;
- # allowUnfreePredicate = (x: pkgs.lib.hasPrefix "flashplayer-" x.name);
+ # allowUnfreePredicate = (x: pkgs.lib.hasPrefix "vscode" x.name);
# }
allowUnfreePredicate = config.allowUnfreePredicate or (x: false);
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 27c2b48e66b..6452b0e49a1 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -178,6 +178,9 @@ mapAliases ({
firestr = throw "firestr has been removed."; # added 2019-12-08
fish-foreign-env = throw "fish-foreign-env has been replaced with fishPlugins.foreign-env"; # added 2020-12-29, modified 2021-01-10
flameGraph = flamegraph; # added 2018-04-25
+ flashplayer = throw "flashplayer has been removed as Adobe Flash Player is now deprecated."; # added 2021-02-07
+ flashplayer-standalone = throw "flashplayer-standalone has been removed as Adobe Flash Player is now deprecated."; # added 2021-02-07
+ flashplayer-standalone-debugger = throw "flashplayer-standalone-debugger has been removed as Adobe Flash Player is now deprecated."; # added 2021-02-07
flink_1_5 = throw "flink_1_5 was removed, use flink instead"; # added 2021-01-25
flutter-beta = throw "Non-stable versions of Flutter have been removed. You can use flutterPackages.mkFlutter to generate a package for other Flutter versions."; # added 2020-01-15
flutter-dev = throw "Non-stable versions of Flutter have been removed. You can use flutterPackages.mkFlutter to generate a package for other Flutter versions."; # added 2020-01-15
@@ -261,6 +264,7 @@ mapAliases ({
gupnp_igd = gupnp-igd; # added 2018-02-25
gupnptools = gupnp-tools; # added 2015-12-19
gutenberg = zola; # added 2018-11-17
+ hal-flash = throw "hal-flash has been removed as Adobe Flash Player is now deprecated."; # added 2021-02-07
heimdalFull = heimdal; # added 2018-05-01
hepmc = hepmc2; # added 2019-08-05
hexen = throw "hexen (SDL port) has been removed: abandoned by upstream."; # added 2019-12-11
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index a800e795289..fc17ba17f54 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -5017,8 +5017,6 @@ in
haste-client = callPackage ../tools/misc/haste-client { };
- hal-flash = callPackage ../os-specific/linux/hal-flash { };
-
hal-hardware-analyzer = libsForQt5.callPackage ../applications/science/electronics/hal-hardware-analyzer { };
half = callPackage ../development/libraries/half { };
@@ -22249,14 +22247,6 @@ in
flameshot = libsForQt5.callPackage ../tools/misc/flameshot { };
- flashplayer = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer (config.flashplayer or {});
-
- flashplayer-standalone = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix (config.flashplayer or {});
-
- flashplayer-standalone-debugger = flashplayer-standalone.override {
- debug = true;
- };
-
fluxbox = callPackage ../applications/window-managers/fluxbox { };
fme = callPackage ../applications/misc/fme {