2018-07-21 02:44:44 +02:00
|
|
|
{ lib, buildRubyGem, ruby }:
|
2015-02-21 04:49:45 +01:00
|
|
|
|
2016-05-31 19:36:04 +02: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 04:49:45 +01:00
|
|
|
|
2016-05-31 19:36:04 +02:00
|
|
|
buildRubyGem rec {
|
2015-02-21 04:49:45 +01:00
|
|
|
inherit ruby;
|
2016-05-31 19:36:04 +02:00
|
|
|
name = "${gemName}-${version}";
|
|
|
|
gemName = "tmuxinator";
|
2018-12-08 19:51:17 +01:00
|
|
|
version = "0.13.0";
|
|
|
|
source.sha256 = "0jyyih8w8b30czfv0dc642vj8yp8iqyci89hjb2279xmmigjzmwc";
|
2016-05-31 19:36:04 +02:00
|
|
|
|
|
|
|
erubis = buildRubyGem rec {
|
|
|
|
inherit ruby;
|
|
|
|
name = "ruby${ruby.version}-${gemName}-${version}";
|
|
|
|
gemName = "erubis";
|
|
|
|
version = "2.7.0";
|
2017-10-05 10:10:57 +02:00
|
|
|
source.sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3";
|
2016-05-31 19:36:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
thor = buildRubyGem rec {
|
|
|
|
inherit ruby;
|
|
|
|
name = "ruby${ruby.version}-${gemName}-${version}";
|
|
|
|
gemName = "thor";
|
2018-01-27 12:02:17 +01:00
|
|
|
version = "0.20.0";
|
|
|
|
source.sha256 = "0nmqpyj642sk4g16nkbq6pj856adpv91lp4krwhqkh2iw63aszdl";
|
2016-05-31 19:36:04 +02:00
|
|
|
};
|
|
|
|
|
2017-10-21 00:00:33 +02:00
|
|
|
xdg = buildRubyGem rec {
|
|
|
|
inherit ruby;
|
|
|
|
name = "ruby${ruby.version}-${gemName}-${version}";
|
|
|
|
gemName = "xdg";
|
|
|
|
version = "2.2.3";
|
2017-10-05 10:10:57 +02:00
|
|
|
source.sha256 = "1bn47fdbwxqbdvjcfg86i32hmwm36k0xl876kb85f5da5v84lzmq";
|
2017-10-21 00:00:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ erubis thor xdg ];
|
2015-02-21 04:49:45 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Manage complex tmux sessions easily";
|
|
|
|
homepage = https://github.com/tmuxinator/tmuxinator;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.mit;
|
2017-06-18 13:45:51 +02:00
|
|
|
maintainers = with maintainers; [ auntie ericsagnes ];
|
2015-02-21 04:49:45 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2017-06-18 13:45:51 +02:00
|
|
|
}
|