nixpkgs/pkgs/servers/monitoring/prometheus
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
..
minio-exporter treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
unifi-exporter treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
alertmanager.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
apcupsd-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
aws-s3-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bind-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bird-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
blackbox-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
collectd-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
consul-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cups-exporter.nix prometheus-exporters: expose tests in exporter definitions 2020-06-18 12:48:55 +02:00
default.nix prometheus: gross hack to fix linker flags for versioning info 2020-12-23 16:38:29 +01:00
dnsmasq-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dovecot-exporter-deps.nix
dovecot-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fritzbox-exporter-deps.nix
fritzbox-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gitlab-ci-pipelines-exporter_deps.nix prometheus-gitlab-ci-pipelines-exporter: init at 0.2.5 2019-08-27 16:39:25 +02:00
gitlab-ci-pipelines-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
haproxy-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jmx-httpserver.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
json-exporter.nix prometheus-json-exporter: unstable-2017-10-06 -> 0.2.0 2021-01-02 13:10:27 +01:00
keylight-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lnd-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mail-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mesos-exporter_deps.nix
mesos-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mikrotik-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
modemmanager-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mysqld-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nextcloud-exporter-deps.nix prometheus-nextcloud-exporter: init at 2019-10-12 2019-10-12 23:06:24 +02:00
nextcloud-exporter.nix treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
nginx-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nginxlog-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
node-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
openvpn-exporter-deps.nix
openvpn-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
postfix-exporter-deps.nix
postfix-exporter.nix postfix-exporter: use lib.getLib systemd instead of systemd.lib 2020-08-13 20:51:41 +02:00
postgres-exporter.nix prometheus-exporters: expose tests in exporter definitions 2020-06-18 12:48:55 +02:00
process-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
prom2json_deps.nix
prom2json.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
promscale.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pushgateway.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
rabbitmq-exporter_deps.nix
rabbitmq-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
redis-exporter-deps.nix prometheus-redis-exporter: init at 1.7.0 2020-06-18 11:13:25 +02:00
redis-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
rtl_433-exporter.nix prometheus-rtl_433-exporter: init at 641a1f5 2020-10-23 20:33:35 +02:00
smokeping-prober.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
snmp-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sql-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
statsd-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
surfboard-exporter.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
tor-exporter.nix prometheus-exporters: expose tests in exporter definitions 2020-06-18 12:48:55 +02:00
update-webui-deps.sh prometheus: bundle the webui assets and build the new React UI 2019-12-04 15:44:22 +01:00
varnish-exporter.nix buildGoModule packages: remove doCheck = true 2020-08-10 16:02:36 +10:00
webui-package.json prometheus: 2.20.1 -> 2.22.1 2020-11-05 10:09:44 -08:00
webui-yarndeps.nix prometheus: 2.22.2 -> 2.23.0 2020-12-23 14:40:05 +01:00
wireguard-exporter.nix prometheus-wireguard-exporter: 3.3.0 -> 3.4.2 2021-01-10 14:16:09 +01:00
xmpp-alerts.nix prometheus-xmpp-alerts: init at 0.4.2 2020-02-01 15:04:01 +01:00