nixpkgs-suyu/pkgs/servers/monitoring/prometheus/sql-exporter.nix

24 lines
594 B
Nix
Raw Normal View History

{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
2020-08-03 16:48:19 +02:00
buildGoModule rec {
pname = "sql_exporter";
version = "0.3.0";
vendorSha256 = null;
src = fetchFromGitHub {
owner = "justwatchcom";
repo = "sql_exporter";
rev = "v${version}";
sha256 = "125brlxgwhkn3z5v0522gpm0sk6v905ghh05c4c3wf1hlm7bhnrc";
};
meta = with lib; {
2020-08-03 16:48:19 +02:00
description = "Flexible SQL exporter for Prometheus";
homepage = "https://github.com/justwatchcom/sql_exporter";
license = licenses.mit;
maintainers = with maintainers; [ justinas ];
platforms = platforms.unix;
};
}