sharlatan pushed a commit to branch go-team
in repository guix.

commit df420cdf19decba362567389ea7174592ddf994b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 15 14:10:44 2024 +0000

    gnu: Add go-gitlab-com-yawning-bsaes-git.
    
    * gnu/packages/golang-crypto.scm (go-gitlab-com-yawning-bsaes-git): New
    variable.
    
    Change-Id: I8e97037c5c40d35d8c9c00a277b8030529185d92
---
 gnu/packages/golang-crypto.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index abee13606d..b66f6b720f 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -1722,6 +1722,34 @@ and SSE4.1 acceleration.")
 Congruential Generator} (PCG) algorithm.")
     (license license:cc0)))
 
+(define-public go-gitlab-com-yawning-bsaes-git
+  (package
+    (name "go-gitlab-com-yawning-bsaes-git")
+    (version "0.0.0-20190805113838-0a714cd429ec")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/yawning/bsaes.git";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1w4g9phpb2f02dpkyd0ixp8jw9v42lnjljj4ysfz8im15abskwdn"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "gitlab.com/yawning/bsaes.git"))
+    (propagated-inputs
+     (list go-golang-org-x-sys))
+    (home-page "https://gitlab.com/yawning/bsaes";)
+    (synopsis "AES implementatin in Golang")
+    (description
+     "The @code{bsaes} is a portable pure-Go constant time AES implementation
+based on the code from @url{https://bearssl.org/,BearSSL}.  On appropriate
+systems, with a sufficiently recent Go runtime, it will transparently call
+crypto/aes when NewCipher is invoked.")
+    (license license:expat)))
+
 (define-public go-gitlab-com-yawning-edwards25519-extra
   (let ((commit "2149dcafc266f66d2487f45b156f6397f9c4760b")
         (revision "0"))

Reply via email to