lvmsync: init at 3.3.2

gstqt5
Jaakko Luttinen 2017-12-31 11:12:41 +02:00
parent afe9649210
commit bbeecc708e
No known key found for this signature in database
GPG Key ID: 7B1CE13152E6B964
5 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,2 @@
source 'https://rubygems.org/'
gem 'lvmsync'

View File

@ -0,0 +1,19 @@
GEM
remote: https://rubygems.org/
specs:
git-version-bump (0.15.1)
lvmsync (3.3.2)
git-version-bump (~> 0.10)
treetop
polyglot (0.3.5)
treetop (1.6.9)
polyglot (~> 0.3)
PLATFORMS
ruby
DEPENDENCIES
lvmsync
BUNDLED WITH
1.14.6

View File

@ -0,0 +1,37 @@
{ stdenv, bundlerEnv, ruby, makeWrapper }:
let
pname = "lvmsync";
version = (import ./gemset.nix)."${pname}".version;
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
env = bundlerEnv {
name = "${pname}-${version}-gems";
ruby = ruby;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
buildInputs = [ makeWrapper ];
phases = ["installPhase"];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/lvmsync $out/bin/lvmsync
'';
meta = with stdenv.lib; {
description = "Optimised synchronisation of LVM snapshots over a network";
homepage = http://theshed.hezmatt.org/lvmsync/;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ jluttine ];
};
}

View File

@ -0,0 +1,36 @@
{
git-version-bump = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0xcj20gmbpqn2gcpid4pxpnimfdg2ip9jnl1572naz0magcrwl2s";
type = "gem";
};
version = "0.15.1";
};
lvmsync = {
dependencies = ["git-version-bump" "treetop"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "02mdrvfibvab4p4yrdzxvndhy8drss3ri7izybcwgpbyc7isk8mv";
type = "gem";
};
version = "3.3.2";
};
polyglot = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1bqnxwyip623d8pr29rg6m8r0hdg08fpr2yb74f46rn1wgsnxmjr";
type = "gem";
};
version = "0.3.5";
};
treetop = {
dependencies = ["polyglot"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0sdkd1v2h8dhj9ncsnpywmqv7w1mdwsyc5jwyxlxwriacv8qz8bd";
type = "gem";
};
version = "1.6.9";
};
}

View File

@ -3008,6 +3008,8 @@ with pkgs;
ltwheelconf = callPackage ../applications/misc/ltwheelconf { };
lvmsync = callPackage ../tools/backup/lvmsync { };
kippo = callPackage ../servers/kippo { };
kzipmix = callPackage_i686 ../tools/compression/kzipmix { };