diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-12-04 23:06:41 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-12-04 23:12:13 +0100 |
commit | 58aa380671b7a874679399ca06d5c98859232082 (patch) | |
tree | 7120dfea43288b257b4f61916000f8c5b449c5d9 /pkgs/servers/monitoring/prometheus/wireguard-exporter.nix | |
parent | a46fa21e430f4714fab840b5c2ea52aca4d37865 (diff) | |
download | nixpkgs-58aa380671b7a874679399ca06d5c98859232082.tar nixpkgs-58aa380671b7a874679399ca06d5c98859232082.tar.gz nixpkgs-58aa380671b7a874679399ca06d5c98859232082.tar.bz2 nixpkgs-58aa380671b7a874679399ca06d5c98859232082.tar.lz nixpkgs-58aa380671b7a874679399ca06d5c98859232082.tar.xz nixpkgs-58aa380671b7a874679399ca06d5c98859232082.tar.zst nixpkgs-58aa380671b7a874679399ca06d5c98859232082.zip |
prometheus-wireguard-exporter: 3.2.1 -> 3.2.2
Diffstat (limited to 'pkgs/servers/monitoring/prometheus/wireguard-exporter.nix')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/wireguard-exporter.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/servers/monitoring/prometheus/wireguard-exporter.nix b/pkgs/servers/monitoring/prometheus/wireguard-exporter.nix index 0fc87556542..7b92fc98e28 100644 --- a/pkgs/servers/monitoring/prometheus/wireguard-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/wireguard-exporter.nix @@ -2,19 +2,25 @@ rustPlatform.buildRustPackage rec { pname = "wireguard-exporter"; - version = "3.2.1"; + version = "3.2.2"; src = fetchFromGitHub { owner = "MindFlavor"; repo = "prometheus_wireguard_exporter"; rev = version; - sha256 = "1hyqvk3sxirm91lasf1z1wkzaql1g52my9a9q42z1h0hq66bc6nk"; + sha256 = "18khym7ygj29w98zf6i1l5c2pz84zla2z34l5jnh595xvwfl94pc"; }; - cargoSha256 = "0wdyvl58h66xjcnl2kf3f7gnn4nc4vzpl870jc5x0qrkz28jppxz"; + cargoSha256 = "1bi9nr1dhyv322pq6fjrhs12h3wdak53mvwkbyim1hmrp62vky4m"; buildInputs = lib.optional stdenv.isDarwin Security; + # Commonly used hack in nixpkgs to allow unstable features on a stable rustc. This is needed + # since `prometheus_exporter_base` uses `#!feature[]` to enable async which + # is actually not needed as `async` is part of rustc 1.39.0-stable. This can be removed + # as soon as https://github.com/MindFlavor/prometheus_exporter_base/pull/15 is merged. + RUSTC_BOOTSTRAP = 1; + meta = with lib; { description = "A Prometheus exporter for WireGuard, written in Rust."; license = licenses.mit; |