1 { lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript, testers, papertrail }:
4 papertrail-env = bundlerEnv {
5 name = "papertrail-env";
8 lockfile = ./Gemfile.lock;
11 in stdenv.mkDerivation {
13 version = (import ./gemset.nix).papertrail.version;
19 ln -s ${papertrail-env}/bin/papertrail $out/bin/papertrail
22 passthru.updateScript = bundlerUpdateScript "papertrail";
24 passthru.tests.version = testers.testVersion { package = papertrail; };
27 description = "Command-line client for Papertrail log management service";
28 mainProgram = "papertrail";
29 homepage = "https://github.com/papertrail/papertrail-cli/";
30 license = licenses.mit;
31 maintainers = with maintainers; [ nicknovitski ];
32 platforms = ruby.meta.platforms;