diff options
author | Reily Siegel <mail@reilysiegel.com> | 2021-12-23 18:04:38 -0500 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-01-12 17:43:03 +0100 |
commit | 684342691ec39f04dcfd64d92b57f52f89e1129e (patch) | |
tree | 15411b5974b43a8d7676b5419a83edc228f86d5c /gnu | |
parent | a72006cff41ef3b8a80be6af4fd3e046dd4876af (diff) | |
download | guix-684342691ec39f04dcfd64d92b57f52f89e1129e.tar guix-684342691ec39f04dcfd64d92b57f52f89e1129e.tar.gz |
gnu: Add clojure-data-codec.
* gnu/packages/clojure.scm (clojure-data-codec): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/clojure.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 10171a3745..8c78c757e1 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -243,6 +243,35 @@ It supports Clojure 1.5.1 and later as well as ClojureScript.") (home-page "https://github.com/clojure/core.match") (license license:epl1.0)))) +(define-public clojure-data-codec + (package + (name "clojure-data-codec") + (version "0.1.1") + (home-page "https://github.com/clojure/data.codec") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "data.codec-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "192df1dmbwvf1x837mi731n9x94bdypaz18va45plzgdsh4xx6dr")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '())) + (native-inputs (list java-commons-codec + clojure-test-check)) + (synopsis "Native codec implementations for Clojure") + (description "Native codec implementations for Clojure. Currently only +base64 has been implemented. Implements the standard base64 encoding +character set, but does not yet support automatic fixed line-length encoding. +All operations work on either byte arrays or Input/OutputStreams. Performance +is on par with Java implementations, e.g., Apache commons-codec.") + (license license:epl1.0))) + (define-public clojure-instaparse (let ((commit "dcfffad5b065e750f0f5835f017cdd8188b8ca2e") (version "1.4.9")) ; upstream forget to tag this release |