From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBnIH-000612-Bo for guix-patches@gnu.org; Thu, 26 Apr 2018 16:15:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBnIE-0003Tz-1v for guix-patches@gnu.org; Thu, 26 Apr 2018 16:15:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBnID-0003Tm-UO for guix-patches@gnu.org; Thu, 26 Apr 2018 16:15:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fBnID-0008LZ-Oi for guix-patches@gnu.org; Thu, 26 Apr 2018 16:15:01 -0400 Subject: [bug#31275] [PATCH 1/2] gnu: Add emacs-ghub. References: <87d0ylg230.fsf@gmail.com> In-Reply-To: <87d0ylg230.fsf@gmail.com> Resent-Message-ID: From: Alex Kost Date: Thu, 26 Apr 2018 23:14:20 +0300 Message-Id: <20180426201421.24022-1-alezost@gmail.com> 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: 31275@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-ghub): New variable. --- gnu/packages/emacs.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 2f0212e42..940707801 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -588,6 +588,37 @@ these arguments. The prototypical use is for the command to call an external process, passing on the arguments as command line arguments.") (license license:gpl3+))) +(define-public emacs-ghub + (package + (name "emacs-ghub") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/magit/ghub/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zrb3xk04a228g2ahx0r02d0d3xskj60q73qavvmm2i56r66cxvc")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'make-info + (lambda _ + (zero? (system* "make" "info"))))))) + (native-inputs + `(("texinfo" ,texinfo))) + (home-page "https://github.com/magit/ghub") + (synopsis "Emacs client library for Github API and Gitlab API") + (description + "This package provides 2 files: @file{ghub.el} and @file{glab.el}, +which are the libraries that provide basic support for using the Github and +Gitlab APIs from Emacs packages. It abstracts access to API resources using +only a handful of functions that are not resource-specific.") + (license license:gpl3+))) + (define-public haskell-mode (package (name "haskell-mode") -- 2.15.1