prometheus-alertmanager: 0.0.1 -> 0.0.4

This commit is contained in:
Benjamin Staffin 2015-07-02 18:09:22 -07:00
parent a9c403d38b
commit bcf990c7fd

View File

@ -1,23 +1,23 @@
{ stdenv, lib, goPackages, fetchFromGitHub, protobuf, vim }: { stdenv, lib, goPackages, fetchFromGitHub, protobuf, vim }:
goPackages.buildGoPackage rec { goPackages.buildGoPackage rec {
name = "prometheus-alertmanager-${version}"; name = "prometheus-alertmanager-${rev}";
version = "0.0.1"; rev = "0.0.4";
goPackagePath = "github.com/prometheus/alertmanager"; goPackagePath = "github.com/prometheus/alertmanager";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "prometheus"; owner = "prometheus";
repo = "alertmanager"; repo = "alertmanager";
rev = "2b6c5caf89a492b013204e8d7db99fbb78c5dcd4"; inherit rev;
sha256 = "13rdqnvmx11ks305dlnzv9gwf8c4zjyi5fkwcd69xgjfars2m4f3"; sha256 = "0g656rzal7m284mihqdrw23vhs7yr65ax19nvi70jl51wdallv15";
}; };
buildInputs = [ buildInputs = [
goPackages.glog
goPackages.protobuf goPackages.protobuf
goPackages.fsnotify.v0 goPackages.fsnotify.v0
goPackages.httprouter goPackages.httprouter
goPackages.prometheus.client_golang goPackages.prometheus.client_golang
goPackages.prometheus.log
goPackages.pushover goPackages.pushover
protobuf protobuf
vim vim
@ -25,7 +25,7 @@ goPackages.buildGoPackage rec {
buildFlagsArray = '' buildFlagsArray = ''
-ldflags= -ldflags=
-X main.buildVersion ${version} -X main.buildVersion ${rev}
-X main.buildBranch master -X main.buildBranch master
-X main.buildUser nix@nixpkgs -X main.buildUser nix@nixpkgs
-X main.buildDate 20150101-00:00:00 -X main.buildDate 20150101-00:00:00