aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntero Mejr <antero@mailbox.org>2023-06-04 17:42:38 +0000
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-22 13:18:54 +0100
commitb2de344cbf08d60d3ce99d0c23d4b46a491ffc82 (patch)
tree0e72af9a30a55fa2012c7000af34d3cfa264a224
parentd2b7d14db4a1ba454d781f5ea796c4a457aaef02 (diff)
downloadguix-b2de344cbf08d60d3ce99d0c23d4b46a491ffc82.tar.gz
guix-b2de344cbf08d60d3ce99d0c23d4b46a491ffc82.zip
gnu: Add perl-gravatar-url.
* gnu/packages/perl-web.scm (perl-gravatar-url): New variable. Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
-rw-r--r--gnu/packages/perl-web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm
index b393c8f44c..0af0c145bd 100644
--- a/gnu/packages/perl-web.scm
+++ b/gnu/packages/perl-web.scm
@@ -144,3 +144,29 @@ a prefix, and the remainder of the URI is another URI.")
(description "This package provides a HTML and XML DOM parser. It also
supports CSS selectors.")
(license license:artistic2.0)))
+
+(define-public perl-gravatar-url
+ (package
+ (name "perl-gravatar-url")
+ (version "1.07")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/M/MS/MSCHWERN/Gravatar-URL-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1mxnd70xsb7kxd1sf8s7phcds2nf0m8b8asmy3ikv76wzfpbvji3"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-module-build
+ perl-test-mockrandom
+ perl-test-warn))
+ (propagated-inputs (list perl-net-dns perl-uri))
+ (home-page "https://metacpan.org/release/Gravatar-URL")
+ (synopsis "Make URLs for Gravatars from an email address")
+ (description
+ "This module looks up the Gravatar for any email address by constructing
+a URL to get the image from @url{gravatar.com}. A Gravatar is a Globally
+Recognized Avatar for a given email address. This allows you to have a global
+picture associated with your email address.")
+ (license license:perl-license)))