[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: Add go-github-com-google-go-tpm.
From: |
guix-commits |
Subject: |
02/10: gnu: Add go-github-com-google-go-tpm. |
Date: |
Thu, 11 Jul 2024 08:12:11 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 819d33a18d3acd1ed571f6643b75beee1fd1feb7
Author: Rodion Goritskov <rodion.goritskov@gmail.com>
AuthorDate: Wed May 1 00:42:42 2024 +0400
gnu: Add go-github-com-google-go-tpm.
* gnu/packages/golang-crypto.scm (go-github-com-google-go-tpm): New
variable.
Change-Id: Ib7b640dcb4ea6b87fca1d320f044315620f7e5f3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/golang-crypto.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index ddeb79badf..c07c58f685 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -578,6 +578,48 @@ RSA, RSA-PSS, and ECDSA, though hooks are present for
adding your own.")
#: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
+ "This package provides a functionality to communicate directly with a
+@acronym{Trusted Platform Module, TPM} device. The libraries don't implement
+the entire spec for neither 1.2 nor 2.0.
+
+Included 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..
- branch master updated (0663668507 -> af4c90dc73), guix-commits, 2024/07/11
- 03/10: gnu: Add go-github-com-x448-float16., guix-commits, 2024/07/11
- 04/10: gnu: Add go-github-com-abadojack-whatlanggo., guix-commits, 2024/07/11
- 05/10: gnu: Add go-github-com-fxamacker-cbor-v2., guix-commits, 2024/07/11
- 09/10: gnu: miniflux: Adjust indentation., guix-commits, 2024/07/11
- 01/10: gnu: go-github-com-andybalholm-brotli: Update to 1.1.0., guix-commits, 2024/07/11
- 02/10: gnu: Add go-github-com-google-go-tpm.,
guix-commits <=
- 06/10: gnu: Add go-github-com-go-webauthn-x., guix-commits, 2024/07/11
- 07/10: gnu: Add go-github-com-go-webauthn-webauthn., guix-commits, 2024/07/11
- 10/10: gnu: miniflux: Enable all tests., guix-commits, 2024/07/11
- 08/10: gnu: miniflux: Update to 2.1.4., guix-commits, 2024/07/11