blob: 32f543fbf2f185566ca4519c2f0ece2d17342236 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ bundlerEnv, lib, stdenv }:
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;
};
}
|