blob: 4a08ff67ee039d999d7c3bceab5ece1bac5eae4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{
lib,
buildGoModule,
}:
let
sources = import <top/npins>;
in
buildGoModule {
pname = "sql_exporter";
version = sources.prometheus-sql-exporter.version;
src = sources.prometheus-sql-exporter;
vendorHash = "sha256-KFWDqbdbXvgEtz1nlasWrvIckpzasUdzbb+AKfXmYf8=";
meta = with lib; {
description = "Database-agnostic SQL exporter for Prometheus";
mainProgram = "sql_exporter";
homepage = "https://github.com/burningalchemist/sql_exporter";
license = licenses.mit;
};
}
|