gnu: passwordsafe: Rename to secrets and update to 6.5.
* gnu/packages/gnome.scm (passwordsafe): Deprecate in favor of... (secrets): ... this new variable. Update to 6.5. [meson]: Remove argument. [imported-modules, modules]: New arguments. [phases]{disable-postinstall-script}: Patch meson.build. {python-and-gi-wrap}: Use search-input-file. [native-inputs]: Remove gtk+:bin. [inputs]: replace gtk+ with gtk. Add bash-minimal, libadwaita and python-pyotp. [home-page]: Update URL. [description]: Adjust for renaming.
This commit is contained in:
parent
da4849e13b
commit
0ef4c18fba
1 changed files with 36 additions and 26 deletions
|
@ -11095,10 +11095,10 @@ photo-booth-like software, such as Cheese.")
|
||||||
apply fancy special effects and lets you share the fun with others.")
|
apply fancy special effects and lets you share the fun with others.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public passwordsafe
|
(define-public secrets
|
||||||
(package
|
(package
|
||||||
(name "passwordsafe")
|
(name "secrets")
|
||||||
(version "5.1")
|
(version "6.5")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -11107,49 +11107,59 @@ apply fancy special effects and lets you share the fun with others.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0kd43j6i017wdsqj6d5gnxhfv4ijnh3xahlw7md2gh51i8p682j6"))))
|
(base32 "11jd9f0d3fyrs29p8cyzb6i2ib6mzhwwvjnznl55gkggrgnrcb8z"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:glib-or-gtk? #t
|
(list
|
||||||
#:meson meson-0.59
|
#:glib-or-gtk? #t
|
||||||
#:phases
|
#:imported-modules `(,@%meson-build-system-modules
|
||||||
#~(modify-phases %standard-phases
|
(guix build python-build-system))
|
||||||
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
#:modules '((guix build meson-build-system)
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
((guix build python-build-system) #:prefix python:)
|
||||||
(let ((prog (string-append #$output
|
(guix build utils))
|
||||||
"/bin/gnome-passwordsafe"))
|
#:phases
|
||||||
(pylib (string-append
|
#~(modify-phases %standard-phases
|
||||||
#$output "/lib/python"
|
(add-after 'unpack 'disable-postinstall-script
|
||||||
#$(version-major+minor
|
(lambda _
|
||||||
(package-version (this-package-input "python")))
|
(substitute* "meson.build"
|
||||||
"/site-packages")))
|
(("gtk_update_icon_cache: true")
|
||||||
(wrap-program prog
|
"gtk_update_icon_cache: false"))
|
||||||
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
|
(setenv "DESTDIR" "/")))
|
||||||
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
|
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(wrap-program (search-input-file outputs "bin/secrets")
|
||||||
|
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
|
||||||
|
,(python:site-packages inputs outputs)))
|
||||||
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list desktop-file-utils
|
(list desktop-file-utils
|
||||||
gettext-minimal
|
gettext-minimal
|
||||||
`(,glib "bin")
|
`(,glib "bin")
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
`(,gtk+ "bin")
|
|
||||||
pkg-config))
|
pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
(list glib
|
(list bash-minimal
|
||||||
|
glib
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk+
|
gtk
|
||||||
|
libadwaita
|
||||||
libhandy
|
libhandy
|
||||||
libpwquality
|
libpwquality
|
||||||
python
|
python
|
||||||
python-pygobject
|
python-pygobject
|
||||||
python-pykeepass))
|
python-pykeepass
|
||||||
(home-page "https://gitlab.gnome.org/World/PasswordSafe")
|
python-pyotp))
|
||||||
|
(home-page "https://gitlab.gnome.org/World/secrets")
|
||||||
(synopsis "Password manager for the GNOME desktop")
|
(synopsis "Password manager for the GNOME desktop")
|
||||||
(description
|
(description
|
||||||
"Password Safe is a password manager which makes use of the KeePass v4
|
"Secrets is a password manager which makes use of the KeePass v4
|
||||||
format. It integrates perfectly with the GNOME desktop and provides an easy
|
format. It integrates perfectly with the GNOME desktop and provides an easy
|
||||||
and uncluttered interface for the management of password databases.")
|
and uncluttered interface for the management of password databases.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public passwordsafe
|
||||||
|
(deprecated-package "passwordsafe" secrets))
|
||||||
|
|
||||||
(define-public sound-juicer
|
(define-public sound-juicer
|
||||||
(package
|
(package
|
||||||
(name "sound-juicer")
|
(name "sound-juicer")
|
||||||
|
|
Reference in a new issue