about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-07 23:43:52 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-08 01:36:32 +0100
commitf036c069ed56db36f22a9ba01fd4042a1dc2373a (patch)
tree064424634cff0308631f34402d468444f48ed285 /pkgs
parent3d3ccd4a1500c9e7acc3e3c377edcc5bbd0618f3 (diff)
downloadnixlib-f036c069ed56db36f22a9ba01fd4042a1dc2373a.tar
nixlib-f036c069ed56db36f22a9ba01fd4042a1dc2373a.tar.gz
nixlib-f036c069ed56db36f22a9ba01fd4042a1dc2373a.tar.bz2
nixlib-f036c069ed56db36f22a9ba01fd4042a1dc2373a.tar.lz
nixlib-f036c069ed56db36f22a9ba01fd4042a1dc2373a.tar.xz
nixlib-f036c069ed56db36f22a9ba01fd4042a1dc2373a.tar.zst
nixlib-f036c069ed56db36f22a9ba01fd4042a1dc2373a.zip
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
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/backup/borg/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/tools/backup/borg/default.nix b/pkgs/tools/backup/borg/default.nix
index df3523322e86..a68a5a7313e5 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 ];
   };
 }