From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add emacs-sx. Date: Sun, 15 Jan 2017 20:28:45 +0000 Message-ID: <87o9z8awzm.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <20170115023356.15784-1-ng0@libertad.pw> <20170115023356.15784-2-ng0@libertad.pw> <874m10rvpy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSrPM-0000EZ-1h for guix-devel@gnu.org; Sun, 15 Jan 2017 15:28:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSrPI-0000oy-VM for guix-devel@gnu.org; Sun, 15 Jan 2017 15:28:08 -0500 Received: from aibo.runbox.com ([91.220.196.211]:39989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cSrPI-0000ot-O4 for guix-devel@gnu.org; Sun, 15 Jan 2017 15:28:04 -0500 In-Reply-To: <874m10rvpy.fsf@gmail.com> 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: Alex Kost Cc: guix-devel@gnu.org Alex Kost writes: > 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 © 2016 David Thompson >> ;;; Copyright © 2016 Matthew Jordan >> ;;; Copyright © 2016 Roel Janssen >> -;;; Copyright © 2016 ng0 >> +;;; Copyright © 2016, 2017 ng0 >> ;;; Copyright © 2016 Alex Griffin >> ;;; Copyright © 2016 Nicolas Goaziou >> ;;; Copyright © 2016 Alex Vong >> @@ -1391,6 +1391,30 @@ allows easily move between them.") >> strings.") >> (license license:gpl3+))) >> >> +(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 Yikes. Thanks! I forget this so often that I think we should change the elpa importer for --archive=melpa to reflect this OR print a note on this (for example lint). I will send in a new patch. >> + (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") > > -- > Alex > -- ♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/