summary refs log tree commit diff
path: root/pkgs/development/tools/misc
diff options
context:
space:
mode:
authorRoberto Di Remigio <roberto.diremigio@gmail.com>2017-09-25 14:51:16 +0100
committerJoerg Thalheim <joerg@thalheim.io>2017-09-25 14:51:16 +0100
commit932bd985105a535d4f142449620a7df0f5a1de1b (patch)
treeeede33d81bd6ea548b625e65dc0ba84371d187ea /pkgs/development/tools/misc
parentd1aed97aa03cb1e28096a78a4dd90d0e56bdf9aa (diff)
downloadnixpkgs-932bd985105a535d4f142449620a7df0f5a1de1b.tar
nixpkgs-932bd985105a535d4f142449620a7df0f5a1de1b.tar.gz
nixpkgs-932bd985105a535d4f142449620a7df0f5a1de1b.tar.bz2
nixpkgs-932bd985105a535d4f142449620a7df0f5a1de1b.tar.lz
nixpkgs-932bd985105a535d4f142449620a7df0f5a1de1b.tar.xz
nixpkgs-932bd985105a535d4f142449620a7df0f5a1de1b.tar.zst
nixpkgs-932bd985105a535d4f142449620a7df0f5a1de1b.zip
watson-ruby: init at 1.6.3
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r--pkgs/development/tools/misc/watson-ruby/Gemfile2
-rw-r--r--pkgs/development/tools/misc/watson-ruby/Gemfile.lock15
-rw-r--r--pkgs/development/tools/misc/watson-ruby/default.nix18
-rw-r--r--pkgs/development/tools/misc/watson-ruby/gemset.nix18
4 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/watson-ruby/Gemfile b/pkgs/development/tools/misc/watson-ruby/Gemfile
new file mode 100644
index 00000000000..fc739389e84
--- /dev/null
+++ b/pkgs/development/tools/misc/watson-ruby/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'watson-ruby'
diff --git a/pkgs/development/tools/misc/watson-ruby/Gemfile.lock b/pkgs/development/tools/misc/watson-ruby/Gemfile.lock
new file mode 100644
index 00000000000..fa157d794f7
--- /dev/null
+++ b/pkgs/development/tools/misc/watson-ruby/Gemfile.lock
@@ -0,0 +1,15 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    json (2.1.0)
+    watson-ruby (1.6.3)
+      json
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  watson-ruby
+
+BUNDLED WITH
+   1.14.4
diff --git a/pkgs/development/tools/misc/watson-ruby/default.nix b/pkgs/development/tools/misc/watson-ruby/default.nix
new file mode 100644
index 00000000000..86035835454
--- /dev/null
+++ b/pkgs/development/tools/misc/watson-ruby/default.nix
@@ -0,0 +1,18 @@
+{ lib, bundlerEnv, ruby }:
+
+bundlerEnv rec {
+  name = "watson-ruby-${version}";
+
+  version = (import ./gemset.nix).watson-ruby.version;
+  inherit ruby;
+  # expects Gemfile, Gemfile.lock and gemset.nix in the same directory
+  gemdir = ./.;
+
+  meta = with lib; {
+    description = "An inline issue manager";
+    homepage    = http://goosecode.com/watson/;
+    license     = with licenses; mit;
+    maintainers = with maintainers; [ robertodr ];
+    platforms   = platforms.unix;
+  };
+}
diff --git a/pkgs/development/tools/misc/watson-ruby/gemset.nix b/pkgs/development/tools/misc/watson-ruby/gemset.nix
new file mode 100644
index 00000000000..a3bb144899c
--- /dev/null
+++ b/pkgs/development/tools/misc/watson-ruby/gemset.nix
@@ -0,0 +1,18 @@
+{
+  json = {
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
+      type = "gem";
+    };
+    version = "2.1.0";
+  };
+  watson-ruby = {
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1d5m29nr0i030q8ygmbapwri5ndcg2q6lf8a15bk79lfcp9xyj9w";
+      type = "gem";
+    };
+    version = "1.6.3";
+  };
+}
\ No newline at end of file