summaryrefslogtreecommitdiff
path: root/pkgs/tools/text/ruby-zoom
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/ruby-zoom')
-rw-r--r--pkgs/tools/text/ruby-zoom/Gemfile2
-rw-r--r--pkgs/tools/text/ruby-zoom/Gemfile.lock25
-rw-r--r--pkgs/tools/text/ruby-zoom/default.nix18
-rw-r--r--pkgs/tools/text/ruby-zoom/gemset.nix58
4 files changed, 103 insertions, 0 deletions
diff --git a/pkgs/tools/text/ruby-zoom/Gemfile b/pkgs/tools/text/ruby-zoom/Gemfile
new file mode 100644
index 000000000000..4bb5d8c175d7
--- /dev/null
+++ b/pkgs/tools/text/ruby-zoom/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'ruby-zoom'
diff --git a/pkgs/tools/text/ruby-zoom/Gemfile.lock b/pkgs/tools/text/ruby-zoom/Gemfile.lock
new file mode 100644
index 000000000000..29d5fe1da5ba
--- /dev/null
+++ b/pkgs/tools/text/ruby-zoom/Gemfile.lock
@@ -0,0 +1,25 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ djinni (2.0.1)
+ fagin (~> 0.1, >= 0.1.2)
+ ruby-terminfo (~> 0.1, >= 0.1.1)
+ fagin (0.1.2)
+ hilighter (0.1.7)
+ json_config (0.1.2)
+ ruby-terminfo (0.1.1)
+ ruby-zoom (4.1.0)
+ djinni (~> 2.0, >= 2.0.1)
+ hilighter (~> 0.1, >= 0.1.3)
+ json_config (~> 0.1, >= 0.1.2)
+ scoobydoo (~> 0.1, >= 0.1.4)
+ scoobydoo (0.1.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ ruby-zoom
+
+BUNDLED WITH
+ 1.13.1
diff --git a/pkgs/tools/text/ruby-zoom/default.nix b/pkgs/tools/text/ruby-zoom/default.nix
new file mode 100644
index 000000000000..eb3968a0db93
--- /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;
+ };
+}
diff --git a/pkgs/tools/text/ruby-zoom/gemset.nix b/pkgs/tools/text/ruby-zoom/gemset.nix
new file mode 100644
index 000000000000..7d3836a3c33a
--- /dev/null
+++ b/pkgs/tools/text/ruby-zoom/gemset.nix
@@ -0,0 +1,58 @@
+{
+ djinni = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0wl4q4qs1nyla5n2b2ys6n3i35gvli8xb8mxz2xv0ik306cikqm6";
+ type = "gem";
+ };
+ version = "2.0.1";
+ };
+ fagin = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17d419vkfr26gdbad97fg2ikskhn82vs3bnxlzd27w6lwyf13qxk";
+ type = "gem";
+ };
+ version = "0.1.2";
+ };
+ hilighter = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1a9a9clgd6kx63a82msjzi6abznfqivsgmds7qaqwb1dsl1nznbh";
+ type = "gem";
+ };
+ version = "0.1.7";
+ };
+ json_config = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "16q3q0j9s8w93lzxa7rrvh5wqk11np7s2nmgmdlrh8gl3w76xcz6";
+ type = "gem";
+ };
+ version = "0.1.2";
+ };
+ ruby-terminfo = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0rl4ic5pzvrpgd42z0c1s2n3j39c9znksblxxvmhkzrc0ckyg2cm";
+ type = "gem";
+ };
+ version = "0.1.1";
+ };
+ ruby-zoom = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "132pk0zp3rayvvbccfs5ksigg9zpflp9734b4r0jz5aimmv2qpvp";
+ type = "gem";
+ };
+ version = "4.1.0";
+ };
+ scoobydoo = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1w83zgip3qvh20pgqgcp9yp0k35ypn7ny0d61xcv1ik0r3ab8ga0";
+ type = "gem";
+ };
+ version = "0.1.4";
+ };
+} \ No newline at end of file