1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/servers/monitoring/riemann-dash/default.nix

27 lines
587 B
Nix

{ 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;
};
}