[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
149/181: gnu: passwordsafe: Rename to secrets and update to 6.5.
From: |
guix-commits |
Subject: |
149/181: gnu: passwordsafe: Rename to secrets and update to 6.5. |
Date: |
Tue, 13 Sep 2022 02:26:23 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 0ef4c18fba9e662004afb709bc46242c81f6898a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Sep 10 02:52:54 2022 -0400
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.
---
gnu/packages/gnome.scm | 62 +++++++++++++++++++++++++++++---------------------
1 file changed, 36 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 87d464e073..6da9a93e49 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11095,10 +11095,10 @@ photo-booth-like software, such as Cheese.")
apply fancy special effects and lets you share the fun with others.")
(license license:gpl2+)))
-(define-public passwordsafe
+(define-public secrets
(package
- (name "passwordsafe")
- (version "5.1")
+ (name "secrets")
+ (version "6.5")
(source
(origin
(method git-fetch)
@@ -11107,49 +11107,59 @@ apply fancy special effects and lets you share the
fun with others.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0kd43j6i017wdsqj6d5gnxhfv4ijnh3xahlw7md2gh51i8p682j6"))))
+ (base32 "11jd9f0d3fyrs29p8cyzb6i2ib6mzhwwvjnznl55gkggrgnrcb8z"))))
(build-system meson-build-system)
(arguments
- (list #:glib-or-gtk? #t
- #:meson meson-0.59
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((prog (string-append #$output
- "/bin/gnome-passwordsafe"))
- (pylib (string-append
- #$output "/lib/python"
- #$(version-major+minor
- (package-version (this-package-input
"python")))
- "/site-packages")))
- (wrap-program prog
- `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
,pylib))
- `("GI_TYPELIB_PATH" = (,(getenv
"GI_TYPELIB_PATH"))))))))))
+ (list
+ #:glib-or-gtk? #t
+ #:imported-modules `(,@%meson-build-system-modules
+ (guix build python-build-system))
+ #:modules '((guix build meson-build-system)
+ ((guix build python-build-system) #:prefix python:)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-postinstall-script
+ (lambda _
+ (substitute* "meson.build"
+ (("gtk_update_icon_cache: true")
+ "gtk_update_icon_cache: false"))
+ (setenv "DESTDIR" "/")))
+ (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
(list desktop-file-utils
gettext-minimal
`(,glib "bin")
gobject-introspection
- `(,gtk+ "bin")
pkg-config))
(inputs
- (list glib
+ (list bash-minimal
+ glib
gsettings-desktop-schemas
- gtk+
+ gtk
+ libadwaita
libhandy
libpwquality
python
python-pygobject
- python-pykeepass))
- (home-page "https://gitlab.gnome.org/World/PasswordSafe")
+ python-pykeepass
+ python-pyotp))
+ (home-page "https://gitlab.gnome.org/World/secrets")
(synopsis "Password manager for the GNOME desktop")
(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
and uncluttered interface for the management of password databases.")
(license license:gpl3+)))
+(define-public passwordsafe
+ (deprecated-package "passwordsafe" secrets))
+
(define-public sound-juicer
(package
(name "sound-juicer")
- 103/181: gnu: python-liblarch: Update to 3.2.0 and apply guix style., (continued)
- 103/181: gnu: python-liblarch: Update to 3.2.0 and apply guix style., guix-commits, 2022/09/13
- 111/181: gnu: vala-next: Update to 0.56.3., guix-commits, 2022/09/13
- 122/181: gnu: eog: Update to 42.3., guix-commits, 2022/09/13
- 124/181: gnu: epiphany: Update to 42.4., guix-commits, 2022/09/13
- 129/181: gnu: shotwell: Update to 0.31.5., guix-commits, 2022/09/13
- 126/181: gnu: yelp: Update to 42.1., guix-commits, 2022/09/13
- 135/181: gnu: mobile-broadband-provider-info: Update to 20220725., guix-commits, 2022/09/13
- 139/181: gnu: nautilus: Update to 42.2 and enable tests., guix-commits, 2022/09/13
- 140/181: gnu: komikku: Update to 0.41.0., guix-commits, 2022/09/13
- 146/181: gnu: gspell: Update to 1.11.1., guix-commits, 2022/09/13
- 149/181: gnu: passwordsafe: Rename to secrets and update to 6.5.,
guix-commits <=
- 28/181: gnu: upower: Fix indentation., guix-commits, 2022/09/13
- 30/181: gnu: gnome-desktop: Update to 42.4 and remove input labels., guix-commits, 2022/09/13
- 31/181: gnu: libnma: Update to 1.10.2 and delete input labels., guix-commits, 2022/09/13
- 39/181: gnu: gdm: Update to 42.0., guix-commits, 2022/09/13
- 49/181: gnu: cups-pk-helper: Replace polkit with polkit-duktape., guix-commits, 2022/09/13
- 55/181: gnu: gnome-online-accounts: Update to 3.45.2, remove "lib" output., guix-commits, 2022/09/13
- 68/181: gnu: gnome-user-docs: Update to 42.0., guix-commits, 2022/09/13
- 100/181: gnu: blueprint-compiler: Update to 0.4.0., guix-commits, 2022/09/13
- 94/181: gnu: phodav: Update to 3.0., guix-commits, 2022/09/13
- 128/181: gnu: gexiv2: Update to 0.14.0., guix-commits, 2022/09/13