gnu: duplicity: Wrap for GI_TYPELIB_PATH.
* gnu/packages/backup.scm (duplicity) [native-inputs]: Add gobject-introspection. [inputs]: Add bash-minimal. [#:phases]: Add 'gi-wrap. Change-Id: If9d6a6bb0e855a4d775c1e4adb3b07f71be43090 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>master
parent
2e7d78b1f0
commit
f5f345153c
|
@ -118,6 +118,7 @@
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list gettext-minimal ; for msgfmt
|
(list gettext-minimal ; for msgfmt
|
||||||
|
gobject-introspection
|
||||||
util-linux ; setsid command, for the tests
|
util-linux ; setsid command, for the tests
|
||||||
par2cmdline
|
par2cmdline
|
||||||
python-fasteners
|
python-fasteners
|
||||||
|
@ -132,7 +133,8 @@
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-lockfile python-pygobject python-urllib3))
|
(list python-lockfile python-pygobject python-urllib3))
|
||||||
(inputs
|
(inputs
|
||||||
(list dbus ; dbus-launch (Gio backend)
|
(list bash-minimal ; to run the wrapped program
|
||||||
|
dbus ; dbus-launch (Gio backend)
|
||||||
librsync
|
librsync
|
||||||
lftp
|
lftp
|
||||||
gnupg ; gpg executable needed
|
gnupg ; gpg executable needed
|
||||||
|
@ -172,7 +174,12 @@
|
||||||
"share/zoneinfo"))
|
"share/zoneinfo"))
|
||||||
;; Some things respect TMPDIR, others hard-code /tmp, and the
|
;; Some things respect TMPDIR, others hard-code /tmp, and the
|
||||||
;; defaults don't match up, breaking test_restart. Fix it.
|
;; defaults don't match up, breaking test_restart. Fix it.
|
||||||
(setenv "TMPDIR" "/tmp"))))))
|
(setenv "TMPDIR" "/tmp")))
|
||||||
|
(add-after 'wrap 'gi-wrap
|
||||||
|
(lambda _
|
||||||
|
(let ((prog (string-append #$output "/bin/duplicity")))
|
||||||
|
(wrap-program prog
|
||||||
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
|
||||||
(home-page "https://duplicity.gitlab.io/duplicity-web/")
|
(home-page "https://duplicity.gitlab.io/duplicity-web/")
|
||||||
(synopsis "Encrypted backup using rsync algorithm")
|
(synopsis "Encrypted backup using rsync algorithm")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue