@@ -45,3 +45,26 @@ way.")
(description "This is a julia package that defines an IniFile type that
allows to interface with @file{.ini} files")
(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 @code{Array{UInt8}}, a @code{ByteString} or an
+@code{IO} object.")
+ (license license:expat)))