Subject: bug#33406: closed (Re: [bug#33406] [PATCH] gnu: package: Add guile-mastodon.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 27 Dec 2018 11:08:02 +0000

Your bug report

#33406: [PATCH] gnu: package: Add guile-mastodon.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
33406: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33406
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#33406] [PATCH] gnu: package: Add guile-mastodon.
From: Ludovic Courtès <[email-masked]>
To: Pierre-Antoine Rouby <[email-masked]>
Cc: Mathieu Othacehe <[email-masked]>, [email-masked]
Date: Thu, 27 Dec 2018 12:07:01 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Pierre-Antoine!

Pierre-Antoine Rouby <[email-masked]> skribis:

> * gnu/packages/guile.scm (guile-mastodon): New variable.

Looks like this had fallen through the cracks…  Applied with the
cosmetic changes below.  Thank you, and sorry for the delay!

Ludo’.

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 21ec257021..07b568ee7c 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -2353,8 +2353,9 @@ Scheme by using Guile’s foreign function interface.")
        ("guile-json" ,guile-json)))
     (home-page "https://framagit.org/prouby/guile-mastodon")
     (synopsis "Guile Mastodon REST API module")
-    (description "This package provides Guile module for Mastodon REST API
-@url{https://docs.joinmastodon.org/api/}.")
+    (description "This package provides Guile modules to access the
+@uref{https://docs.joinmastodon.org/api/, REST API of Mastodon}, a federated
+microblogging service.")
     (license license:gpl3+)))
 
 ;;; guile.scm ends here

Subject: [PATCH] gnu: package: Add guile-mastodon.
From: Pierre-Antoine Rouby <[email-masked]>
To: [email-masked]
Cc: Pierre-Antoine Rouby <[email-masked]>
Date: Fri, 16 Nov 2018 11:48:26 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/guile.scm (guile-mastodon): New variable.
---
 gnu/packages/guile.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index f95641ab1..9f1492e1c 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -2362,4 +2362,32 @@ Scheme by using Guile’s foreign function interface.")
       (home-page "https://gitlab.com/mothacehe/guile-newt")
       (license license:gpl3+))))
 
+(define-public guile-mastodon
+  (package
+    (name "guile-mastodon")
+    (version "0.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://framagit.org/prouby/guile-mastodon.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1vblf3d1bbwna3l09p2ap5y8ycvl549bz6whgk78imyfmn28ygry"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
+    (propagated-inputs
+     `(("guile" ,guile-2.2)
+       ("guile-json" ,guile-json)
+       ("gnutls" ,gnutls)))
+    (home-page "https://framagit.org/prouby/guile-mastodon")
+    (synopsis "Guile Mastodon REST API module")
+    (description "This package provides Guile module for Mastodon REST API
+@url{https://docs.joinmastodon.org/api/}.")
+    (license license:gpl3+)))
+
 ;;; guile.scm ends here
-- 
2.19.1