From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH] gnu: Add emacs-sx. Date: Sun, 15 Jan 2017 22:04:09 +0300 Message-ID: <874m10rvpy.fsf@gmail.com> References: <20170115023356.15784-1-ng0@libertad.pw> <20170115023356.15784-2-ng0@libertad.pw> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSq69-0004N7-T0 for guix-devel@gnu.org; Sun, 15 Jan 2017 14:04:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSq66-0004c8-8g for guix-devel@gnu.org; Sun, 15 Jan 2017 14:04:13 -0500 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:36239) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cSq66-0004bj-1G for guix-devel@gnu.org; Sun, 15 Jan 2017 14:04:10 -0500 Received: by mail-lf0-x242.google.com with SMTP id h65so10364616lfi.3 for ; Sun, 15 Jan 2017 11:04:09 -0800 (PST) In-Reply-To: <20170115023356.15784-2-ng0@libertad.pw> (ng0@libertad.pw's message of "Sun, 15 Jan 2017 02:33:56 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ng0 Cc: guix-devel@gnu.org, ng0 ng0 (2017-01-15 02:33 +0000) wrote: > From: ng0 > > * gnu/packages/emacs.scm (emacs-sx): New variable. > --- > gnu/packages/emacs.scm | 26 +++++++++++++++++++++++++- > 1 file changed, 25 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index 50cea7685..2e04414b3 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -12,7 +12,7 @@ > ;;; Copyright =C2=A9 2016 David Thompson > ;;; Copyright =C2=A9 2016 Matthew Jordan > ;;; Copyright =C2=A9 2016 Roel Janssen > -;;; Copyright =C2=A9 2016 ng0 > +;;; Copyright =C2=A9 2016, 2017 ng0 > ;;; Copyright =C2=A9 2016 Alex Griffin > ;;; Copyright =C2=A9 2016 Nicolas Goaziou > ;;; Copyright =C2=A9 2016 Alex Vong > @@ -1391,6 +1391,30 @@ allows easily move between them.") > strings.") > (license license:gpl3+))) >=20=20 > +(define-public emacs-sx > + (package > + (name "emacs-sx") > + (version "20161222.1205") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://melpa.org/packages/sx-" > + version ".tar")) I can only repeat that we don't use tarballs from MELPA. See: http://lists.gnu.org/archive/html/guix-devel/2016-10/msg00678.html http://lists.gnu.org/archive/html/guix-devel/2016-11/msg00678.html > + (file-name (string-append name "-" version ".tar")) > + (sha256 > + (base32 > + "0alllpglv7v686ilg2dkncs0yf8g5rrgj17rx7qx9q81icwdcwxq")))) > + (build-system emacs-build-system) > + (inputs > + `(("emacs-markdown-mode" ,emacs-markdown-mode) > + ("let-alist" ,let-alist))) > + (home-page "https://github.com/vermiculus/sx.el/") > + (synopsis "Emacs StackExchange client") > + (description > + "Emacs StackExchange client. Ask and answer questions on > +Stack Overflow, Super User, and other StackExchange sites.") > + (license license:gpl3+))) > + > (define-public emacs-f > (package > (name "emacs-f") --=20 Alex