From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9BG-0002dI-Sc for guix-patches@gnu.org; Tue, 20 Nov 2018 11:47:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP9B5-00039a-G3 for guix-patches@gnu.org; Tue, 20 Nov 2018 11:47:13 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gP9B1-000384-Lz for guix-patches@gnu.org; Tue, 20 Nov 2018 11:47:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gP9B1-0007NF-FK for guix-patches@gnu.org; Tue, 20 Nov 2018 11:47:03 -0500 Subject: [bug#33406] [PATCH] gnu: package: Add guile-mastodon. Resent-Message-ID: From: Pierre-Antoine Rouby Date: Tue, 20 Nov 2018 17:46:24 +0100 Message-Id: <20181120164624.25726-1-contact@parouby.fr> In-Reply-To: <32726cb4-9df8-d585-fa01-548ae5eb2ff1@parouby.fr> References: <32726cb4-9df8-d585-fa01-548ae5eb2ff1@parouby.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33406@debbugs.gnu.org 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