f036c069ed
‘When upgrading to 0.29.0 you need to upgrade client as well as server installations due to the locking and commandline interface changes otherwise you’ll get an error msg about a RPC protocol mismatch or a wrong commandline option. if you run a server that needs to support both old and new clients, it is suggested that you have a “borg-0.28.2” and a “borg-0.29.0” command. clients then can choose via e.g. “borg –remote-path=borg-0.29.0 ...”.’ ‘The default waiting time for a lock changed from infinity to 1 second for a better interactive user experience. if the repo you want to access is currently locked, borg will now terminate after 1s with an error message. if you have scripts that shall wait for the lock for a longer time, use –lock-wait N (with N being the maximum wait time in seconds).’ All changes: http://borgbackup.readthedocs.org/en/stable/changes.html
29 lines
889 B
Nix
29 lines
889 B
Nix
{ stdenv, fetchurl, python3Packages, openssl, acl, lz4 }:
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
name = "borgbackup-${version}";
|
|
version = "0.29.0";
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "https://pypi.python.org/packages/source/b/borgbackup/borgbackup-${version}.tar.gz";
|
|
sha256 = "1gvx036a7j16hd5rg8cr3ibiig7gwqhmddrilsakcw4wnfimjy5m";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages;
|
|
[ cython msgpack openssl acl llfuse tox detox lz4 setuptools_scm ];
|
|
|
|
preConfigure = ''
|
|
export BORG_OPENSSL_PREFIX="${openssl}"
|
|
export BORG_LZ4_PREFIX="${lz4}"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A deduplicating backup program (attic fork)";
|
|
homepage = https://borgbackup.github.io/;
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
|
|
maintainers = with maintainers; [ nckx ];
|
|
};
|
|
}
|