Subject: Re: [PATCH v3 06/15] gnu: Add elixir-jason.

From: Liliana Marie Prikler <[email-masked]>
Date: Fri, 08 Dec 2023 16:31:47 +0100

Am Freitag, dem 08.12.2023 um 16:03 +0100 schrieb Pierre-Henry
Fröhring:
> From: Pierre-Henry Fröhring <[email-masked]>
> 
> * gnu/packages/elixir-xyz.scm (elixir-jason): New variable.
> 
> Change-Id: Iadd816e2b5db6d146728aacb4d6b2c66aba4304c
> ---
>  gnu/packages/elixir-xyz.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-
> xyz.scm
> index afc8b0db0..544a414b4 100644
> --- a/gnu/packages/elixir-xyz.scm
> +++ b/gnu/packages/elixir-xyz.scm
> @@ -74,6 +74,30 @@ (define-public elixir-makeup
>      (home-page "https://hexdocs.pm/makeup/")
>      (license license:bsd-2)))
>  
> +(define-public elixir-jason
> +  (package
> +    (name "elixir-jason")
> +    (version "1.4.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (hexpm-uri name version))
> +       (sha256
> +        (base32
> "18d70i31bz11nr6vgsjn5prvhkvwqbyf3xq22ck5cnsnzp6ixc7v"))))
> +    (build-system mix-build-system)
> +    ;; There is no test/ in the source.
> +    (arguments
> +     (list
> +      #:tests? #f))
I'll move that comment closer to the cause.  Btw. you don't need to
split those lines if everything fits into one.
> +    (synopsis "JSON parser and generator")
> +    (description
> +     "Parser and generator are written in pure Elixir and optimized
> for speed. They
> +are at least twice as fast as other Elixir/Erlang libraries (e.g.
> +Poison). The performance is comparable to jiffy, which is
> implemented in C as
> +a NIF.")
> +    (home-page "https://hexdocs.pm/jason/")
> +    (license license:asl2.0)))
> +
Cheers