d5775a5ef9
Changes since 1.6.0: 1.7.3 (3.4.2014) - bugfix: test routines, gpg2 asked for passphrase although GPG_PW was set 1.7.2 (1.4.2014 "April,April") - bugfix: debian Bug#743190 "duply no longer allows restoration without gpg passphrase in conf file" GPG_AGENT_INFO env var is now needed to trigger --use-agent - bugfix: gpg keyenc test routines didn't work if GPG_PW was not set 1.7.1 (30.3.2014) - bugfix: purge-* commands renamed to purgeFull, purgeIncr due to incompatibility with new minus batch separator 1.7.0 (20.3.2014) - disabled gpg key id plausibility check, too many valid possibilities - featreq 7 "Halt if precondition fails": added and(+), or(-) batch command(separator) support - featreq 26 "pre/post script with shebang line": if a script is flagged executable it's executed in a subshell now as opposed to sourced to bash, which is the default - bugfix: do not check if dpbx, swift credentials are set anymore - bugfix: properly escape profile name, archdir if used as arguments - add DUPL_PRECMD conf setting for use with e.g. trickle
40 lines
1.4 KiB
Nix
40 lines
1.4 KiB
Nix
{ stdenv, fetchurl, coreutils, python, duplicity, gawk, gnupg1, bash
|
|
, gnugrep, txt2man, makeWrapper
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "duply-1.7.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/ftplicity/duply%20%28simple%20duplicity%29/1.7.x/duply_1.7.3.tgz";
|
|
sha256 = "1lq5gwz69l8g4ki4anvmjdngbs9nin124j1zb9kbcnqj0s5jkbp0";
|
|
};
|
|
|
|
buildInputs = [ txt2man makeWrapper ];
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out/bin"
|
|
mkdir -p "$out/share/man/man1"
|
|
sed -i 's|/usr/bin/env bash|${bash}/bin/bash|' duply
|
|
mv duply "$out/bin"
|
|
wrapProgram "$out/bin/duply" --set PATH \
|
|
"${coreutils}/bin:${python}/bin:${duplicity}/bin:${gawk}/bin:${gnupg1}/bin:${bash}/bin:${gnugrep}/bin:${txt2man}/bin"
|
|
"$out/bin/duply" txt2man | gzip -c > "$out/share/man/man1/duply.1.gz"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Shell front end for the duplicity backup tool";
|
|
longDescription = ''
|
|
Duply is a shell front end for the duplicity backup tool
|
|
http://duplicity.nongnu.org/. It greatly simplifies it's usage by
|
|
implementing backup job profiles, batch commands and more. Who says
|
|
secure backups on non-trusted spaces are no child's play?
|
|
'';
|
|
homepage = http://duply.net/;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|