about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/monitoring/prometheus/keylight-exporter.nix
blob: e1be2a0bddc7dbf7380c5fd9c7986fb6aabec382 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "keylight-exporter";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "mdlayher";
    repo = "keylight_exporter";
    rev = "v${version}";
    sha256 = "141npawcnxj3sz2xqsnyf06r4x1azk3g55941i8gjr7pwcla34r7";
  };

  vendorSha256 = "0w065ls8dp687jmps4xdffcarss1wyls14dngr43g58xjw6519gb";

  meta = with stdenv.lib; {
    homepage = "https://github.com/mdlayher/keylight_exporter";
    description = "Prometheus exporter for Elgato Key Light devices.";
    license = licenses.mit;
    maintainers = with maintainers; [ mdlayher ];
  };
}