diff options
author | Katherine Cox-Buday <cox.katherine.e@gmail.com> | 2020-01-03 15:22:52 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2020-01-03 20:45:42 +0100 |
commit | f4448e43b4ce907dd6dfd762ab441570406e7b34 (patch) | |
tree | b5f27c4f82a1b0425f738e05345bbc95ae587d99 | |
parent | b97dbb6448daa5febba8f2537a638cf9bdf70a91 (diff) | |
download | patches-f4448e43b4ce907dd6dfd762ab441570406e7b34.tar patches-f4448e43b4ce907dd6dfd762ab441570406e7b34.tar.gz |
gnu: Add cl-csv.
* gnu/packages/lisp-xyz.scm (sbcl-cl-csv, cl-csv, ecl-cl-csv): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d7d3fc462c..b1e4f593e4 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -7785,3 +7785,42 @@ and camel-case rules.") (define-public ecl-lisp-unit2 (sbcl-package->ecl-package sbcl-lisp-unit2)) + +(define-public sbcl-cl-csv + (let ((commit "3eba29c8364b033fbe0d189c2500559278b6a362") + (revision "1")) + (package + (name "sbcl-cl-csv") + (version (git-version "1.0.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AccelerationNet/cl-csv.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07h4ni89jzx93clx453hlnnb5g53hhlcmz5hghqv6ysam48lc8g6")))) + (build-system asdf-build-system/sbcl) + (arguments + ;; See: https://github.com/AccelerationNet/cl-csv/pull/34 + `(#:tests? #f)) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("cl-interpol" ,sbcl-cl-interpol) + ("iterate" ,sbcl-iterate))) + (native-inputs + `(("lisp-unit2" ,sbcl-lisp-unit2))) + (synopsis "Common lisp library for comma-separated values") + (description + "This is a Common Lisp library providing functions to read/write CSV +from/to strings, streams and files.") + (home-page "https://github.com/AccelerationNet/cl-csv") + (license license:bsd-3)))) + +(define-public cl-csv + (sbcl-package->cl-source-package sbcl-cl-csv)) + +(define-public ecl-cl-csv + (sbcl-package->ecl-package sbcl-cl-csv)) |