guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: Add guile-mastodon.


From: guix-commits
Subject: 03/03: gnu: Add guile-mastodon.
Date: Thu, 27 Dec 2018 06:08:38 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 039ccc7118b0a6d0cb09e9cab5caf9f629197d03
Author: Pierre-Antoine Rouby <address@hidden>
Date:   Tue Nov 20 17:46:24 2018 +0100

    gnu: Add guile-mastodon.
    
    * gnu/packages/guile.scm (guile-mastodon): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/guile.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 5a3ce44..07b568e 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -2329,4 +2329,33 @@ 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 modules to access the
address@hidden://docs.joinmastodon.org/api/, REST API of Mastodon}, a federated
+microblogging service.")
+    (license license:gpl3+)))
+
 ;;; guile.scm ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]