diff options
author | Leo Famulari <leo@famulari.name> | 2017-10-11 20:03:16 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-10-12 21:22:49 -0400 |
commit | 3cf3cdc9b92e536e698c15ca6a844a2311fe890e (patch) | |
tree | 5b619368d8c0731d171d8969650e8cda4741ca86 /gnu/packages | |
parent | 8da09afc1facaaa4155b3ef8374523f394ed6543 (diff) | |
download | guix-3cf3cdc9b92e536e698c15ca6a844a2311fe890e.tar.gz |
gnu: Add go-golang-org-x-crypto-blowfish.
* gnu/packages/syncthing.scm (go-golang-org-x-crypto-blowfish): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/syncthing.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 386205ab3b..add7b71784 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -725,6 +725,43 @@ password hashing function.") (home-page "https://go.googlesource.com/crypto/") (license bsd-3)))) +(define-public go-golang-org-x-crypto-blowfish + (let ((commit "c78caca803c95773f48a844d3dcab04b9bc4d6dd") + (revision "0")) + (package + (name "go-golang-org-x-crypto-blowfish") + (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/blowfish" + #: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 "Blowfish in Go") + (description "This package provides a Go implementation of the Blowfish +symmetric-key block cipher.") + (home-page "https://go.googlesource.com/crypto/") + (license bsd-3)))) + (define-public go-golang-org-x-sys-unix (let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a") (revision "0")) |