aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/redis-dump
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2016-05-02 17:31:30 +0200
committerJaka Hudoklin <jakahudoklin@gmail.com>2016-05-02 17:31:30 +0200
commit097a05a5b1c0917a0ab354a78b275fe4e2869a3d (patch)
treee84d2f2ad138ef6dc4917d5bcb528d1e550e244a /pkgs/development/tools/redis-dump
parent8a1ccb5f7093702afd6ed135539222683bc4d09d (diff)
redis-dump: init at 0.3.5
Diffstat (limited to 'pkgs/development/tools/redis-dump')
-rw-r--r--pkgs/development/tools/redis-dump/.bundle/config3
-rw-r--r--pkgs/development/tools/redis-dump/Gemfile3
-rw-r--r--pkgs/development/tools/redis-dump/Gemfile.lock21
-rw-r--r--pkgs/development/tools/redis-dump/default.nix20
-rw-r--r--pkgs/development/tools/redis-dump/gemset.nix41
5 files changed, 88 insertions, 0 deletions
diff --git a/pkgs/development/tools/redis-dump/.bundle/config b/pkgs/development/tools/redis-dump/.bundle/config
new file mode 100644
index 000000000000..b81abe028c3c
--- /dev/null
+++ b/pkgs/development/tools/redis-dump/.bundle/config
@@ -0,0 +1,3 @@
+---
+BUNDLE_PATH: vendor
+BUNDLE_DISABLE_SHARED_GEMS: '1'
diff --git a/pkgs/development/tools/redis-dump/Gemfile b/pkgs/development/tools/redis-dump/Gemfile
new file mode 100644
index 000000000000..f78cb0873c08
--- /dev/null
+++ b/pkgs/development/tools/redis-dump/Gemfile
@@ -0,0 +1,3 @@
+source 'https://rubygems.org'
+
+gem 'redis-dump'
diff --git a/pkgs/development/tools/redis-dump/Gemfile.lock b/pkgs/development/tools/redis-dump/Gemfile.lock
new file mode 100644
index 000000000000..283a3815f223
--- /dev/null
+++ b/pkgs/development/tools/redis-dump/Gemfile.lock
@@ -0,0 +1,21 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ drydock (0.6.9)
+ redis (3.3.0)
+ redis-dump (0.3.5)
+ drydock (>= 0.6.9)
+ redis (>= 2.0)
+ uri-redis (>= 0.4.0)
+ yajl-ruby (>= 0.1)
+ uri-redis (0.4.2)
+ yajl-ruby (1.2.1)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ redis-dump
+
+BUNDLED WITH
+ 1.11.2
diff --git a/pkgs/development/tools/redis-dump/default.nix b/pkgs/development/tools/redis-dump/default.nix
new file mode 100644
index 000000000000..bc1adf730a35
--- /dev/null
+++ b/pkgs/development/tools/redis-dump/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, lib, bundlerEnv, ruby, perl, autoconf }:
+
+bundlerEnv {
+ name = "redis-dump-0.3.5";
+
+ inherit ruby;
+ gemfile = ./Gemfile;
+ lockfile = ./Gemfile.lock;
+ gemset = ./gemset.nix;
+
+ buildInputs = [ perl autoconf ];
+
+ meta = with lib; {
+ description = "Backup and restore your Redis data to and from JSON";
+ homepage = http://delanotes.com/redis-dump/;
+ license = licenses.mit;
+ maintainers = with maintainers; [ offline ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/development/tools/redis-dump/gemset.nix b/pkgs/development/tools/redis-dump/gemset.nix
new file mode 100644
index 000000000000..4054f4bb0a7a
--- /dev/null
+++ b/pkgs/development/tools/redis-dump/gemset.nix
@@ -0,0 +1,41 @@
+{
+ drydock = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0grf3361mh93lczljmnwafl7gbcp9kk1bjpfwx4ykpd43fzdbfyj";
+ type = "gem";
+ };
+ version = "0.6.9";
+ };
+ redis = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1v68ggm0pwcyml3ngfyngwgvypwmsrmji1kyx48qqcg045zjs5p6";
+ type = "gem";
+ };
+ version = "3.3.0";
+ };
+ redis-dump = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0y6s3nvcw84jqqvp9pjg9qmqyc0b8jkrp0dknhjjr0lg2q3fq87h";
+ type = "gem";
+ };
+ version = "0.3.5";
+ };
+ uri-redis = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "13n8ak41rikkbmml054pir4i1xbgjpmf3dbqihc2kcrgmz3dg81a";
+ type = "gem";
+ };
+ version = "0.4.2";
+ };
+ yajl-ruby = {
+ source = {
+ sha256 = "0zvvb7i1bl98k3zkdrnx9vasq0rp2cyy5n7p9804dqs4fz9xh9vf";
+ type = "gem";
+ };
+ version = "1.2.1";
+ };
+} \ No newline at end of file