diff options
author | Katherine Cox-Buday <cox.katherine.e@gmail.com> | 2019-03-29 14:50:42 -0500 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2019-04-07 11:23:14 +0800 |
commit | 5ceb1492d4000544bd1ae3ce94673d4c40822ea1 (patch) | |
tree | 770ac993440bc610f5df710a174e2640e469b3d5 | |
parent | 50fe395d1e13bc7c5f6d65cde8609a3cf80a1235 (diff) | |
download | guix-5ceb1492d4000544bd1ae3ce94673d4c40822ea1.tar.gz guix-5ceb1492d4000544bd1ae3ce94673d4c40822ea1.zip |
gnu: Add drakma.
* gnu/packages/lisp.scm (sbcl-drakma, cl-drakma): New variables.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r-- | gnu/packages/lisp.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 800b8f576b..dcd557dbaf 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -4122,3 +4122,43 @@ the format used by the popular compression tool bzip2.") (define-public cl-chipz (sbcl-package->cl-source-package sbcl-chipz)) + +(define-public sbcl-drakma + (let ((version "2.0.4") + (commit "7647c0ae842ff2058624e53979c7f297760c97a7") + (revision "1")) + (package + (name "sbcl-drakma") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/edicl/drakma.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1c4i9wakhj5pxfyyykxshdmv3180sbkrx6fcyynikmc0jd0rh84r")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("sbcl-puri" ,sbcl-puri) + ("sbcl-cl-base64" ,sbcl-cl-base64) + ("sbcl-chunga" ,sbcl-chunga) + ("sbcl-flexi-streams" ,sbcl-flexi-streams) + ("sbcl-cl-ppcre" ,sbcl-cl-ppcre) + ("sbcl-chipz" ,sbcl-chipz) + ("sbcl-usocket" ,sbcl-usocket) + ("sbcl-cl+ssl" ,sbcl-cl+ssl))) + (native-inputs + `(("sbcl-fiveam" ,sbcl-fiveam))) + (home-page "https://edicl.github.io/drakma/") + (synopsis "HTTP client written in Common Lisp") + (description + "Drakma is a full-featured HTTP client implemented in Common Lisp. It +knows how to handle HTTP/1.1 chunking, persistent connections, re-usable +sockets, SSL, continuable uploads, file uploads, cookies, and more.") + (license license:bsd-2)))) + +(define-public cl-drakma + (sbcl-package->cl-source-package sbcl-drakma)) |