From 826bef9b514bd5ceb5af55ccd79592778de03277 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Fri, 3 Jun 2022 02:29:53 +0000 Subject: [PATCH] prometheus-unifi-exporter: remove prometheus-unifi-exporter is deprecated and archived by upstream. --- .../prometheus/unifi-exporter/default.nix | 24 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 1 - 3 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 pkgs/servers/monitoring/prometheus/unifi-exporter/default.nix diff --git a/pkgs/servers/monitoring/prometheus/unifi-exporter/default.nix b/pkgs/servers/monitoring/prometheus/unifi-exporter/default.nix deleted file mode 100644 index b9971ab72280..000000000000 --- a/pkgs/servers/monitoring/prometheus/unifi-exporter/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, buildGoPackage, fetchFromGitHub }: - -buildGoPackage rec { - pname = "unifi-exporter"; - version = "0.4.0+git1"; - rev = "9a4e69fdea91dd0033bda4842998d751b40a6130"; - - goPackagePath = "github.com/mdlayher/unifi_exporter"; - - src= fetchFromGitHub { - inherit rev; - owner = "mdlayher"; - repo = "unifi_exporter"; - sha256 = "08zqvwvdqnc301f8jfh7bdvc138szw6xszx884b2v8w2x38w3rmn"; - }; - - meta = with lib; { - description = "Prometheus exporter that exposes metrics from a Ubiquiti UniFi Controller and UniFi devices"; - homepage = "https://github.com/mdlayher/unifi_exporter"; - license = licenses.mit; - maintainers = with maintainers; [ bachp globin ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 7bfc9bfdc649..82cce1d0482d 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1112,6 +1112,7 @@ mapAliases ({ prometheus-cups-exporter = throw "outdated and broken by design; removed by developer"; # Added 2021-03-16 prometheus-dmarc-exporter = dmarc-metrics-exporter; # added 2022-05-31 prometheus-mesos-exporter = throw "prometheus-mesos-exporter is deprecated and archived by upstream"; # Added 2022-04-05 + prometheus-unifi-exporter = throw "prometheus-unifi-exporter is deprecated and archived by upstream, use unifi-poller instead"; # Added 2022-06-03 proxytunnel = throw "proxytunnel has been removed from nixpkgs, because it has not been update upstream since it was added to nixpkgs in 2008 and has therefore bitrotted."; # added 2021-12-15 pulseaudio-hsphfpd = throw "pulseaudio-hsphfpd upstream has been abandoned"; # Added 2022-03-23 pulseaudio-modules-bt = throw "pulseaudio-modules-bt has been abandoned, and is superseded by pulseaudio's native bt functionality"; # Added 2022-04-01 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 24744e9eefd4..76ba1ea8fe7b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22473,7 +22473,6 @@ with pkgs; prometheus-unbound-exporter = callPackage ../servers/monitoring/prometheus/unbound-exporter.nix { inherit (darwin.apple_sdk.frameworks) Security; }; - prometheus-unifi-exporter = callPackage ../servers/monitoring/prometheus/unifi-exporter { }; prometheus-varnish-exporter = callPackage ../servers/monitoring/prometheus/varnish-exporter.nix { }; prometheus-wireguard-exporter = callPackage ../servers/monitoring/prometheus/wireguard-exporter.nix { inherit (darwin.apple_sdk.frameworks) Security;