2016-06-16 01:47:54 +01:00
|
|
|
{ bundlerEnv, lib, stdenv }:
|
2014-11-18 03:31:56 +00:00
|
|
|
|
2016-06-16 01:47:54 +01:00
|
|
|
let
|
|
|
|
name = "riemann-dash-${env.gems.riemann-dash.version}";
|
|
|
|
|
|
|
|
env = bundlerEnv {
|
|
|
|
inherit name;
|
|
|
|
gemfile = ./Gemfile;
|
|
|
|
lockfile = ./Gemfile.lock;
|
|
|
|
gemset = ./gemset.nix;
|
|
|
|
};
|
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
ln -s ${env}/bin/riemann-dash $out/bin/riemann-dash
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A javascript, websockets-powered dashboard for Riemann";
|
|
|
|
homepage = https://github.com/riemann/riemann-dash;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2015-01-22 01:46:50 +00:00
|
|
|
}
|