Merge pull request #15870 from sirn/tmuxinator-081

tmuxinator: 0.6.9 -> 0.8.1
This commit is contained in:
Joachim Fasting 2016-06-07 14:45:07 +02:00
commit 700ced7d3c
4 changed files with 28 additions and 51 deletions

View File

@ -1,3 +0,0 @@
source "https://rubygems.org"
gem 'tmuxinator'

View File

@ -1,14 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
erubis (2.7.0)
thor (0.19.1)
tmuxinator (0.6.9)
erubis (~> 2.6)
thor (~> 0.19, >= 0.15.0)
PLATFORMS
ruby
DEPENDENCIES
tmuxinator

View File

@ -1,12 +1,33 @@
{ stdenv, lib, bundlerEnv, ruby }:
{ lib, buildRubyGem, makeWrapper, ruby }:
bundlerEnv {
name = "tmuxinator-0.6.9";
# 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;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
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 ];
meta = with lib; {
description = "Manage complex tmux sessions easily";
@ -15,4 +36,4 @@ bundlerEnv {
maintainers = with maintainers; [ auntie ];
platforms = platforms.unix;
};
}
}

View File

@ -1,27 +0,0 @@
{
"erubis" = {
version = "2.7.0";
source = {
type = "gem";
sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3";
};
};
"thor" = {
version = "0.19.1";
source = {
type = "gem";
sha256 = "08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z";
};
};
"tmuxinator" = {
version = "0.6.9";
source = {
type = "gem";
sha256 = "0q0ld82dznjsan7ciblfsxz59brcc16fwmvr9n3c7vdcndj8rd27";
};
dependencies = [
"erubis"
"thor"
];
};
}