Skip to content

Commit

Permalink
Merge pull request #47494 from zachcoyle/teamocil-1.4.2
Browse files Browse the repository at this point in the history
teamocil: init at 1.4.2
  • Loading branch information
matthewbauer committed Oct 8, 2018
2 parents 3d188ee + 68879b3 commit 4e2a3cb
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 0 deletions.
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4678,6 +4678,11 @@
github = "maggesi";
name = "Marco Maggesi";
};
zachcoyle = {
email = "zach.coyle@gmail.com";
github = "zachcoyle";
name = "Zach Coyle";
};
zagy = {
email = "cz@flyingcircus.io";
github = "zagy";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/tools/misc/teamocil/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'teamocil'
13 changes: 13 additions & 0 deletions pkgs/tools/misc/teamocil/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
teamocil (1.4.2)

PLATFORMS
ruby

DEPENDENCIES
teamocil

BUNDLED WITH
1.16.3
17 changes: 17 additions & 0 deletions pkgs/tools/misc/teamocil/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ lib, bundlerEnv, ruby }:

bundlerEnv rec {
inherit ruby;
pname = "teamocil";
gemdir = ./.;

meta = with lib; {
description = "A simple tool used to automatically create windows and panes in tmux with YAML files";
homepage = https://github.com/remiprev/teamocil;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [
zachcoyle
];
};
}
10 changes: 10 additions & 0 deletions pkgs/tools/misc/teamocil/gemset.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
teamocil = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1l5f33faipb45xx7ds67s7dqgvjlljlcxgpgig4pg8p002vg06r2";
type = "gem";
};
version = "1.4.2";
};
}
10 changes: 10 additions & 0 deletions pkgs/tools/misc/teamocil/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p bash ruby bundler bundix

rm Gemfile.lock
bundler install
bundix

if [ "clean" == "$1" ]; then
rm -rf ~/.gem
fi
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2336,6 +2336,8 @@ with pkgs;

tealdeer = callPackage ../tools/misc/tealdeer { };

teamocil = callPackage ../tools/misc/teamocil { };

uudeview = callPackage ../tools/misc/uudeview { };

uutils-coreutils = callPackage ../tools/misc/uutils-coreutils {
Expand Down

0 comments on commit 4e2a3cb

Please sign in to comment.