[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: Add go-gitlab-com-yawning-edwards25519-extra.
From: |
guix-commits |
Subject: |
01/08: gnu: Add go-gitlab-com-yawning-edwards25519-extra. |
Date: |
Fri, 12 Jan 2024 13:02:06 -0500 (EST) |
snape pushed a commit to branch master
in repository guix.
commit eb13a51e26f0ac57caa34fda455390a5699aa93c
Author: Clément Lassieur <clement@lassieur.org>
AuthorDate: Wed Dec 27 17:01:34 2023 +0100
gnu: Add go-gitlab-com-yawning-edwards25519-extra.
* gnu/packages/golang.scm (go-gitlab-com-yawning-edwards25519-extra): New
variable.
Change-Id: I5d8ee182b7a23890720d29866e9c975c0edce7b5
---
gnu/packages/golang.scm | 66 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2ab7379292..a72ecd52e2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -42,6 +42,7 @@
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2023 Clément Lassieur <clement@lassieur.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9910,6 +9911,71 @@ composability.")
the necessary APIs to build a wide array of higher-level primitives.")
(license license:bsd-3)))
+(define-public go-gitlab-com-yawning-edwards25519-extra
+ (let ((commit "2149dcafc266f66d2487f45b156f6397f9c4760b")
+ (revision "0"))
+ (package
+ (name "go-gitlab-com-yawning-edwards25519-extra")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/yawning/edwards25519-extra")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08mz1qyi8ig515hh5blnzxhiwsav564ah7mzyhvmr6i48ndhhv98"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:unpack-path "gitlab.com/yawning/edwards25519-extra"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda arguments
+ (for-each
+ (lambda (directory)
+ (apply (assoc-ref %standard-phases 'build)
+ `(,@arguments #:import-path ,directory)))
+ (list
+ "gitlab.com/yawning/edwards25519-extra/elligator2"
+ "gitlab.com/yawning/edwards25519-extra/h2c"
+ "gitlab.com/yawning/edwards25519-extra/internal/montgomery"
+ "gitlab.com/yawning/edwards25519-extra/vrf"))))
+ (replace 'check
+ (lambda arguments
+ (for-each
+ (lambda (directory)
+ (apply (assoc-ref %standard-phases 'check)
+ `(,@arguments #:import-path ,directory)))
+ (list
+ "gitlab.com/yawning/edwards25519-extra/elligator2"
+ "gitlab.com/yawning/edwards25519-extra/h2c"
+ "gitlab.com/yawning/edwards25519-extra/internal/montgomery"
+ "gitlab.com/yawning/edwards25519-extra/vrf"))))
+ (replace 'install
+ (lambda arguments
+ (for-each
+ (lambda (directory)
+ (apply (assoc-ref %standard-phases 'install)
+ `(,@arguments #:import-path ,directory)))
+ (list
+ "gitlab.com/yawning/edwards25519-extra/elligator2"
+ "gitlab.com/yawning/edwards25519-extra/h2c"
+ "gitlab.com/yawning/edwards25519-extra/internal/montgomery"
+ "gitlab.com/yawning/edwards25519-extra/vrf")))))))
+ (propagated-inputs (list go-golang-org-x-crypto
+ go-filippo-io-edwards25519))
+ (home-page "https://gitlab.com/yawning/edwards25519-extra")
+ (synopsis "edwards25519-extra")
+ (description
+ "This package provides extensions to the Go standard library's Ed25519
and
+curve25519 implementations, primarily extracted from
+@@url{https://github.com/oasisprotocol/curve25519-voi,curve25519-voi}. This
+package is intended for interoperability with the standard library and the
+@@url{https://filippo.io/edwards25519,edwards25519} package as much as
possible.")
+ (license license:bsd-3))))
+
(define-public go-github-com-rogpeppe-go-internal
(package
(name "go-github-com-rogpeppe-go-internal")
- branch master updated (2416cebc75 -> 3902247b36), guix-commits, 2024/01/12
- 01/08: gnu: Add go-gitlab-com-yawning-edwards25519-extra.,
guix-commits <=
- 03/08: gnu: Add go-github-com-gaukas-godicttls., guix-commits, 2024/01/12
- 02/08: gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib., guix-commits, 2024/01/12
- 05/08: gnu: Add go-github-com-cloudflare-circl., guix-commits, 2024/01/12
- 04/08: gnu: Add go-github-com-bwesterb-go-ristretto., guix-commits, 2024/01/12
- 06/08: gnu: Add go-github-com-refraction-networking-utls., guix-commits, 2024/01/12
- 07/08: gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird., guix-commits, 2024/01/12
- 08/08: gnu: torbrowser: Add bridges., guix-commits, 2024/01/12