From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42768) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isoGi-0001Mc-Oe for guix-patches@gnu.org; Sat, 18 Jan 2020 08:36:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isoGh-0004q9-L4 for guix-patches@gnu.org; Sat, 18 Jan 2020 08:36:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34729) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isoGh-0004pu-HS for guix-patches@gnu.org; Sat, 18 Jan 2020 08:36:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1isoGh-00078H-FQ for guix-patches@gnu.org; Sat, 18 Jan 2020 08:36:03 -0500 Subject: [bug#38546] [PATCH 08/11] gnu: Add julia-sha. References: <87v9qpvbyr.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87v9qpvbyr.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Resent-Message-ID: From: nixo Date: Sat, 18 Jan 2020 14:07:13 +0100 Message-ID: <87ftgcvqee.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38546@debbugs.gnu.org * gnu/packages/julia-xyz.scm (julia-sha): New variable. --- gnu/packages/julia-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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))) -- 2.24.1