1 { lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
3 stdenv.mkDerivation rec {
5 version = (import ./gemset.nix).watson-ruby.version;
11 name = "watson-ruby-gems-${version}";
13 # expects Gemfile, Gemfile.lock and gemset.nix in the same directory
18 ln -s ${env}/bin/watson $out/bin/watson
21 passthru.updateScript = bundlerUpdateScript "watson-ruby";
24 description = "An inline issue manager";
25 homepage = "https://goosecode.com/watson/";
26 license = with licenses; mit;
27 maintainers = with maintainers; [ robertodr nicknovitski ];
28 mainProgram = "watson";
29 platforms = platforms.unix;