mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: secrets: Update to 11.1.1.
* gnu/packages/gnome-circle.scm (secrets): Update to 11.1.1. [origin]: Indent uri. [#:phases]<python-and-gi-wrap>: Rename to… <wrap-binaries>: … this. Also wrap “GSETTINGS_SCHEMA_DIR”. <add-install-to-pythonpath>: New phase. <check>: Move after ‘glib-or-gtk-compile-schemas’. <set-search-path>: New phase. [native-inputs]: Add python and python-pytest. [inputs]: Add adwaita-icon-theme, gtksourceview, python-pycairo, python-pykcs11, python-validators, python-yubico, and python-zxcvbn-rs-py. Change-Id: I320953627d8692a673e27ae0af689f06d404169a Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
committed by
Liliana Marie Prikler
parent
75fb391090
commit
e4bbafdf63
@@ -60,6 +60,7 @@
|
|||||||
#:use-module (gnu packages python-web)
|
#:use-module (gnu packages python-web)
|
||||||
#:use-module (gnu packages python-xyz)
|
#:use-module (gnu packages python-xyz)
|
||||||
#:use-module (gnu packages rust)
|
#:use-module (gnu packages rust)
|
||||||
|
#:use-module (gnu packages security-token)
|
||||||
#:use-module (gnu packages sqlite)
|
#:use-module (gnu packages sqlite)
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls)
|
||||||
#:use-module (gnu packages web)
|
#:use-module (gnu packages web)
|
||||||
@@ -1011,16 +1012,16 @@ graphical applications and processes.")
|
|||||||
(define-public secrets
|
(define-public secrets
|
||||||
(package
|
(package
|
||||||
(name "secrets")
|
(name "secrets")
|
||||||
(version "6.5")
|
(version "11.1.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://gitlab.gnome.org/World/secrets")
|
(url "https://gitlab.gnome.org/World/secrets")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "11jd9f0d3fyrs29p8cyzb6i2ib6mzhwwvjnznl55gkggrgnrcb8z"))))
|
(base32 "1lhj19zqwb12grrbh5xhgiilmr394s86vl1cqn4ix70zfd40wsy3"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
@@ -1038,30 +1039,49 @@ graphical applications and processes.")
|
|||||||
(("gtk_update_icon_cache: true")
|
(("gtk_update_icon_cache: true")
|
||||||
"gtk_update_icon_cache: false"))
|
"gtk_update_icon_cache: false"))
|
||||||
(setenv "DESTDIR" "/")))
|
(setenv "DESTDIR" "/")))
|
||||||
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
(add-after 'glib-or-gtk-wrap 'wrap-binaries
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(wrap-program (search-input-file outputs "bin/secrets")
|
(wrap-program (search-input-file outputs "bin/secrets")
|
||||||
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
|
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
|
||||||
,(py:site-packages inputs outputs)))
|
,(py:site-packages inputs outputs)))
|
||||||
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
|
||||||
|
`("GSETTINGS_SCHEMA_DIR" =
|
||||||
|
(,(string-append #$output "/share/glib-2.0/schemas"))))))
|
||||||
|
(add-after 'install 'add-install-to-pythonpath
|
||||||
|
(assoc-ref py:%standard-phases 'add-install-to-pythonpath))
|
||||||
|
(delete 'check)
|
||||||
|
(add-after 'glib-or-gtk-compile-schemas 'check
|
||||||
|
(assoc-ref %standard-phases 'check))
|
||||||
|
(add-before 'check 'set-search-path
|
||||||
|
(lambda _
|
||||||
|
(setenv "GSETTINGS_SCHEMA_DIR" (string-append #$output "/share/glib-2.0/schemas/")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list desktop-file-utils
|
(list desktop-file-utils
|
||||||
gettext-minimal
|
gettext-minimal
|
||||||
`(,glib "bin")
|
`(,glib "bin")
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
pkg-config))
|
pkg-config
|
||||||
|
python
|
||||||
|
python-pytest))
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal
|
(list adwaita-icon-theme
|
||||||
|
bash-minimal
|
||||||
glib
|
glib
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk
|
gtk
|
||||||
|
gtksourceview
|
||||||
libadwaita
|
libadwaita
|
||||||
libhandy
|
libhandy
|
||||||
libpwquality
|
libpwquality
|
||||||
python
|
python
|
||||||
|
python-pycairo
|
||||||
python-pygobject
|
python-pygobject
|
||||||
|
python-pykcs11
|
||||||
python-pykeepass
|
python-pykeepass
|
||||||
python-pyotp))
|
python-pyotp
|
||||||
|
python-validators
|
||||||
|
python-yubico
|
||||||
|
python-zxcvbn-rs-py))
|
||||||
(home-page "https://gitlab.gnome.org/World/secrets")
|
(home-page "https://gitlab.gnome.org/World/secrets")
|
||||||
(synopsis "Password manager for the GNOME desktop")
|
(synopsis "Password manager for the GNOME desktop")
|
||||||
(description
|
(description
|
||||||
|
|||||||
Reference in New Issue
Block a user