mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: Add cjson.
* gnu/packages/javascript.scm (cjson): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
b5c51ae086
commit
ab58b2cc32
1 changed files with 21 additions and 0 deletions
|
@ -31,10 +31,31 @@ (define-module (gnu packages javascript)
|
|||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system trivial)
|
||||
#:use-module (guix build-system minify)
|
||||
#:use-module (guix utils))
|
||||
|
||||
(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 font-mathjax
|
||||
(package
|
||||
(name "font-mathjax")
|
||||
|
|
Loading…
Reference in a new issue