guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/5] gnu: Add emacs-ht.


From: Alex Kost
Subject: Re: [PATCH 1/5] gnu: Add emacs-ht.
Date: Fri, 27 Jan 2017 12:20:46 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]