[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/62: gnu: Add go-golang-org-x-crypto-salsa20.
From: |
Leo Famulari |
Subject: |
33/62: gnu: Add go-golang-org-x-crypto-salsa20. |
Date: |
Thu, 12 Oct 2017 21:43:41 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 7e7df095d73257eb417c87088cbf616c11362e1e
Author: Leo Famulari <address@hidden>
Date: Wed Oct 11 20:05:30 2017 -0400
gnu: Add go-golang-org-x-crypto-salsa20.
* gnu/packages/syncthing.scm (go-golang-org-x-crypto-salsa20): New variable.
---
gnu/packages/syncthing.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 5cf9b95..c421c95 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -836,6 +836,43 @@ Algorithm (TEA) block cipher.")
(home-page "https://go.googlesource.com/crypto/")
(license bsd-3))))
+(define-public go-golang-org-x-crypto-salsa20
+ (let ((commit "c78caca803c95773f48a844d3dcab04b9bc4d6dd")
+ (revision "0"))
+ (package
+ (name "go-golang-org-x-crypto-salsa20")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://go.googlesource.com/crypto")
+ (commit commit)))
+ (file-name (string-append "go.googlesource.com-crypto-"
+ version "-checkout"))
+ (sha256
+ (base32
+ "0vxlfxr9y681yn2cfh6dbqmq35vvq4f45ay0mm31ffkny9cms0y4"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "golang.org/x/crypto/salsa20"
+ #:unpack-path "golang.org/x/crypto"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
+ (lambda* (#:key outputs #:allow-other-keys)
+ (map (lambda (file)
+ (make-file-writable file))
+ (find-files
+ (string-append (assoc-ref outputs "out")
+
"/src/golang.org/x/crypto/ed25519/testdata")
+ ".*\\.gz$"))
+ #t)))))
+ (synopsis "Salsa20 in Go")
+ (description "This packages provides a Go implementation of the Salsa20
+stream cipher.")
+ (home-page "https://go.googlesource.com/crypto/")
+ (license bsd-3))))
+
(define-public go-golang-org-x-sys-unix
(let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a")
(revision "0"))
- 35/62: gnu: Add go-golang-org-x-crypto-twofish., (continued)
- 35/62: gnu: Add go-golang-org-x-crypto-twofish., Leo Famulari, 2017/10/12
- 36/62: gnu: Add go-golang-org-x-crypto-xtea., Leo Famulari, 2017/10/12
- 48/62: gnu: Add go-github-com-templexxx-xor., Leo Famulari, 2017/10/12
- 56/62: gnu: Add go-github-com-audriusbutkevicius-kcp-go., Leo Famulari, 2017/10/12
- 27/62: gnu: Add go-github-com-vitrun-qart-gf256., Leo Famulari, 2017/10/12
- 28/62: gnu: Add go-github-com-vitrun-qart-qr., Leo Famulari, 2017/10/12
- 31/62: gnu: Add go-golang-org-x-crypto-pbkdf2., Leo Famulari, 2017/10/12
- 50/62: gnu: Add go-github-com-xtaci-smux., Leo Famulari, 2017/10/12
- 60/62: gnu: Add go-golang-org-x-net-union., Leo Famulari, 2017/10/12
- 57/62: gnu: Add go-golang-org-x-crypto-union., Leo Famulari, 2017/10/12
- 33/62: gnu: Add go-golang-org-x-crypto-salsa20.,
Leo Famulari <=
- 49/62: gnu: Add go-github-com-pkg-errors., Leo Famulari, 2017/10/12
- 52/62: gnu: Add go-github-com-audriusbutkevicius-cli., Leo Famulari, 2017/10/12
- 61/62: gnu: Add go-golang-org-x-text-union., Leo Famulari, 2017/10/12
- 58/62: gnu: Add go-github-com-gogo-protobuf-union., Leo Famulari, 2017/10/12
- 54/62: gnu: Add go-github-com-templexxx-cpufeat., Leo Famulari, 2017/10/12
- 62/62: gnu: Add Syncthing., Leo Famulari, 2017/10/12