guix-patches
[Top][All Lists]
Advanced

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

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


From: Pierre-Antoine Rouby
Subject: [bug#33406] [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
address@hidden://docs.joinmastodon.org/api/}.")
+    (license license:gpl3+)))
+
 ;;; guile.scm ends here
-- 
2.19.1






reply via email to

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