git.iko.soy/typeable/nixpkgs
on master help sign in
prometheus-pushgateway: 0.3.0 -> 0.3.1
commite945c7032dd24c5f7bac48af073019fa421a048e authorFranz Pletz <fpletz@fnordicwalking.de> dateThu 1 Dec 2016, 01:52 (10 years ago) parent398bf54
2 files changed+7−83
pkgs/servers/monitoring/prometheus/pushgateway.nix+7−9 pkgs/servers/monitoring/prometheus/pushgateway_deps.nix−74
pkgs/servers/monitoring/prometheus/pushgateway.nix+7−9
@@ -1,9 +1,9 @@
1−{ stdenv, lib, go, buildGoPackage, go-bindata, fetchFromGitHub }:
1+{ stdenv, go, buildGoPackage, go-bindata, fetchFromGitHub }:
22
33buildGoPackage rec {
44 name = "pushgateway-${version}";
5− version = "0.3.0";
6− rev = version;
5+ version = "0.3.1";
6+ rev = "v${version}";
77
88 goPackagePath = "github.com/prometheus/pushgateway";
99
@@ -11,11 +11,9 @@ buildGoPackage rec {
1111 inherit rev;
1212 owner = "prometheus";
1313 repo = "pushgateway";
14− sha256 = "1bj0s4s3gbcnlp2z2yx7jf3jx14cdg2v4pr0yciai0g6jwwg63hd";
14+ sha256 = "0ax83yy5hbfppcr66l9al7wxibcqfnyps05jdscvpwvgrg4q7ldk";
1515 };
1616
17− goDeps = ./pushgateway_deps.nix;
18−
1917 buildInputs = [ go-bindata ];
2018
2119 preBuild = ''
@@ -29,9 +27,9 @@ buildGoPackage rec {
2927 -ldflags=
3028 -X main.buildVersion=${version}
3129 -X main.buildRev=${rev}
32− -X main.buildBranch=master
30+ -X main.buildBranch=${rev}
3331 -X main.buildUser=nix@nixpkgs
34− -X main.buildDate=20150101-00:00:00
32+ -X main.buildDate=19700101-00:00:00
3533 -X main.goVersion=${stdenv.lib.getVersion go}
3634 '';
3735
@@ -39,7 +37,7 @@ buildGoPackage rec {
3937 description = "Allows ephemeral and batch jobs to expose metrics to Prometheus";
4038 homepage = https://github.com/prometheus/pushgateway;
4139 license = licenses.asl20;
42− maintainers = with maintainers; [ benley ];
40+ maintainers = with maintainers; [ benley fpletz ];
4341 platforms = platforms.unix;
4442 };
4543}
pkgs/servers/monitoring/prometheus/pushgateway_deps.nixdeleted−74
@@ -1,74 +0,0 @@
1−[
2− {
3− goPackagePath = "github.com/golang/protobuf";
4− fetch = {
5− type = "git";
6− url = "https://github.com/golang/protobuf";
7− rev = "59b73b37c1e45995477aae817e4a653c89a858db";
8− sha256 = "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa";
9− };
10− }
11− {
12− goPackagePath = "github.com/prometheus/client_model";
13− fetch = {
14− type = "git";
15− url = "https://github.com/prometheus/client_model";
16− rev = "fa8ad6fec33561be4280a8f0514318c79d7f6cb6";
17− sha256 = "11a7v1fjzhhwsl128znjcf5v7v6129xjgkdpym2lial4lac1dhm9";
18− };
19− }
20− {
21− goPackagePath = "github.com/beorn7/perks";
22− fetch = {
23− type = "git";
24− url = "https://github.com/beorn7/perks";
25− rev = "b965b613227fddccbfffe13eae360ed3fa822f8d";
26− sha256 = "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk";
27− };
28− }
29− {
30− goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
31− fetch = {
32− type = "git";
33− url = "https://github.com/matttproud/golang_protobuf_extensions";
34− rev = "fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a";
35− sha256 = "0ajg41h6402big484drvm72wvid1af2sffw0qkzbmpy04lq68ahj";
36− };
37− }
38− {
39− goPackagePath = "github.com/prometheus/client_golang";
40− fetch = {
41− type = "git";
42− url = "https://github.com/prometheus/client_golang";
43− rev = "6dbab8106ed3ed77359ac85d9cf08e30290df864";
44− sha256 = "1i3g5h2ncdb8b67742kfpid7d0a1jas1pyicglbglwngfmzhpkna";
45− };
46− }
47− {
48− goPackagePath = "github.com/prometheus/procfs";
49− fetch = {
50− type = "git";
51− url = "https://github.com/prometheus/procfs";
52− rev = "c91d8eefde16bd047416409eb56353ea84a186e4";
53− sha256 = "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r";
54− };
55− }
56− {
57− goPackagePath = "bitbucket.org/ww/goautoneg";
58− fetch = {
59− type = "hg";
60− url = "bitbucket.org/ww/goautoneg";
61− rev = "75cd24fc2f2c2a2088577d12123ddee5f54e0675";
62− sha256 = "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi";
63− };
64− }
65− {
66− goPackagePath = "github.com/julienschmidt/httprouter";
67− fetch = {
68− type = "git";
69− url = "https://github.com/julienschmidt/httprouter";
70− rev = "6aacfd5ab513e34f7e64ea9627ab9670371b34e7";
71− sha256 = "00rrjysmq898qcrf2hfwfh9s70vwvmjx2kp5w03nz1krxa4zhrkl";
72− };
73− }
74−]