gnu: borgmatic: Fix build.

* gnu/packages/backup.scm (borgmatic)
[arguments]<tests?>: Disable them as all failing
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I2bd80ff1943547c66174357371b128be8a580384
This commit is contained in:
Sharlatan Hellseher 2024-12-16 13:02:40 +00:00
parent 6a6e2cce69
commit 323ab17caf
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1338,6 +1338,9 @@ compression parameters used by Gzip.")
(build-system pyproject-build-system)
(arguments
(list
;; XXX: all tests fail with error: AttributeError: module
;; '_pytest.runner' has no attribute 'call_runtest_hook'.
#:tests? #f
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
@ -1358,13 +1361,19 @@ compression parameters used by Gzip.")
(setenv "PATH"
(string-append #$output "/bin" ":"
(getenv "PATH"))))))))
(inputs (list borg
python-apprise
python-colorama
python-jsonschema
python-requests
python-ruamel.yaml))
(native-inputs (list python-flexmock python-pytest python-pytest-cov))
(native-inputs
(list python-flexmock
python-pytest
python-pytest-cov
python-setuptools
python-wheel))
(inputs
(list borg
python-apprise
python-colorama
python-jsonschema
python-requests
python-ruamel.yaml))
(home-page "https://torsion.org/borgmatic/")
(synopsis "Simple, configuration-driven backup software")
(description