* [bug#63179] [PATCH 0/2] Update browserpass-native
@ 2023-04-29 21:26 Timotej Lazar
2023-04-29 21:28 ` [bug#63179] [PATCH 1/2] gnu: browserpass-native: Update to 3.1.0 Timotej Lazar
2023-06-14 21:34 ` bug#63179: [PATCH 0/2] Update browserpass-native Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Timotej Lazar @ 2023-04-29 21:26 UTC (permalink / raw)
To: 63179; +Cc: Timotej Lazar
Hi, this updates browserpass-native and switches it to the new style.
Thanks!
Timotej Lazar (2):
gnu: browserpass-native: Update to 3.1.0.
gnu: browserpass-native: Use new package style.
gnu/packages/password-utils.scm | 79 +++++++++++++++------------------
1 file changed, 35 insertions(+), 44 deletions(-)
base-commit: 8fe5ed47cbbb6ae6ed00afa8d8b4f04e216d5adc
--
2.39.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#63179] [PATCH 1/2] gnu: browserpass-native: Update to 3.1.0.
2023-04-29 21:26 [bug#63179] [PATCH 0/2] Update browserpass-native Timotej Lazar
@ 2023-04-29 21:28 ` Timotej Lazar
2023-04-29 21:28 ` [bug#63179] [PATCH 2/2] gnu: browserpass-native: Use new package style Timotej Lazar
2023-06-14 21:34 ` bug#63179: [PATCH 0/2] Update browserpass-native Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Timotej Lazar @ 2023-04-29 21:28 UTC (permalink / raw)
To: 63179; +Cc: Timotej Lazar
* gnu/packages/password-utils.scm (browserpass-native): Update to 3.1.0.
[inputs]: Add bash-minimal.
---
gnu/packages/password-utils.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index f5f301308a..17427bc07c 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -75,6 +75,7 @@ (define-module (gnu packages password-utils)
#:use-module (gnu packages authentication)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
@@ -898,7 +899,7 @@ (define-public tessen
(define-public browserpass-native
(package
(name "browserpass-native")
- (version "3.0.7")
+ (version "3.1.0")
(source
(origin
(method git-fetch)
@@ -907,8 +908,7 @@ (define-public browserpass-native
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "1jkjslbbac49xjyjkc2b07phdm3i64z40kh6h55cl22dxjmpp1nb"))))
+ (base32 "1if72k526sqqxnw250qwxvzwvh1w0k8ag4p4xq3442b22hywx72i"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/browserpass/browserpass-native"
@@ -954,7 +954,7 @@ (define-public browserpass-native
(native-inputs
(list which))
(inputs
- (list gnupg go-github-com-mattn-go-zglob
+ (list bash-minimal gnupg go-github-com-mattn-go-zglob
go-github-com-rifflock-lfshook go-github-com-sirupsen-logrus
go-golang-org-x-sys))
(home-page "https://github.com/browserpass/browserpass-native")
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#63179] [PATCH 2/2] gnu: browserpass-native: Use new package style.
2023-04-29 21:28 ` [bug#63179] [PATCH 1/2] gnu: browserpass-native: Update to 3.1.0 Timotej Lazar
@ 2023-04-29 21:28 ` Timotej Lazar
0 siblings, 0 replies; 4+ messages in thread
From: Timotej Lazar @ 2023-04-29 21:28 UTC (permalink / raw)
To: 63179; +Cc: Timotej Lazar
* gnu/packages/password-utils.scm (browserpass-native)[arguments]: Use
gexps. Drop trailing #t from phases.
---
gnu/packages/password-utils.scm | 71 ++++++++++++++-------------------
1 file changed, 31 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 17427bc07c..0a3f2551c9 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -911,46 +911,37 @@ (define-public browserpass-native
(base32 "1if72k526sqqxnw250qwxvzwvh1w0k8ag4p4xq3442b22hywx72i"))))
(build-system go-build-system)
(arguments
- `(#:import-path "github.com/browserpass/browserpass-native"
- #:install-source? #f
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'patch-makefile
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- ;; This doesn't go in #:make-flags because the Makefile itself
- ;; gets installed.
- (substitute*
- "src/github.com/browserpass/browserpass-native/Makefile"
- (("PREFIX \\?= /usr")
- (string-append "PREFIX ?= " out)))
- #t)))
- (add-before 'build 'configure
- (lambda _
- (with-directory-excursion
- "src/github.com/browserpass/browserpass-native"
- (invoke "make" "configure"))
- #t))
- (replace 'build
- (lambda _
- (with-directory-excursion
- "src/github.com/browserpass/browserpass-native"
- (invoke "make"))
- #t))
- (replace 'install
- (lambda _
- (with-directory-excursion
- "src/github.com/browserpass/browserpass-native"
- (invoke "make" "install"))
- #t))
- (add-after 'install 'wrap-executable
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (gnupg (assoc-ref inputs "gnupg")))
- (wrap-program (string-append out "/bin/browserpass")
- `("PATH" ":" prefix
- (,(string-append gnupg "/bin"))))
- #t))))))
+ (list #:import-path "github.com/browserpass/browserpass-native"
+ #:install-source? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'patch-makefile
+ (lambda _
+ ;; This doesn't go in #:make-flags because the Makefile
+ ;; itself gets installed.
+ (substitute* "src/github.com/browserpass/browserpass-native/Makefile"
+ (("PREFIX \\?= /usr")
+ (string-append "PREFIX ?= " #$output)))))
+ (add-before 'build 'configure
+ (lambda _
+ (with-directory-excursion
+ "src/github.com/browserpass/browserpass-native"
+ (invoke "make" "configure"))))
+ (replace 'build
+ (lambda _
+ (with-directory-excursion
+ "src/github.com/browserpass/browserpass-native"
+ (invoke "make"))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion
+ "src/github.com/browserpass/browserpass-native"
+ (invoke "make" "install"))))
+ (add-after 'install 'wrap-executable
+ (lambda _
+ (wrap-program (string-append #$output "/bin/browserpass")
+ `("PATH" ":" prefix
+ (,(string-append #$(this-package-input "gnupg") "/bin")))))))))
(native-inputs
(list which))
(inputs
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#63179: [PATCH 0/2] Update browserpass-native
2023-04-29 21:26 [bug#63179] [PATCH 0/2] Update browserpass-native Timotej Lazar
2023-04-29 21:28 ` [bug#63179] [PATCH 1/2] gnu: browserpass-native: Update to 3.1.0 Timotej Lazar
@ 2023-06-14 21:34 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-06-14 21:34 UTC (permalink / raw)
To: Timotej Lazar; +Cc: 63179-done
Hi,
Timotej Lazar <timotej.lazar@araneo.si> skribis:
> gnu: browserpass-native: Update to 3.1.0.
> gnu: browserpass-native: Use new package style.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-06-14 21:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-29 21:26 [bug#63179] [PATCH 0/2] Update browserpass-native Timotej Lazar
2023-04-29 21:28 ` [bug#63179] [PATCH 1/2] gnu: browserpass-native: Update to 3.1.0 Timotej Lazar
2023-04-29 21:28 ` [bug#63179] [PATCH 2/2] gnu: browserpass-native: Use new package style Timotej Lazar
2023-06-14 21:34 ` bug#63179: [PATCH 0/2] Update browserpass-native Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.