gnu: Add perl-digest-sha.

* gnu/packages/perl.scm (perl-digest-sha): New variable.
This commit is contained in:
Andreas Enge 2021-04-19 13:21:04 +02:00
parent fe5c36728f
commit 0dda79405e
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2019, 2020 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013, 2019, 2020, 2021 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016, 2017, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2017, 2019, 2020 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
@ -3830,6 +3830,30 @@ (define-public perl-digest-md5
128-bit \"fingerprint\" or \"message digest\" of the input.")
(license (package-license perl))))
(define-public perl-digest-sha
(package
(name "perl-digest-sha")
(version "6.02")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/M/MS/MSHELOR/Digest-SHA-"
version
".tar.gz"))
(sha256
(base32
"01lv0dc3mgnl3ap8npdnqiwmdqz2yc5bziss648c5jgalfzacric"))))
(build-system perl-build-system)
(home-page
"https://metacpan.org/release/Digest-SHA")
(synopsis
"Perl extension for SHA-1/224/256/384/512")
(description
"The @code{Digest::SHA} Perl module implements the hash functions
of the SHA family. It also provides the @code{shasum} binary.")
(license (package-license perl))))
(define-public perl-digest-sha1
(package
(name "perl-digest-sha1")