From f036c069ed56db36f22a9ba01fd4042a1dc2373a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 7 Jan 2016 23:43:52 +0100 Subject: [PATCH] borgbackup: 0.27.0 -> 0.29.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘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 --- pkgs/tools/backup/borg/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/backup/borg/default.nix b/pkgs/tools/backup/borg/default.nix index df3523322e8..a68a5a7313e 100644 --- a/pkgs/tools/backup/borg/default.nix +++ b/pkgs/tools/backup/borg/default.nix @@ -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 ]; }; }