From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 70684@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
Rodion Goritskov <rodion.goritskov@gmail.com>
Subject: [bug#70684] [PATCH v2 2/9] gnu: Add go-github-com-google-go-tpm.
Date: Thu, 4 Jul 2024 12:10:52 +0100 [thread overview]
Message-ID: <b7344da1d328e2e2934fd19e305a2638da8664a0.1720090727.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1720090727.git.sharlatanus@gmail.com>
From: Rodion Goritskov <rodion.goritskov@gmail.com>
* gnu/packages/golang-crypto.scm (go-github-com-google-go-tpm-legacy-tpm2): New variable.
* gnu/packages/golang-crypto.scm (go-github-com-google-go-tpm-tpmutil): New variable.
Change-Id: Ib7b640dcb4ea6b87fca1d320f044315620f7e5f3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/golang-crypto.scm | 41 ++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index ddeb79badf..5dbc9a6ae4 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -578,6 +578,47 @@ (define-public go-github-com-golang-jwt-jwt-v5
#:go go-1.18
#:import-path "github.com/golang-jwt/jwt/v5"))))
+(define-public go-github-com-google-go-tpm
+ (package
+ (name "go-github-com-google-go-tpm")
+ (version "0.9.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/go-tpm")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1c5j5cvwl45ka93nknmv454ivd7kp9n8yql19gr6z01z0s1ph7sg"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.22
+ #:import-path "github.com/google/go-tpm"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: Break cycle:
+ ;; github.com/google/go-tpm/tpm2/transport/simulator/simulator.go ->
+ ;; github.com/google/go-tpm-tools -> github.com/google/go-tpm.
+ ;; Consider to add required inputs on dependent package.
+ (delete 'build)
+ (delete 'check))))
+ (home-page "https://github.com/google/go-tpm")
+ (synopsis "Go-TPM Legacy TPM 2.0 library")
+ (description
+ "Go-TPM is a Go library that communicates directly with a
+@acronym{Trusted Platform Module, TPM} device. The libraries don't implement
+the entire spec for neither 1.2 nor 2.0. This package provides following
+submodules:
+@itemize
+@item @code{tpm} - TPM 1.2 client library
+@item @code{tpm2} - TPM 2.0 client library.
+@item @code{direct} - the prototype \"TPMDirect\" TPM 2.0 API, which is
+intended to (eventually) be 1:1 with the TPM 2.0 spec
+@end itemize")
+ (license license:asl2.0)))
+
;; It's not public for purpose, as it contains a lot of golang modules which
;; may be inherited from the single source, but the package itself does not
;; have to be installed directly or linked to other packages..
--
2.41.0
next prev parent reply other threads:[~2024-07-04 11:13 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 20:18 [bug#70684] [PATCH go-team 0/6] Update miniflux to 2.1.3 Rodion Goritskov
2024-04-30 20:42 ` [bug#70684] [PATCH go-team 1/6] gnu: go-github-com-andybalholm-brotli: Update to 1.1.0 Rodion Goritskov
2024-04-30 20:42 ` [bug#70684] [PATCH go-team 2/6] gnu: Add go-github-com-google-go-tpm Rodion Goritskov
2024-04-30 20:42 ` [bug#70684] [PATCH go-team 3/6] gnu: Add go-github-com-x448-float16 Rodion Goritskov
2024-04-30 20:42 ` [bug#70684] [PATCH go-team 4/6] gnu: Add go-github-com-abadojack-whatlanggo and go-github-com-fxamacker-cbor-v2 Rodion Goritskov
2024-04-30 20:42 ` [bug#70684] [PATCH go-team 5/6] gnu: Add go-github-com-go-webauthn Rodion Goritskov
2024-04-30 20:42 ` [bug#70684] [PATCH go-team 6/6] gnu: miniflux: Update to 2.1.3 Rodion Goritskov
2024-05-02 22:13 ` [bug#70684] [PATCH go-team 0/6] Update miniflux " Sharlatan Hellseher
2024-05-07 19:22 ` Rodion Goritskov
2024-07-04 11:10 ` [bug#70684] [PATCH v2 0/9] " Sharlatan Hellseher
2024-07-04 11:10 ` [bug#70684] [PATCH v2 1/9] gnu: go-github-com-andybalholm-brotli: Update to 1.1.0 Sharlatan Hellseher
2024-07-04 11:10 ` Sharlatan Hellseher [this message]
2024-07-04 11:10 ` [bug#70684] [PATCH v2 3/9] gnu: Add go-github-com-x448-float16 Sharlatan Hellseher
2024-07-04 11:10 ` [bug#70684] [PATCH v2 4/9] gnu: Add go-github-com-abadojack-whatlanggo Sharlatan Hellseher
2024-07-04 11:10 ` [bug#70684] [PATCH v2 5/9] gnu: Add go-github-com-fxamacker-cbor-v2 Sharlatan Hellseher
2024-07-04 11:10 ` [bug#70684] [PATCH v2 6/9] gnu: Add go-github-com-go-webauthn-x Sharlatan Hellseher
2024-07-04 11:10 ` [bug#70684] [PATCH v2 7/9] gnu: Add go-github-com-go-webauthn-webauthn Sharlatan Hellseher
2024-07-04 11:10 ` [bug#70684] [PATCH v2 8/9] gnu: miniflux: Update to 2.1.3 Sharlatan Hellseher
2024-07-04 11:10 ` [bug#70684] [PATCH v2 9/9] gnu: miniflux: Adjust indentation Sharlatan Hellseher
2024-07-11 12:12 ` bug#70684: [PATCH go-team 0/6] Update miniflux to 2.1.3 Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b7344da1d328e2e2934fd19e305a2638da8664a0.1720090727.git.sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=70684@debbugs.gnu.org \
--cc=rodion.goritskov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).