me
/
guix
Archived
1
0
Fork 0

gnu: borgmatic: Update to 1.8.9.

* gnu/packages/backup.scm (borgmatic): Update to 1.8.9.
[arguments]: Apply guix style.
[native-inputs]: Apply guix style.
[inputs]: Apply guix style.

Change-Id: Ic9eb3c9439dc0aade3e4aae0fbe8e2c7bec49754
Signed-off-by: jgart <jgart@dismail.de>
master
Fabio Natali 2024-03-31 15:50:21 -05:00 committed by jgart
parent 16c7130835
commit 470fa47daa
No known key found for this signature in database
GPG Key ID: A52AA2B477B6DD35
1 changed files with 32 additions and 29 deletions

View File

@ -1315,17 +1315,17 @@ compression parameters used by Gzip.")
(define-public borgmatic (define-public borgmatic
(package (package
(name "borgmatic") (name "borgmatic")
(version "1.7.12") (version "1.8.9")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "borgmatic" version)) (uri (pypi-uri "borgmatic" version))
(sha256 (sha256
(base32 "0720wvs3h2w8h28d7mpvjfp0q37dnrwf1y2ik3y4yr9csih7fmgh")))) (base32 "1xmqv0gg2ic7lp5kmygr9f6qkabsr86mma7pigan12vk2bcdbw31"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
(list #:phases (list
#~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(add-after 'unpack 'configure (add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
;; Set absolute store path to borg. ;; Set absolute store path to borg.
@ -1343,14 +1343,17 @@ compression parameters used by Gzip.")
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
;; Tests require the installed executable. ;; Tests require the installed executable.
(setenv "PATH" (string-append #$output "/bin" (setenv "PATH"
":" (getenv "PATH"))) (string-append #$output "/bin" ":"
(getenv "PATH")))
(invoke "pytest"))))))) (invoke "pytest")))))))
(inputs (inputs (list borg
(list borg python-colorama python-jsonschema python-requests python-apprise
python-ruamel.yaml-0.16)) python-colorama
(native-inputs python-jsonschema
(list python-flexmock python-pytest python-pytest-cov)) python-requests
python-ruamel.yaml))
(native-inputs (list python-flexmock python-pytest python-pytest-cov))
(home-page "https://torsion.org/borgmatic/") (home-page "https://torsion.org/borgmatic/")
(synopsis "Simple, configuration-driven backup software") (synopsis "Simple, configuration-driven backup software")
(description (description