# This file was generated by https://github.com/kamilchm/go2nix v2.0-dev
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "rabbitmq_exporter-${version}";
  version = "0.25.2";

  goPackagePath = "github.com/kbudde/rabbitmq_exporter";

  src = fetchFromGitHub {
    owner = "kbudde";
    repo = "rabbitmq_exporter";
    rev = "8238c5d9ad509dab94e631cdecf3d75155fbdee4";
    sha256 = "1zb21jms2wlmiw5vhk1wyhv0xrv5a9y08y9q6x92hv727kjqjr6w";
  };

  goDeps = ./rabbitmq-exporter_deps.nix;

  meta = with stdenv.lib; {
    description = "Prometheus exporter for RabbitMQ";
    homepage = https://github.com/kbudde/rabbitmq_exporter;
    license = licenses.mit;
    maintainers = with maintainers; [ ocharles ];
    platforms = platforms.unix;
  };
}
