[bug#38546,08/11] gnu: Add julia-sha.
diff mbox series

Message ID 87ftgcvqee.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me
State Accepted
Headers show
Series
  • Julia: fix package build and add julia-xyz
Related show

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Nicolò Balzarotti Jan. 18, 2020, 1:07 p.m. UTC
* gnu/packages/julia-xyz.scm (julia-sha): New variable.
---
 gnu/packages/julia-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 6b8053e5f8..92ffde58e7 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -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)))