arunisaac pushed a commit to branch master
in repository guix.

commit b23183c315fae08843a80441c60a8ddbb6590409
Author: Felix Lechner <felix.lech...@lease-up.com>
AuthorDate: Fri May 10 20:11:11 2024 -0700

    gnu: Add guile-avatar.
    
    * gnu/packages/guile-xyz.scm (guile-avatar): New variable.
    
    Change-Id: Ib255842ff8b59b7743c8d7be728a7ca7370024fe
    Signed-off-by: Arun Isaac <arunis...@systemreboot.net>
---
 gnu/packages/guile-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index dd56bffed9..24c216c696 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2023 Andrew Tropin <and...@trop.in>
 ;;; Copyright © 2024 Ilya Chernyshov <ichernysho...@gmail.com>
 ;;; Copyright © 2024 Artyom Bologov <m...@aartaka.me>
+;;; Copyright © 2024 Felix Lechner <felix.lech...@lease-up.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -558,6 +559,33 @@ $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
 dictionary and suggesting spelling corrections.")
     (license license:gpl3+)))
 
+(define-public guile-avatar
+  (let ((commit "c2860952fd09ecc878c3d4f1ee2f1678668fbb7a")
+        (revision "0"))
+    (package
+      (name "guile-avatar")
+      (version (git-version "0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://codeberg.org/lechner/guile-avatar";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1dq9zcx4q3m5s3cpixq4zvlmdrlcc626mpqb7nmmj7vnda8k717f"))))
+      (build-system guile-build-system)
+      (arguments
+       (list #:source-directory "scm"))
+      (inputs (list guile-3.0))
+      (propagated-inputs (list guile-hashing))
+      (home-page "https://codeberg.org/lechner/guile-avatar";)
+      (synopsis "Get Libravatar URLs from an email address")
+      (description
+       "@code{guile-avatar} helps you to determine avatars (or profile
+pictures) for email addresses using the Libravatar specification.")
+      (license license:agpl3+))))
+
 (define-public guile2.0-bash
   ;; This project is currently retired.  It was initially announced here:
   ;; <https://lists.gnu.org/archive/html/guile-user/2015-02/msg00003.html>.

Reply via email to