From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 1/5] gnu: Add emacs-ht. Date: Fri, 27 Jan 2017 12:20:46 +0300 Message-ID: <87efzooo41.fsf@gmail.com> References: <20170126123119.18942-1-m.othacehe@gmail.com> <20170126123119.18942-2-m.othacehe@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX2iE-0005JR-68 for guix-devel@gnu.org; Fri, 27 Jan 2017 04:20:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cX2i9-0001Lf-Gn for guix-devel@gnu.org; Fri, 27 Jan 2017 04:20:54 -0500 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:34949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cX2i9-0001L3-8Z for guix-devel@gnu.org; Fri, 27 Jan 2017 04:20:49 -0500 Received: by mail-lf0-x242.google.com with SMTP id v186so25554611lfa.2 for ; Fri, 27 Jan 2017 01:20:47 -0800 (PST) In-Reply-To: <20170126123119.18942-2-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Thu, 26 Jan 2017 13:31:15 +0100") 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: Mathieu Othacehe Cc: guix-devel@gnu.org Mathieu Othacehe (2017-01-26 13:31 +0100) wrote: > * gnu/packages/emacs.scm (emacs-ht): New variable. > --- > gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index d3e64c04f..699d41712 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -3645,3 +3645,28 @@ Streams are implemented as delayed evaluation of cons cells.") > (description "This package provides expression based interactive search > procedures for emacs-lisp-mode.") > (license license:gpl3+)))) > + > +(define-public emacs-ht > + (package > + (name "emacs-ht") > + (version "20161015.1945") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "http://melpa.org/packages/ht-" > + version > + ".el")) We can't use files from melpa.org because once a new commit appears in the upstream repo, melpa will rebuilt the package and remove the previous version, so this package will lost its source and will not be buildable anymore. So please use the latest available tarballs instead. In this case it is: https://github.com/Wilfred/ht.el/archive/2.1.tar.gz > + (sha256 > + (base32 > + "1ar6rw0vl18pws72nm167jfxn9vzl8ngnh1xw3npfk19x3y6n5g6")))) > + (build-system emacs-build-system) > + (propagated-inputs `(("emacs-dash" ,emacs-dash))) > + (home-page "https://github.com/Wilfred/ht.el") > + (synopsis > + "Hash table library for Emacs") > + (description > + "This package simplifies the use of hash tables in elisp. It also > +provides functions to convert hash tables from and to alists and plists.") > + (license license:gpl3+))) > + -- Alex