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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
576 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
2020-08-03 16:48:19 +02:00
buildGoModule rec {
pname = "sql_exporter";
version = "0.4.2";
2020-08-03 16:48:19 +02:00
vendorSha256 = null;
src = fetchFromGitHub {
owner = "justwatchcom";
2021-01-20 20:45:54 +01:00
repo = pname;
2020-08-03 16:48:19 +02:00
rev = "v${version}";
sha256 = "sha256-Ujon6TLniQrYRxJe4+ZTu4/dI2K94r9M/lBmMizDZrA=";
2020-08-03 16:48:19 +02:00
};
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;
};
}