mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: borg: Update to 1.1.5.
* gnu/packages/backup.scm (borg): Update to 1.1.5. [arguments]: Allow a more recent msgpack in an 'adjust-msgpack-dependency' phase.
This commit is contained in:
parent
66939d59ed
commit
620ab3a50c
1 changed files with 13 additions and 2 deletions
|
@ -453,13 +453,13 @@ (define-public libchop
|
|||
(define-public borg
|
||||
(package
|
||||
(name "borg")
|
||||
(version "1.1.4")
|
||||
(version "1.1.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "borgbackup" version))
|
||||
(sha256
|
||||
(base32 "1cicqwh85wfp65y00qaq6q4i4jcyy9b66qz5gpl80qc880wab912"))
|
||||
(base32 "0gbdnq7ks46diz6y2pf6wpwkb9hy6hp3immi7jg3h7w72b3ycmj3"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
|
@ -491,6 +491,17 @@ (define-public borg
|
|||
;; HOME=/homeless-shelter.
|
||||
(setenv "HOME" "/tmp")
|
||||
#t)))
|
||||
;; Later versions of msgpack were disallowed to some warnings and lack
|
||||
;; of support for Python versions that we don't support anyways. So,
|
||||
;; it's okay to to keep using more recents versions of msgpack for
|
||||
;; Borg. Also see the note about msgpack in the list of inputs.
|
||||
;; https://github.com/borgbackup/borg/issues/3517#issuecomment-357221978
|
||||
(add-before 'build 'adjust-msgpack-dependency
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("msgpack-python>=0.4.6,<0.5.0")
|
||||
"msgpack-python>=0.4.6"))
|
||||
#t))
|
||||
;; The tests need to be run after Borg is installed.
|
||||
(delete 'check)
|
||||
(add-after 'install 'check
|
||||
|
|
Loading…
Reference in a new issue