gnu: Add julia-json.

* gnu/packages/julia-xyz.scm (julia-json): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
nixo 2021-01-19 00:06:34 +01:00 committed by Ludovic Courtès
parent fb634a0e0b
commit dae521a0c9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -125,6 +125,31 @@ (define-public julia-fixedpointnumbers
digits (bits) after the decimal (radix) point.")
(license license:expat)))
(define-public julia-json
(package
(name "julia-json")
(version "0.21.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaIO/JSON.jl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1f9k613kbknmp4fgjxvjaw4d5sfbx8a5hmcszmp1w9rqfqngjx9m"))))
(build-system julia-build-system)
(propagated-inputs
`(("julia-datastructures" ,julia-datastructures)
("julia-fixedpointnumbers" ,julia-fixedpointnumbers)
("julia-parsers" ,julia-parsers)
("julia-offsetarrays" ,julia-offsetarrays)))
(home-page "https://github.com/JuliaIO/JSON.jl")
(synopsis "JSON parsing and printing library for Julia")
(description "@code{JSON.jl} is a pure Julia module which supports parsing
and printing JSON documents.")
(license license:expat)))
(define-public julia-orderedcollections
(package
(name "julia-orderedcollections")