mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
24 lines
576 B
Nix
24 lines
576 B
Nix
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "sql_exporter";
|
|
version = "0.4.2";
|
|
|
|
vendorSha256 = null;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "justwatchcom";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Ujon6TLniQrYRxJe4+ZTu4/dI2K94r9M/lBmMizDZrA=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Flexible SQL exporter for Prometheus";
|
|
homepage = "https://github.com/justwatchcom/sql_exporter";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ justinas ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|