mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
prometheus-alertmanager: 0.0.1 -> 0.0.4
This commit is contained in:
parent
a9c403d38b
commit
bcf990c7fd
@ -1,23 +1,23 @@
|
||||
{ stdenv, lib, goPackages, fetchFromGitHub, protobuf, vim }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
name = "prometheus-alertmanager-${version}";
|
||||
version = "0.0.1";
|
||||
name = "prometheus-alertmanager-${rev}";
|
||||
rev = "0.0.4";
|
||||
goPackagePath = "github.com/prometheus/alertmanager";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prometheus";
|
||||
repo = "alertmanager";
|
||||
rev = "2b6c5caf89a492b013204e8d7db99fbb78c5dcd4";
|
||||
sha256 = "13rdqnvmx11ks305dlnzv9gwf8c4zjyi5fkwcd69xgjfars2m4f3";
|
||||
inherit rev;
|
||||
sha256 = "0g656rzal7m284mihqdrw23vhs7yr65ax19nvi70jl51wdallv15";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
goPackages.glog
|
||||
goPackages.protobuf
|
||||
goPackages.fsnotify.v0
|
||||
goPackages.httprouter
|
||||
goPackages.prometheus.client_golang
|
||||
goPackages.prometheus.log
|
||||
goPackages.pushover
|
||||
protobuf
|
||||
vim
|
||||
@ -25,7 +25,7 @@ goPackages.buildGoPackage rec {
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X main.buildVersion ${version}
|
||||
-X main.buildVersion ${rev}
|
||||
-X main.buildBranch master
|
||||
-X main.buildUser nix@nixpkgs
|
||||
-X main.buildDate 20150101-00:00:00
|
||||
|
Loading…
Reference in New Issue
Block a user