diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-05-01 23:38:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 23:38:24 +0100 |
commit | d794222c4bb89d5af8d47b02973d8c97a8f614cb (patch) | |
tree | e52df48dc72e106df670413583cd431d5814cc2e /pkgs/tools | |
parent | bd6736965a900e591cf78e1d96d132170feb8a7c (diff) | |
parent | 7259b4ce12112dc23dbd3d742ff3e547dc6fd8f9 (diff) | |
download | nixlib-d794222c4bb89d5af8d47b02973d8c97a8f614cb.tar nixlib-d794222c4bb89d5af8d47b02973d8c97a8f614cb.tar.gz nixlib-d794222c4bb89d5af8d47b02973d8c97a8f614cb.tar.bz2 nixlib-d794222c4bb89d5af8d47b02973d8c97a8f614cb.tar.lz nixlib-d794222c4bb89d5af8d47b02973d8c97a8f614cb.tar.xz nixlib-d794222c4bb89d5af8d47b02973d8c97a8f614cb.tar.zst nixlib-d794222c4bb89d5af8d47b02973d8c97a8f614cb.zip |
Merge pull request #86334 from cust0dian/tmuxinator-1.1.5
tmuxinator: 1.1.4 -> 2.0.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/tmuxinator/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/tools/misc/tmuxinator/default.nix b/pkgs/tools/misc/tmuxinator/default.nix index d19b9cd5dbf7..ae8e7926eb92 100644 --- a/pkgs/tools/misc/tmuxinator/default.nix +++ b/pkgs/tools/misc/tmuxinator/default.nix @@ -1,4 +1,4 @@ -{ lib, buildRubyGem, ruby }: +{ lib, buildRubyGem, ruby, installShellFiles }: # Cannot use bundleEnv because bundleEnv create stub with # BUNDLE_FROZEN='1' environment variable set, which broke everything @@ -8,8 +8,8 @@ buildRubyGem rec { inherit ruby; name = "${gemName}-${version}"; gemName = "tmuxinator"; - version = "1.1.4"; - source.sha256 = "06ajfvsmq2040b7nk2ifih3sqxgwzih5j1d25nh4ilgjlrfmha98"; + version = "2.0.0"; + source.sha256 = "1q5z6f548138792mc7aksxdgngfgdsyf8s117b4flyb2hqgmv24b"; erubis = buildRubyGem rec { inherit ruby; @@ -37,6 +37,12 @@ buildRubyGem rec { propagatedBuildInputs = [ erubis thor xdg ]; + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installShellCompletion $GEM_HOME/gems/${gemName}-${version}/completion/tmuxinator.{bash,zsh,fish} + ''; + meta = with lib; { description = "Manage complex tmux sessions easily"; homepage = "https://github.com/tmuxinator/tmuxinator"; |