prometheus-tor-exporter: remove
This package was broken by an update to its stem dependency and is no longer maintained.
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
{ lib, fetchFromGitHub, python3Packages, nixosTests }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "tor-exporter";
|
||||
version = "0.4";
|
||||
|
||||
# Just a single .py file to use as the application's main entry point.
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "atx";
|
||||
repo = "prometheus-tor_exporter";
|
||||
sha256 = "1gzf42z0cgdqijbi9cwpjkqzkvnabaxkkfa5ac5h27r3pxx3q4n0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ prometheus-client stem retrying ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/
|
||||
cp prometheus-tor-exporter.py $out/share/
|
||||
'';
|
||||
|
||||
fixupPhase = ''
|
||||
makeWrapper "${python3Packages.python.interpreter}" "$out/bin/prometheus-tor-exporter" \
|
||||
--set PYTHONPATH "$PYTHONPATH" \
|
||||
--add-flags "$out/share/prometheus-tor-exporter.py"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus exporter that exposes metrics from a Tor daemon";
|
||||
mainProgram = "prometheus-tor-exporter";
|
||||
homepage = "https://github.com/atx/prometheus-tor_exporter";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Scrumplex ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -962,6 +962,7 @@ mapAliases {
|
||||
prometheus-dovecot-exporter = dovecot_exporter; # Added 2024-06-10
|
||||
prometheus-openldap-exporter = throw "'prometheus-openldap-exporter' has been removed from nixpkgs, as it was unmaintained"; # Added 2024-09-01
|
||||
prometheus-minio-exporter = throw "'prometheus-minio-exporter' has been removed from nixpkgs, use Minio's built-in Prometheus integration instead"; # Added 2024-06-10
|
||||
prometheus-tor-exporter = throw "'prometheus-tor-exporter' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-10-30
|
||||
protobuf3_24 = protobuf_24;
|
||||
protobuf3_23 = protobuf_23;
|
||||
protobuf3_21 = protobuf_21;
|
||||
|
||||
@@ -24877,7 +24877,6 @@ with pkgs;
|
||||
prometheus-surfboard-exporter = callPackage ../servers/monitoring/prometheus/surfboard-exporter.nix { };
|
||||
prometheus-sql-exporter = callPackage ../servers/monitoring/prometheus/sql-exporter.nix { };
|
||||
prometheus-systemd-exporter = callPackage ../servers/monitoring/prometheus/systemd-exporter.nix { };
|
||||
prometheus-tor-exporter = callPackage ../servers/monitoring/prometheus/tor-exporter.nix { };
|
||||
prometheus-unbound-exporter = callPackage ../servers/monitoring/prometheus/unbound-exporter.nix { };
|
||||
prometheus-v2ray-exporter = callPackage ../servers/monitoring/prometheus/v2ray-exporter.nix { };
|
||||
prometheus-varnish-exporter = callPackage ../servers/monitoring/prometheus/varnish-exporter.nix { };
|
||||
|
||||
Reference in New Issue
Block a user