From 6a5ee95e7899b7e7bcf76014998c388d75130461 Mon Sep 17 00:00:00 2001 From: Olivia Crain Date: Fri, 12 Jan 2024 14:17:11 -0600 Subject: [PATCH] garmin-plugin: remove https://github.com/adiesner/GarminPlugin/issues/14 https://en.wikipedia.org/w/index.php?title=NPAPI&oldid=1187725523#Support This package was abandoned upstream after Garmin removed support for the plugin. This package is an NPAPI browser plugin. NPAPI plugins have not been supported by any major browsers since 2018. In nixpkgs, this package has been unmaintained since 2020 and has not been touched by non-treewide changes since 2015. No packages depend on garmin-plugin. --- .../misc/garmin-plugin/default.nix | 39 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 pkgs/applications/misc/garmin-plugin/default.nix diff --git a/pkgs/applications/misc/garmin-plugin/default.nix b/pkgs/applications/misc/garmin-plugin/default.nix deleted file mode 100644 index c401b2722565..000000000000 --- a/pkgs/applications/misc/garmin-plugin/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, garmintools, libgcrypt, libusb-compat-0_1, pkg-config, tinyxml, zlib }: - -stdenv.mkDerivation rec { - pname = "garmin-plugin"; - version = "0.3.26"; - - src = fetchFromGitHub { - owner = "adiesner"; - repo = "GarminPlugin"; - rev = "V${version}"; - sha256 = "sha256-l0WAbEsQl1dCADf5gTepYjsA1rQCJMLcrTxRR4PfUus="; - }; - - preConfigure = '' - cd src - ''; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ garmintools libusb-compat-0_1 libgcrypt tinyxml zlib ]; - - configureFlags = [ - "--with-libgcrypt-prefix=${libgcrypt.dev}" - "--with-garmintools-incdir=${garmintools}/include" - "--with-garmintools-libdir=${garmintools}/lib" - ]; - - installPhase = '' - mkdir -p $out/lib/mozilla/plugins - cp npGarminPlugin.so $out/lib/mozilla/plugins - ''; - - meta = with lib; { - homepage = "https://adiesner.github.io/GarminPlugin/"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c9f89871be5d..ce168d038e60 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -302,6 +302,7 @@ mapAliases ({ g4py = python3Packages.geant4; # Added 2020-06-06 garage_0_7 = throw "garage 0.7.x has been removed as it is EOL. Please upgrade to 0.8 series."; # Added 2023-10-10 garage_0_7_3 = throw "garage 0.7.x has been removed as it is EOL. Please upgrade to 0.8 series."; # Added 2023-10-10 + garmin-plugin = throw "garmin-plugin has been removed, as it is unmaintained upstream and no longer works with modern browsers."; # Added 2024-01-12 garmindev = throw "'garmindev' has been removed as the dependent software 'qlandkartegt' has been removed"; # Added 2023-04-17 gcl_2_6_13_pre = throw "'gcl_2_6_13_pre' has been removed in favor of 'gcl'"; # Added 2024-01-11 geekbench4 = throw "'geekbench4' has been renamed to 'geekbench_4'"; # Added 2023-03-10 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ad4db1497a82..8cee7d4f4d1f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8481,8 +8481,6 @@ with pkgs; garage_0_8 garage_0_9 garage_0_8_4 garage_0_9_0; - garmin-plugin = callPackage ../applications/misc/garmin-plugin { }; - garmintools = callPackage ../development/libraries/garmintools { }; gau = callPackage ../tools/security/gau { };