1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "prometheus-nats-exporter";
7 src = fetchFromGitHub {
11 sha256 = "sha256-siucc55qi1SS2R07xgxh25CWYjxncUqvzxo0XoIPyOo=";
14 vendorHash = "sha256-vRUPLKxwVTt3t8UpsSH4yMCIShpYhYI6j7AEmlyOADs=";
17 # Fix `insecure algorithm SHA1-RSA` problem
18 export GODEBUG=x509sha1=1;
22 description = "Exporter for NATS metrics";
23 homepage = "https://github.com/nats-io/prometheus-nats-exporter";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ bbigras ];