diff options
author | Marius Bakke <marius@gnu.org> | 2020-12-13 20:50:50 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-12-13 20:50:50 +0100 |
commit | d13ed52da216ece35af8e4f4ae413eb05912794b (patch) | |
tree | a4313f1c21fb309ffea89be715be640376935cfb /gnu/packages/javascript.scm | |
parent | bdfdb9d79d83c806ea59a9bdd99b5a786d14999c (diff) | |
parent | a7737f0ead2293536b9d0ba253de4673378a0ffa (diff) |
Merge branch 'ungrafting' into staging
Diffstat (limited to 'gnu/packages/javascript.scm')
-rw-r--r-- | gnu/packages/javascript.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index ac9fbfea60..48bde160cd 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -31,10 +31,31 @@ #: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") |