* [bug#33406] [PATCH] gnu: package: Add guile-mastodon.
@ 2018-11-16 10:48 Pierre-Antoine Rouby
2018-11-16 14:25 ` Mathieu Othacehe
0 siblings, 1 reply; 5+ messages in thread
From: Pierre-Antoine Rouby @ 2018-11-16 10:48 UTC (permalink / raw)
To: 33406; +Cc: Pierre-Antoine Rouby
* 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#33406] [PATCH] gnu: package: Add guile-mastodon.
2018-11-16 10:48 [bug#33406] [PATCH] gnu: package: Add guile-mastodon Pierre-Antoine Rouby
@ 2018-11-16 14:25 ` Mathieu Othacehe
2018-11-19 15:00 ` parouby
0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Othacehe @ 2018-11-16 14:25 UTC (permalink / raw)
To: Pierre-Antoine Rouby; +Cc: 33406
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#33406] [PATCH] gnu: package: Add guile-mastodon.
2018-11-16 14:25 ` Mathieu Othacehe
@ 2018-11-19 15:00 ` parouby
2018-11-20 16:46 ` Pierre-Antoine Rouby
0 siblings, 1 reply; 5+ messages in thread
From: parouby @ 2018-11-19 15:00 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 33406
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#33406] [PATCH] gnu: package: Add guile-mastodon.
2018-11-19 15:00 ` parouby
@ 2018-11-20 16:46 ` Pierre-Antoine Rouby
2018-12-27 11:07 ` bug#33406: " Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Pierre-Antoine Rouby @ 2018-11-20 16:46 UTC (permalink / raw)
To: 33406; +Cc: Pierre-Antoine Rouby
* 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#33406: [PATCH] gnu: package: Add guile-mastodon.
2018-11-20 16:46 ` Pierre-Antoine Rouby
@ 2018-12-27 11:07 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-12-27 11:07 UTC (permalink / raw)
To: Pierre-Antoine Rouby; +Cc: 33406-done
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
Hi Pierre-Antoine!
Pierre-Antoine Rouby <contact@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’.
[-- Attachment #2: Type: text/x-patch, Size: 749 bytes --]
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-12-27 11:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-16 10:48 [bug#33406] [PATCH] gnu: package: Add guile-mastodon Pierre-Antoine Rouby
2018-11-16 14:25 ` Mathieu Othacehe
2018-11-19 15:00 ` parouby
2018-11-20 16:46 ` Pierre-Antoine Rouby
2018-12-27 11:07 ` bug#33406: " Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.