mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add go-golang-org-x-crypto-bcrypt.
* gnu/packages/syncthing.scm (go-golang-org-x-crypto-bcrypt): New variable.
This commit is contained in:
parent
892ced6d0f
commit
8da09afc1f
1 changed files with 37 additions and 0 deletions
|
@ -688,6 +688,43 @@ (define-public go-github-com-vitrun-qart-qr
|
||||||
(home-page "https://github.com/vitrun/qart")
|
(home-page "https://github.com/vitrun/qart")
|
||||||
(license bsd-3))))
|
(license bsd-3))))
|
||||||
|
|
||||||
|
(define-public go-golang-org-x-crypto-bcrypt
|
||||||
|
(let ((commit "c78caca803c95773f48a844d3dcab04b9bc4d6dd")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "go-golang-org-x-crypto-bcrypt")
|
||||||
|
(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/bcrypt"
|
||||||
|
#: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 "Bcrypt in Go")
|
||||||
|
(description "This package provides a Go implementation of the bcrypt
|
||||||
|
password hashing function.")
|
||||||
|
(home-page "https://go.googlesource.com/crypto/")
|
||||||
|
(license bsd-3))))
|
||||||
|
|
||||||
(define-public go-golang-org-x-sys-unix
|
(define-public go-golang-org-x-sys-unix
|
||||||
(let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a")
|
(let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a")
|
||||||
(revision "0"))
|
(revision "0"))
|
||||||
|
|
Loading…
Reference in a new issue