mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Merge pull request #15166 from NixOS/pkgs/redis_dump/add
redis-dump: init at 0.3.5
This commit is contained in:
commit
30f86c8299
3
pkgs/development/tools/redis-dump/.bundle/config
Normal file
3
pkgs/development/tools/redis-dump/.bundle/config
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
BUNDLE_PATH: vendor
|
||||
BUNDLE_DISABLE_SHARED_GEMS: '1'
|
3
pkgs/development/tools/redis-dump/Gemfile
Normal file
3
pkgs/development/tools/redis-dump/Gemfile
Normal file
@ -0,0 +1,3 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'redis-dump'
|
21
pkgs/development/tools/redis-dump/Gemfile.lock
Normal file
21
pkgs/development/tools/redis-dump/Gemfile.lock
Normal file
@ -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
|
20
pkgs/development/tools/redis-dump/default.nix
Normal file
20
pkgs/development/tools/redis-dump/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
41
pkgs/development/tools/redis-dump/gemset.nix
Normal file
41
pkgs/development/tools/redis-dump/gemset.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
@ -6256,6 +6256,10 @@ in
|
||||
|
||||
hammer = callPackage ../development/tools/parsing/hammer { };
|
||||
|
||||
redis-dump = callPackage ../development/tools/redis-dump {
|
||||
ruby = ruby_2_0;
|
||||
};
|
||||
|
||||
re2c = callPackage ../development/tools/parsing/re2c { };
|
||||
|
||||
remake = callPackage ../development/tools/build-managers/remake { };
|
||||
|
Loading…
Reference in New Issue
Block a user