GNU bug report logs - #33406
[PATCH] gnu: package: Add guile-mastodon.

Previous Next

Package: guix-patches;

Reported by: Pierre-Antoine Rouby <contact <at> parouby.fr>

Date: Fri, 16 Nov 2018 10:50:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33406 in the body.
You can then email your comments to 33406 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#33406; Package guix-patches. (Fri, 16 Nov 2018 10:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre-Antoine Rouby <contact <at> parouby.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 16 Nov 2018 10:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre-Antoine Rouby <contact <at> parouby.fr>
To: guix-patches <at> gnu.org
Cc: Pierre-Antoine Rouby <contact <at> parouby.fr>
Subject: [PATCH] gnu: package: Add guile-mastodon.
Date: Fri, 16 Nov 2018 11:48:26 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#33406; Package guix-patches. (Fri, 16 Nov 2018 14:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 33406 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Pierre-Antoine Rouby <contact <at> parouby.fr>
Cc: 33406 <at> debbugs.gnu.org
Subject: Re: [bug#33406] [PATCH] gnu: package: Add guile-mastodon.
Date: Fri, 16 Nov 2018 23:25:06 +0900
Hello Pierre-Antoine,

Good to see more Guile bindings :)

> +    (propagated-inputs
> +     `(("guile" ,guile-2.2)

I'm not sure it makes sense for guile to be a propagated-input here, why
not an input?

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#33406; Package guix-patches. (Mon, 19 Nov 2018 15:01:02 GMT) Full text and rfc822 format available.

Message #11 received at 33406 <at> debbugs.gnu.org (full text, mbox):

From: parouby <contact <at> parouby.fr>
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: 33406 <at> debbugs.gnu.org
Subject: Re: [bug#33406] [PATCH] gnu: package: Add guile-mastodon.
Date: Mon, 19 Nov 2018 16:00:36 +0100
Hello Mathieu,

On 16/11/2018 15:25, Mathieu Othacehe wrote:
> I'm not sure it makes sense for guile to be a propagated-input here, why
> not an input?

Yes, it's true, and I think gnutls will by in input too.
I will modify and resend patch soon.

PA




Information forwarded to guix-patches <at> gnu.org:
bug#33406; Package guix-patches. (Tue, 20 Nov 2018 16:47:03 GMT) Full text and rfc822 format available.

Message #14 received at 33406 <at> debbugs.gnu.org (full text, mbox):

From: Pierre-Antoine Rouby <contact <at> parouby.fr>
To: 33406 <at> debbugs.gnu.org
Cc: Pierre-Antoine Rouby <contact <at> parouby.fr>
Subject: [PATCH] gnu: package: Add guile-mastodon.
Date: Tue, 20 Nov 2018 17:46:24 +0100
* 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..7e07690b2 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)))
+    (inputs
+     `(("guile" ,guile-2.2)
+       ("gnutls" ,gnutls)
+       ("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/}.")
+    (license license:gpl3+)))
+
 ;;; guile.scm ends here
-- 
2.19.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 27 Dec 2018 11:08:01 GMT) Full text and rfc822 format available.

Notification sent to Pierre-Antoine Rouby <contact <at> parouby.fr>:
bug acknowledged by developer. (Thu, 27 Dec 2018 11:08:02 GMT) Full text and rfc822 format available.

Message #19 received at 33406-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Pierre-Antoine Rouby <contact <at> parouby.fr>
Cc: Mathieu Othacehe <m.othacehe <at> gmail.com>, 33406-done <at> debbugs.gnu.org
Subject: Re: [bug#33406] [PATCH] gnu: package: Add guile-mastodon.
Date: Thu, 27 Dec 2018 12:07:01 +0100
[Message part 1 (text/plain, inline)]
Hi Pierre-Antoine!

Pierre-Antoine Rouby <contact <at> parouby.fr> 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’.

[Message part 2 (text/x-patch, inline)]
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

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 24 Jan 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 65 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.