mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
29 lines
767 B
Nix
29 lines
767 B
Nix
# This file was generated by go2nix.
|
|
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
|
|
|
with goPackages;
|
|
|
|
buildGoPackage rec {
|
|
name = "mysqld_exporter-${version}";
|
|
version = "0.1.0";
|
|
rev = version;
|
|
|
|
goPackagePath = "github.com/prometheus/mysqld_exporter";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/prometheus/mysqld_exporter";
|
|
sha256 = "10xnyxyb6saz8pq3ijp424hxy59cvm1b5c9zcbw7ddzzkh1f6jd9";
|
|
};
|
|
|
|
goDeps = ./mysqld-exporter_deps.json;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Prometheus exporter for MySQL server metrics";
|
|
homepage = https://github.com/prometheus/mysqld_exporter;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ benley ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|