2016-05-31 20:36:04 +03:00
|
|
|
{ lib, buildRubyGem, makeWrapper, ruby }:
|
2015-02-21 06:49:45 +03:00
|
|
|
|
2016-05-31 20:36:04 +03:00
|
|
|
# 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.
|
2015-02-21 06:49:45 +03:00
|
|
|
|
2016-05-31 20:36:04 +03:00
|
|
|
buildRubyGem rec {
|
2015-02-21 06:49:45 +03:00
|
|
|
inherit ruby;
|
2016-05-31 20:36:04 +03:00
|
|
|
name = "${gemName}-${version}";
|
|
|
|
gemName = "tmuxinator";
|
|
|
|
version = "0.8.1";
|
|
|
|
sha256 = "1cpmlfa684j9r1hjya70nfcl5lzdbzmbi9hqbs5nhxha97b77qs5";
|
|
|
|
|
|
|
|
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 ];
|
2015-02-21 06:49:45 +03:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Manage complex tmux sessions easily";
|
|
|
|
homepage = https://github.com/tmuxinator/tmuxinator;
|
2015-05-28 20:20:29 +03:00
|
|
|
license = licenses.mit;
|
2015-02-21 06:49:45 +03:00
|
|
|
maintainers = with maintainers; [ auntie ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2016-05-31 20:36:04 +03:00
|
|
|
}
|