unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Rodion Goritskov <rodion.goritskov@gmail.com>
To: 70684@debbugs.gnu.org
Cc: Rodion Goritskov <rodion.goritskov@gmail.com>,
	cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com
Subject: [bug#70684] [PATCH go-team 2/6] gnu: Add go-github-com-google-go-tpm.
Date: Wed,  1 May 2024 00:42:42 +0400	[thread overview]
Message-ID: <98d146f6066026b021231119f93b87184149d195.1714508305.git.rodion.goritskov@gmail.com> (raw)
In-Reply-To: <cover.1714508304.git.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
---
 gnu/packages/golang-crypto.scm | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 53ae308219..584755dc70 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -473,6 +473,57 @@ (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-legacy-tpm2
+  (package
+    (name "go-github-com-google-go-tpm-legacy-tpm2")
+    (version "0.9.0")
+    (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 "1pv77fmlxrnxasj6fjvzrv9yaf2qb45x1zss3nbsdvzgpwviaiyi"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:unpack-path "github.com/google/go-tpm"
+      #:import-path "github.com/google/go-tpm/legacy/tpm2"))
+    (propagated-inputs (list go-golang-org-x-sys))
+    (home-page "https://github.com/google/go-tpm")
+    (synopsis "Go-TPM Legacy TPM 2.0 library")
+    (description
+     "Legacy TPM 2.0 library for directly communicating with a TPM device.")
+    (license license:asl2.0)))
+
+(define-public go-github-com-google-go-tpm-tpmutil
+  (package
+    (name "go-github-com-google-go-tpm-tpmutil")
+    (version "0.9.0")
+    (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 "1pv77fmlxrnxasj6fjvzrv9yaf2qb45x1zss3nbsdvzgpwviaiyi"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:unpack-path "github.com/google/go-tpm"
+      #:import-path "github.com/google/go-tpm/tpmutil"))
+    (propagated-inputs (list go-golang-org-x-sys))
+    (home-page "https://github.com/google/go-tpm")
+    (synopsis "Go-TPM TPM util")
+    (description
+     "Useful utilities for a Go-TPM library
+that communicates directly with a TPM device.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-gxed-hashland-keccakpg
   (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
         (revision "0"))
-- 
2.41.0





  parent reply	other threads:[~2024-04-30 20:44 UTC|newest]

Thread overview: 9+ 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 ` Rodion Goritskov [this message]
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

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=98d146f6066026b021231119f93b87184149d195.1714508305.git.rodion.goritskov@gmail.com \
    --to=rodion.goritskov@gmail.com \
    --cc=70684@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=sharlatanus@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).