3
0
Fork 0
forked from mirrors/nixpkgs

borgbackup: 0.27.0 -> 0.29.0

‘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
This commit is contained in:
Tobias Geerinckx-Rice 2016-01-07 23:43:52 +01:00
parent 3d3ccd4a15
commit f036c069ed

View file

@ -2,12 +2,12 @@
python3Packages.buildPythonPackage rec {
name = "borgbackup-${version}";
version = "0.27.0";
version = "0.29.0";
namePrefix = "";
src = fetchurl {
url = "https://pypi.python.org/packages/source/b/borgbackup/borgbackup-${version}.tar.gz";
sha256 = "04iizidag4fwy6kx1747d633s1amr81slgk743qsfbwixaxfjq9b";
sha256 = "1gvx036a7j16hd5rg8cr3ibiig7gwqhmddrilsakcw4wnfimjy5m";
};
propagatedBuildInputs = with python3Packages;
@ -16,8 +16,6 @@ python3Packages.buildPythonPackage rec {
preConfigure = ''
export BORG_OPENSSL_PREFIX="${openssl}"
export BORG_LZ4_PREFIX="${lz4}"
# note: fix for this issue already upstream and probably in 0.27.1 (or whatever the next release is called)
substituteInPlace setup.py --replace "possible_openssl_prefixes.insert(0, os.environ.get('BORG_LZ4_PREFIX'))" "possible_lz4_prefixes.insert(0, os.environ.get('BORG_LZ4_PREFIX'))"
'';
meta = with stdenv.lib; {
@ -25,5 +23,6 @@ python3Packages.buildPythonPackage rec {
homepage = https://borgbackup.github.io/;
license = licenses.bsd3;
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
maintainers = with maintainers; [ nckx ];
};
}