Merge: zmap: 4.2.0 -> 4.3.1 (#364578)
[NixPkgs.git] / pkgs / by-name / pr / prometheus-elasticsearch-exporter / package.nix
blob45df05913b85af9b0592e04eef040a66c7bee90a
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
6 buildGoModule rec {
7   pname = "elasticsearch_exporter";
8   version = "1.8.0";
10   src = fetchFromGitHub {
11     owner = "prometheus-community";
12     repo = "elasticsearch_exporter";
13     rev = "v${version}";
14     hash = "sha256-8WPDBlp6ftBmY/lu0wuuvs3A9KAzEM/A6RqSvYYLm7w=";
15   };
17   vendorHash = "sha256-jbPFxwrXWwxPamMnbBxFvGBrt38YG7N5fTweAYULEYQ=";
19   meta = with lib; {
20     description = "Elasticsearch stats exporter for Prometheus";
21     mainProgram = "elasticsearch_exporter";
22     homepage = "https://github.com/prometheus-community/elasticsearch_exporter";
23     license = licenses.asl20;
24     maintainers = teams.deshaw.members;
25   };