Alex Kost <alez...@gmail.com> writes: > ng0 (2017-01-15 02:33 +0000) wrote: > >> From: ng0 <n...@we.make.ritual.n0.is> >> >> * 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 <da...@gnu.org> >> ;;; Copyright © 2016 Matthew Jordan <matthewjordandev...@yandex.com> >> ;;; Copyright © 2016 Roel Janssen <r...@gnu.org> >> -;;; Copyright © 2016 ng0 <n...@we.make.ritual.n0.is> >> +;;; Copyright © 2016, 2017 ng0 <contact....@cryptolab.net> >> ;;; Copyright © 2016 Alex Griffin <a...@ajgrf.com> >> ;;; Copyright © 2016 Nicolas Goaziou <m...@nicolasgoaziou.fr> >> ;;; Copyright © 2016 Alex Vong <alexvong1...@gmail.com> >> @@ -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/