unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Ryan Prior <rprior@protonmail.com>
Cc: 44978@debbugs.gnu.org
Subject: [bug#44978] [PATCH] gnu: Add cjson.
Date: Tue, 08 Dec 2020 09:41:33 +0000	[thread overview]
Message-ID: <87lfe8iqia.fsf@cbaines.net> (raw)
In-Reply-To: <20201201041027.6129-1-rprior@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 1588 bytes --]


Hey, I pushed this to master as
ab58b2cc32068fc9e5f0a7c7ae112349943b7dfd.

The only thing I changed here is I moved the package in to the
javascript module, as that seemed more appropriate than the web module.

Ryan Prior via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/web.scm (cjson): New variable.
> ---
>  gnu/packages/web.scm | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index f559d63f1b..21fc1ae964 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -957,6 +957,26 @@ project)
>  @end itemize")
>      (license license:bsd-2)))
>  
> +(define-public cjson
> +  (package
> +    (name "cjson")
> +    (version "1.7.14")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/DaveGamble/cJSON")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32 "1rlnailhjm180zb6pc17jwphjwivw8kfpqgixjfgq4iyryq46sah"))))
> +    (build-system cmake-build-system)
> +    (arguments
> +     `(#:configure-flags '("-DENABLE_CJSON_UTILS=On")))
> +    (home-page "https://github.com/DaveGamble/cJSON")
> +    (synopsis "JSON parser written in ANSI C")
> +    (description "This library provides a portable embeddable JSON parser.")
> +    (license license:expat)))
> +
>  (define-public qjson
>    (package
>      (name "qjson")


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

  reply	other threads:[~2020-12-08  9:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01  1:44 [bug#44978] [PATCH] gnu: packages: Add tiny-bignum Ryan Prior via Guix-patches via
2020-12-01  4:10 ` [bug#44978] [PATCH] gnu: Add cjson Ryan Prior via Guix-patches via
2020-12-08  9:41   ` Christopher Baines [this message]
2020-12-01  4:15 ` [bug#44978] [PATCH 1/3] gnu: vlang: Update to 0.1.30 Ryan Prior via Guix-patches via
2020-12-01  4:15   ` [bug#44978] [PATCH 2/3] gnu: vlang: Use system tiny-bignum Ryan Prior via Guix-patches via
2020-12-01  4:15   ` [bug#44978] [PATCH 3/3] gnu: vlang: Use system cJSON Ryan Prior via Guix-patches via
2020-12-06  4:59 ` [bug#44978] Update vlang Ryan Prior via Guix-patches via
2020-12-08  9:40 ` [bug#44978] [PATCH] gnu: packages: Add tiny-bignum Christopher Baines
2020-12-24  2:44 ` [bug#44978] Package v 0.1.30 in preparation for 0.2 Ryan Prior via Guix-patches via
2020-12-24 22:03   ` Leo Famulari
2021-01-01 19:47 ` [bug#44978] What remains to be done for bug#44978 Ryan Prior via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfe8iqia.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=44978@debbugs.gnu.org \
    --cc=rprior@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).