3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/tmuxinator/default.nix

48 lines
1.4 KiB
Nix
Raw Normal View History

2016-05-31 18:36:04 +01:00
{ lib, buildRubyGem, makeWrapper, ruby }:
2015-02-21 03:49:45 +00:00
2016-05-31 18:36:04 +01: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 03:49:45 +00:00
2016-05-31 18:36:04 +01:00
buildRubyGem rec {
2015-02-21 03:49:45 +00:00
inherit ruby;
2016-05-31 18:36:04 +01:00
name = "${gemName}-${version}";
gemName = "tmuxinator";
2017-10-20 23:00:33 +01:00
version = "0.10.0";
source.sha256 = "199pq15qknpcafw8ryb9kk1jsrwnncg6k5l9d4n0nmms4knxlqlf";
2016-05-31 18:36:04 +01:00
erubis = buildRubyGem rec {
inherit ruby;
name = "ruby${ruby.version}-${gemName}-${version}";
gemName = "erubis";
version = "2.7.0";
source.sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3";
2016-05-31 18:36:04 +01:00
};
thor = buildRubyGem rec {
inherit ruby;
name = "ruby${ruby.version}-${gemName}-${version}";
gemName = "thor";
version = "0.19.1";
source.sha256 = "08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z";
2016-05-31 18:36:04 +01:00
};
2017-10-20 23:00:33 +01:00
xdg = buildRubyGem rec {
inherit ruby;
name = "ruby${ruby.version}-${gemName}-${version}";
gemName = "xdg";
version = "2.2.3";
source.sha256 = "1bn47fdbwxqbdvjcfg86i32hmwm36k0xl876kb85f5da5v84lzmq";
2017-10-20 23:00:33 +01:00
};
propagatedBuildInputs = [ erubis thor xdg ];
2015-02-21 03:49:45 +00:00
meta = with lib; {
description = "Manage complex tmux sessions easily";
homepage = https://github.com/tmuxinator/tmuxinator;
license = licenses.mit;
2017-06-18 12:45:51 +01:00
maintainers = with maintainers; [ auntie ericsagnes ];
2015-02-21 03:49:45 +00:00
platforms = platforms.unix;
};
2017-06-18 12:45:51 +01:00
}