[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42380] [PATCH 2v2/9] gnu: Add go-github-com-agl-ed25519
From: |
André Batista |
Subject: |
[bug#42380] [PATCH 2v2/9] gnu: Add go-github-com-agl-ed25519 |
Date: |
Tue, 15 Sep 2020 19:50:04 -0300 |
There was an indentation error which is fixed on this version.
From eee248ad09b5c90522be5cb3cb3f40d8ad73ec20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Batista?= <nandre@riseup.net>
Date: Tue, 15 Sep 2020 19:35:56 -0300
Subject: [PATCH] gnu: Add go-github-com-agl-ed25519.
To: 42380@debbugs.gnu.org
* gnu/packages/golang.scm (go-github-com-agl-ed25519): New variable.
---
gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0bcb01fd2f..877295de72 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5680,3 +5680,41 @@ error messages.")
Transports are a means of connecting to the Tor Network from places where it
is censored.")
(license license:cc0)))
+
+(define-public go-github-com-agl-ed25519
+ (let ((commit "c4161f4c7483313562781c61b9a20aba73daf9de")
+ (revision "0"))
+ (package
+ (name "go-github-com-agl-ed25519")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/agl/ed25519")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1wjlbzi0w63rmlzgk3amw274wsl0zhcn4yx2lraffbkhqappahxc"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/agl/ed25519"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'make-files-writable
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (for-each (lambda (file) (chmod file #o644))
+ (find-files out "\\.gz"))
+ #t))))))
+ (home-page "https://github.com/agl/ed25519")
+ (synopsis "Go library for ed25519 public-key signatures")
+ (description "This library is a Go implementation of ed25519 public-key
+signature system which was designed to be faster than previous digital
signature
+systems without sacrificing security. It is currently used in the
+implementation of obfs4 and should be not be used on newer projects since it
+is unmaintained. Newer software should use x-crypto instead.")
+ ;; License file is referred but it is missing. Probably because the
+ ;; author decided to discontinue the project.
+ (license (license:non-copyleft "file://ed25519.go")))))
--
2.27.0
signature.asc
Description: PGP signature
- [bug#42380] [PATCH] gnu: Add torbrowser-unbundle., Ludovic Courtès, 2020/09/07
- [bug#42380] [PATCH] gnu: Add torbrowser-unbundle., André Batista, 2020/09/08
- [bug#42380] [PATCH 4/9] gnu: Add go-github-com-dchest-uniuri, André Batista, 2020/09/15
- [bug#42380] [PATCH 5/9] gnu: Add go-github-com-dsnet-compress, André Batista, 2020/09/15
- [bug#42380] [PATCH 6/9] gnu: Add go-schwanenlied-me-yawning-bsaes, André Batista, 2020/09/15
- [bug#42380] [PATCH 7/9] gnu: Add go-gitlab-com-yawning-utls, André Batista, 2020/09/15
- [bug#42380] [PATCH 8/9] gnu: obfs4, André Batista, 2020/09/15
- [bug#42380] [PATCH 9/9] gnu: Add torbrowser-unbundle, André Batista, 2020/09/15
- [bug#42380] [PATCHv2 9/9] gnu: Add torbrowser-unbundle, André Batista, 2020/09/24