GNU bug report logs -
#76162
[PATCH] gnu: Add go-github-com-jphastings-jwker.
Previous Next
Reported by: Roman Scherer <roman <at> burningswell.com>
Date: Sun, 9 Feb 2025 18:50:01 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 76162-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi
Thank you for the patch.
I've adjusted it to build library and executable in 2 separate packages.
--8<---------------cut here---------------start------------->8---
modified gnu/packages/golang-crypto.scm
@@ -1275,15 +1275,15 @@ (define-public go-github-com-jphastings-jwker
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/jphastings/jwker/cmd/jwker"
- #:unpack-path "github.com/jphastings/jwker"))
- (propagated-inputs (list go-github-com-stretchr-testify))
+ #:import-path "github.com/jphastings/jwker"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(home-page "https://github.com/jphastings/jwker")
- (synopsis "Command line tool to easily convert keys between the PEM and
-JWK file formats")
- (description "This package provides a command line tool to convert keys
-between the @acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web
-Key}file formats.")
+ (synopsis "PEM -> JWK conversion tool")
+ (description
+ "This package implements a functionality to convert keys between the
+@acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web Key} file
+formats.")
(license license:expat)))
(define-public go-github-com-jzelinskie-whirlpool
@@ -2592,6 +2592,19 @@ (define-public age-keygen
#:unpack-path "filippo.io/age"
#:install-source? #f))))
+(define-public go-jwker
+ (package/inherit go-github-com-jphastings-jwker
+ (name "go-jwker")
+ (arguments
+ (list
+ #:tests? #f
+ #:install-source? #f
+ #:build-flags
+ #~(list (string-append "-ldflags=-X main.version="
+ #$(package-version this-package)))
+ #:unpack-path "github.com/jphastings/jwker"
+ #:import-path "github.com/jphastings/jwker/cmd/jwker"))))
+
(define-public go-keyring
(package
(inherit go-github-com-99designs-keyring)
--8<---------------cut here---------------end--------------->8---
Pushed to master as 5c9572a5e60d7e91ba5b182b1a80fc9ce42846a7.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 96 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.