@@ -315,6 +315,37 @@ (define-public clojure-data-codec
is on par with Java implementations, e.g., Apache commons-codec.")
(license license:epl1.0)))
+(define-public clojure-data-json
+ (package
+ (name "clojure-data-json")
+ (version "2.4.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure/data.json")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1xx3hiy62rrph4y4g3aqa1lfb0ns3p6vdvcvlpgm5w1npl70n2r5"))))
+ (build-system clojure-build-system)
+ (native-inputs (list clojure-test-check))
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()
+ ;; Tests fail due to issues with clojure.pprint. This is an issue with
+ ;; how Guix AOT-compiles Clojure.
+ #:test-exclude '(clojure.data.json-compat-0-1-test
+ clojure.data.json-gen-test
+ clojure.data.json-test)))
+ (home-page "https://github.com/clojure/data.json")
+ (synopsis "JSON parser/generator to/from Clojure data structures")
+ (description "clojure-data-json implements a JSON parser/generator that
+enables easy conversion between Clojure data structures and JSON strings,
+without needing a defined schema.")
+ (license license:epl1.0)))
+
(define-public clojure-data-priority-map
(package
(name "clojure-data-priority-map")