1 { lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
4 papertrail-env = bundlerEnv {
5 name = "papertrail-env";
8 lockfile = ./Gemfile.lock;
11 in stdenv.mkDerivation {
12 name = "papertrail-${(import ./gemset.nix).papertrail.version}";
14 phases = [ "installPhase" ];
18 ln -s ${papertrail-env}/bin/papertrail $out/bin/papertrail
21 passthru.updateScript = bundlerUpdateScript "papertrail";
24 description = "Command-line client for Papertrail log management service";
25 homepage = "https://github.com/papertrail/papertrail-cli/";
26 license = licenses.mit;
27 maintainers = with maintainers; [ nicknovitski ];
28 platforms = ruby.meta.platforms;