diff options
author | Foo Chuan Wei <chuanwei.foo@hotmail.com> | 2021-10-13 10:45:47 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-10-13 10:46:29 +0200 |
commit | 203743f4b0d474e2cce0977b1771cc20a1c25c83 (patch) | |
tree | 0c609fe30b6cef3ba791397b5f3265221571fd09 /gnu/packages/lisp-xyz.scm | |
parent | 96a5ae99d826e06fc66946381e5458cb9cee9c9e (diff) | |
download | guix-203743f4b0d474e2cce0977b1771cc20a1c25c83.tar.gz |
gnu: Add cl-yaml.
* gnu/packages/lisp-xyz.scm (cl-yaml, ecl-cl-yaml, sbcl-cl-yaml): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index e713461ebc..29d79e481e 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -19032,3 +19032,43 @@ For a YAML parser and emitter using this, check out cl-yaml.") (define-public ecl-cl-libyaml (sbcl-package->ecl-package sbcl-cl-libyaml)) + +(define-public sbcl-cl-yaml + (let ((commit "c3202be9a753c51f3bc79538a5a498a8865192aa") + (revision "1")) + (package + (name "sbcl-cl-yaml") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eudoxia0/cl-yaml") + (commit commit))) + (file-name (git-file-name "cl-yaml" version)) + (sha256 + (base32 "1izjg0v6rf7dh069bbnnr67l30lsqj86wdk7y9ggbgiwh6v9j185")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("cl-libyaml" ,sbcl-cl-libyaml) + ("cl-ppcre" ,sbcl-cl-ppcre) + ("parse-number" ,sbcl-parse-number))) + (native-inputs + `(("cl-fad" ,sbcl-cl-fad) + ("fiveam" ,sbcl-fiveam) + ("generic-comparability" ,sbcl-generic-comparability) + ("trivial-benchmark" ,sbcl-trivial-benchmark) + ("yason" ,sbcl-yason))) + (home-page "https://github.com/eudoxia0/cl-yaml") + (synopsis "YAML parser for Common Lisp") + (description + "This is a YAML parser and emitter for Common Lisp built on top of +libyaml.") + (license license:expat)))) + +(define-public cl-yaml + (sbcl-package->cl-source-package sbcl-cl-yaml)) + +(define-public ecl-cl-yaml + (sbcl-package->ecl-package sbcl-cl-yaml)) |