gnu: Add julia-sha.

* gnu/packages/julia-xyz.scm (julia-sha-0.5.7): New variable.
This commit is contained in:
nixo 2019-10-10 18:00:16 +02:00
parent 071bd6b653
commit 427fb8dabe
1 changed files with 22 additions and 0 deletions

View File

@ -73,3 +73,25 @@ between older and newer versions of the Julia language. The Compat package
provides a macro that lets you use the latest syntax in a backwards-compatible provides a macro that lets you use the latest syntax in a backwards-compatible
way.") way.")
(license license:expat))) (license license:expat)))
(define-public julia-sha
(package
(name "julia-sha")
(version "0.5.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/staticfloat/SHA.jl")
(commit (string-append "v" version))))
(file-name "SHA")
(sha256
(base32 "10a09kg9z0m8rvwmlgsna6p342kyvizx2axdqc6pzyhraddr8jrp"))))
(propagated-inputs `(("julia-compat" ,julia-compat)))
(build-system julia-build-system)
(home-page "https://github.com/staticfloat/SHA.jl")
(synopsis "Performant, 100% native-julia SHA1, SHA2, and SHA3
implementation")
(description "Julia package implementing SHA algorithms. Each exported
function takes in either an Array{UInt8}, a ByteString or an IO object.")
(license license:expat)))