3
0
Fork 0
forked from mirrors/nixpkgs

riemann-tools: use bundlerApp

This commit is contained in:
Michael Fellinger 2019-04-30 18:09:48 +02:00
parent c9fd6099b4
commit 8bc9c574f5
3 changed files with 45 additions and 12 deletions

View file

@ -12,7 +12,7 @@ GEM
json (~> 1.8) json (~> 1.8)
riemann-client (>= 0.2.6) riemann-client (>= 0.2.6)
trollop (>= 1.16.2) trollop (>= 1.16.2)
trollop (2.1.2) trollop (2.9.9)
PLATFORMS PLATFORMS
ruby ruby
@ -21,4 +21,4 @@ DEPENDENCIES
riemann-tools (= 0.2.13) riemann-tools (= 0.2.13)
BUNDLED WITH BUNDLED WITH
1.14.6 1.17.2

View file

@ -1,14 +1,35 @@
{ stdenv, bundlerEnv }: { lib, bundlerApp }:
bundlerEnv { bundlerApp {
name = "riemann-tools-0.2.13"; pname = "riemann-tools";
gemfile = ./Gemfile; gemdir = ./.;
lockfile = ./Gemfile.lock; exes = [
gemset = ./gemset.nix; "riemann-apache-status"
"riemann-bench"
"riemann-cloudant"
"riemann-consul"
"riemann-dir-files-count"
"riemann-dir-space"
"riemann-diskstats"
"riemann-fd"
"riemann-freeswitch"
"riemann-haproxy"
"riemann-health"
"riemann-kvminstance"
"riemann-memcached"
"riemann-net"
"riemann-nginx-status"
"riemann-ntp"
"riemann-portcheck"
"riemann-proc"
"riemann-varnish"
"riemann-zookeeper"
];
meta = { meta = with lib; {
description = "Tools to submit data to Riemann"; description = "Tools to submit data to Riemann";
homepage = "https://riemann.io"; homepage = "https://riemann.io";
license = stdenv.lib.licenses.mit; maintainers = with maintainers; [ manveru ];
license = licenses.mit;
}; };
} }

View file

@ -1,5 +1,7 @@
{ {
beefcake = { beefcake = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "10gid0a7pdllh3qmjiqkqxgfqvd7m1f2dmcm4gcd19s63pv620gv"; sha256 = "10gid0a7pdllh3qmjiqkqxgfqvd7m1f2dmcm4gcd19s63pv620gv";
@ -8,6 +10,8 @@
version = "1.0.0"; version = "1.0.0";
}; };
json = { json = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0qmj7fypgb9vag723w1a49qihxrcf5shzars106ynw2zk352gbv5"; sha256 = "0qmj7fypgb9vag723w1a49qihxrcf5shzars106ynw2zk352gbv5";
@ -16,6 +20,8 @@
version = "1.8.6"; version = "1.8.6";
}; };
mtrc = { mtrc = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0xj2pv4cpn0ad1xw38sinsxfzwhgqs6ff18hw0cwz5xmsf3zqmiz"; sha256 = "0xj2pv4cpn0ad1xw38sinsxfzwhgqs6ff18hw0cwz5xmsf3zqmiz";
@ -25,6 +31,8 @@
}; };
riemann-client = { riemann-client = {
dependencies = ["beefcake" "mtrc" "trollop"]; dependencies = ["beefcake" "mtrc" "trollop"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "02rp8x2y8h61x8mx9c8kwgm2yyvgg63g8km93zmwmkpp5fyi3fi8"; sha256 = "02rp8x2y8h61x8mx9c8kwgm2yyvgg63g8km93zmwmkpp5fyi3fi8";
@ -34,6 +42,8 @@
}; };
riemann-tools = { riemann-tools = {
dependencies = ["json" "riemann-client" "trollop"]; dependencies = ["json" "riemann-client" "trollop"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0brf44cq4xz0nqhs189zlg76527bfv3jr453yc00410qdzz8fpxa"; sha256 = "0brf44cq4xz0nqhs189zlg76527bfv3jr453yc00410qdzz8fpxa";
@ -42,11 +52,13 @@
version = "0.2.13"; version = "0.2.13";
}; };
trollop = { trollop = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0415y63df86sqj43c0l82and65ia5h64if7n0znkbrmi6y0jwhl8"; sha256 = "074h7lns72kg1dl5gvz5apl3xz1i0axbnbc01pf2kbw4q0lkpnp4";
type = "gem"; type = "gem";
}; };
version = "2.1.2"; version = "2.9.9";
}; };
} }