diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index eac4fc8139..860ee82727 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2019, 2020 Leo Famulari ;;; Copyright © 2021 Raghav Gururajan -;;; Copyright © 2022 Nicolas Graves +;;; Copyright © 2022, 2023 Nicolas Graves ;;; Copyright © 2023 Artyom V. Poptsov ;;; Copyright © 2023 Clément Lassieur ;;; @@ -115,6 +115,29 @@ (define-public go-github-com-gaukas-godicttls for values.") (license license:bsd-3))) +(define-public go-github-com-jcmturner-aescts-v2 + (package + (name "go-github-com-jcmturner-aescts-v2") + (version "2.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jcmturner/aescts") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0yrdiisdhcqfs8jpicc30dfmbqzxhkmbayn902xrgwkndky8w7l1")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jcmturner/aescts/v2")) + (propagated-inputs (list go-github-com-stretchr-testify)) + (home-page "https://github.com/jcmturner/aescts") + (synopsis "Encrypt and decrypt data in Go using AES CipherText Stealing") + (description "This package provides AES Cipher Block Chaining CipherText +Stealing encryption and decryption methods.") + (license license:asl2.0))) + (define-public go-github-com-libp2p-go-libp2p-crypto (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b") (revision "0")) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 07b77ee673..dfa1f862dc 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -47,6 +47,7 @@ (define-module (gnu packages golang-web) #:use-module (gnu packages) #:use-module (gnu packages golang) #:use-module (gnu packages golang-check) + #:use-module (gnu packages golang-crypto) #:use-module (gnu packages tls) #:use-module (gnu packages web)) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d2e2a07b74..a44427e5d4 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1477,30 +1477,6 @@ (define-public go-github-com-jacobsa-reqtrace "Package reqtrace contains a very simple request tracing framework.") (license license:asl2.0)))) -(define-public go-github-com-jcmturner-aescts-v2 - (package - (name "go-github-com-jcmturner-aescts-v2") - (version "2.0.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jcmturner/aescts") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0yrdiisdhcqfs8jpicc30dfmbqzxhkmbayn902xrgwkndky8w7l1")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/jcmturner/aescts/v2")) - (propagated-inputs (list go-github-com-stretchr-testify)) - (home-page "https://github.com/jcmturner/aescts") - (synopsis "Encrypt and decrypt data in Go using AES CipherText Stealing") - (description - "This package provides AES Cipher Block Chaining CipherText Stealing -encryption and decryption methods.") - (license license:asl2.0))) - (define-public go-github-com-jcmturner-gofork (package (name "go-github-com-jcmturner-gofork")