about summary refs log tree commit diff
path: root/pkgs/tools/text/ruby-zoom/default.nix
diff options
context:
space:
mode:
authorVenkateswara Rao Mandela <venkat.mandela@gmail.com>2015-10-16 04:20:38 +0530
committerVenkateswara Rao Mandela <venkat.mandela@gmail.com>2016-10-26 17:26:26 +0530
commit219b9d5086678ac3b5332414f2153601937032f4 (patch)
tree98591151fc86c903fac32907503e2f32729695a1 /pkgs/tools/text/ruby-zoom/default.nix
parentd333ec501d37077d326f8912ad6a3e1905a78a15 (diff)
ruby-zoom: init at 4.1.0
From the website,

https://gitlab.com/mjwhitta/zoom

Zoom adds some convenience to ag/ack/grep by allowing you to quickly
open your search results in your editor of choice.

Also available as a ruby gem.

https://rubygems.org/gems/ruby-zoom

In addition to including the ruby-zoom tool, we also added a global
override for the ruby-terminfo gem to handle the ncurses build time
dependency.
Diffstat (limited to 'pkgs/tools/text/ruby-zoom/default.nix')
-rw-r--r--pkgs/tools/text/ruby-zoom/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/tools/text/ruby-zoom/default.nix b/pkgs/tools/text/ruby-zoom/default.nix
new file mode 100644
index 0000000000000..eb3968a0db934
--- /dev/null
+++ b/pkgs/tools/text/ruby-zoom/default.nix
@@ -0,0 +1,18 @@
+{ lib, bundlerEnv, ruby, stdenv }:
+
+bundlerEnv {
+  pname = "ruby-zoom";
+
+  inherit ruby;
+  gemfile = ./Gemfile;
+  lockfile = ./Gemfile.lock;
+  gemset = ./gemset.nix;
+
+  meta = with lib; {
+    description = "Quickly open CLI search results in your favorite editor!";
+    homepage    = https://gitlab.com/mjwhitta/zoom;
+    license     = with licenses; gpl3;
+    maintainers = with stdenv.lib.maintainers; [ vmandela ];
+    platforms   = platforms.unix;
+  };
+}