From 68879b36cbf3fae32b485a5af54b009139ae96e5 Mon Sep 17 00:00:00 2001 From: Zach Coyle Date: Fri, 28 Sep 2018 16:59:03 -0400 Subject: teamocil: init at 1.4.2 --- pkgs/tools/misc/teamocil/Gemfile | 2 ++ pkgs/tools/misc/teamocil/Gemfile.lock | 13 +++++++++++++ pkgs/tools/misc/teamocil/default.nix | 17 +++++++++++++++++ pkgs/tools/misc/teamocil/gemset.nix | 10 ++++++++++ pkgs/tools/misc/teamocil/update | 10 ++++++++++ 5 files changed, 52 insertions(+) create mode 100644 pkgs/tools/misc/teamocil/Gemfile create mode 100644 pkgs/tools/misc/teamocil/Gemfile.lock create mode 100644 pkgs/tools/misc/teamocil/default.nix create mode 100644 pkgs/tools/misc/teamocil/gemset.nix create mode 100755 pkgs/tools/misc/teamocil/update (limited to 'pkgs/tools') diff --git a/pkgs/tools/misc/teamocil/Gemfile b/pkgs/tools/misc/teamocil/Gemfile new file mode 100644 index 000000000000..046ba3d536e0 --- /dev/null +++ b/pkgs/tools/misc/teamocil/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'teamocil' diff --git a/pkgs/tools/misc/teamocil/Gemfile.lock b/pkgs/tools/misc/teamocil/Gemfile.lock new file mode 100644 index 000000000000..419c2ae49d31 --- /dev/null +++ b/pkgs/tools/misc/teamocil/Gemfile.lock @@ -0,0 +1,13 @@ +GEM + remote: https://rubygems.org/ + specs: + teamocil (1.4.2) + +PLATFORMS + ruby + +DEPENDENCIES + teamocil + +BUNDLED WITH + 1.16.3 diff --git a/pkgs/tools/misc/teamocil/default.nix b/pkgs/tools/misc/teamocil/default.nix new file mode 100644 index 000000000000..2215e4d4fee7 --- /dev/null +++ b/pkgs/tools/misc/teamocil/default.nix @@ -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 + ]; + }; +} diff --git a/pkgs/tools/misc/teamocil/gemset.nix b/pkgs/tools/misc/teamocil/gemset.nix new file mode 100644 index 000000000000..f363d62b6d68 --- /dev/null +++ b/pkgs/tools/misc/teamocil/gemset.nix @@ -0,0 +1,10 @@ +{ + teamocil = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1l5f33faipb45xx7ds67s7dqgvjlljlcxgpgig4pg8p002vg06r2"; + type = "gem"; + }; + version = "1.4.2"; + }; +} \ No newline at end of file diff --git a/pkgs/tools/misc/teamocil/update b/pkgs/tools/misc/teamocil/update new file mode 100755 index 000000000000..58a7bd4a4539 --- /dev/null +++ b/pkgs/tools/misc/teamocil/update @@ -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 -- cgit 1.4.1