1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/tools/misc/tmuxinator/default.nix
2017-06-18 20:45:51 +09:00

40 lines
1.1 KiB
Nix

{ lib, buildRubyGem, makeWrapper, ruby }:
# Cannot use bundleEnv because bundleEnv create stub with
# BUNDLE_FROZEN='1' environment variable set, which broke everything
# that rely on Bundler that runs under Tmuxinator.
buildRubyGem rec {
inherit ruby;
name = "${gemName}-${version}";
gemName = "tmuxinator";
version = "0.9.0";
sha256 = "13p8rvf1naknjin1n97370ifyj475lyyh60cbw2v6gczi9rs84p3";
erubis = buildRubyGem rec {
inherit ruby;
name = "ruby${ruby.version}-${gemName}-${version}";
gemName = "erubis";
version = "2.7.0";
sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3";
};
thor = buildRubyGem rec {
inherit ruby;
name = "ruby${ruby.version}-${gemName}-${version}";
gemName = "thor";
version = "0.19.1";
sha256 = "08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z";
};
propagatedBuildInputs = [ erubis thor ];
meta = with lib; {
description = "Manage complex tmux sessions easily";
homepage = https://github.com/tmuxinator/tmuxinator;
license = licenses.mit;
maintainers = with maintainers; [ auntie ericsagnes ];
platforms = platforms.unix;
};
}