fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, bundlerEnv, ruby, makeWrapper }:
2
3let
4
5 pname = "lvmsync";
6 version = (import ./gemset.nix)."${pname}".version;
7
8in stdenv.mkDerivation rec {
9
10 name = "${pname}-${version}";
11
12 env = bundlerEnv {
13 name = "${pname}-${version}-gems";
14 ruby = ruby;
15 gemfile = ./Gemfile;
16 lockfile = ./Gemfile.lock;
17 gemset = ./gemset.nix;
18 };
19
20 buildInputs = [ makeWrapper ];
21
22 phases = ["installPhase"];
23
24 installPhase = ''
25 mkdir -p $out/bin
26 makeWrapper ${env}/bin/lvmsync $out/bin/lvmsync
27 '';
28
29 meta = with stdenv.lib; {
30 description = "Optimised synchronisation of LVM snapshots over a network";
31 homepage = http://theshed.hezmatt.org/lvmsync/;
32 license = licenses.gpl3;
33 platforms = platforms.all;
34 maintainers = with maintainers; [ jluttine ];
35 };
36
37}