forked from mirrors/nixpkgs
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
762 B
Nix
27 lines
762 B
Nix
# This file was generated by https://github.com/kamilchm/go2nix v2.0-dev
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "rabbitmq_exporter";
|
|
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;
|
|
};
|
|
}
|