[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/22: gnu: Add http-body.
From: |
guix-commits |
Subject: |
10/22: gnu: Add http-body. |
Date: |
Sun, 7 Apr 2019 02:10:26 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit 5ca7143fdccc9a77bc34b92d57fd98b377d1a360
Author: Katherine Cox-Buday <address@hidden>
Date: Fri Mar 29 16:06:16 2019 -0500
gnu: Add http-body.
* gnu/packages/lisp.scm (sbcl-http-body, cl-http-body): New variables.
Signed-off-by: 宋文武 <address@hidden>
---
gnu/packages/lisp.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 20860b4..1800ced 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -4733,3 +4733,41 @@ CCL.")
(define-public cl-jonathan
(sbcl-package->cl-source-package sbcl-jonathan))
+
+(define-public sbcl-http-body
+ (let ((commit "dd01dc4f5842e3d29728552e5163acce8386eb73")
+ (revision "1"))
+ (package
+ (name "sbcl-http-body")
+ (version (git-version "0.1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fukamachi/http-body")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jd06snjvxcprhapgfq8sx0y5lrldkvhf206ix6d5a23dd6zcmr0"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ ;; Tests fail with: Component HTTP-BODY-ASD::HTTP-BODY-TEST not
+ ;; found, required by #<SYSTEM "http-body">. Why?
+ `(#:tests? #f))
+ (native-inputs
+ `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
+ ("sbcl-prove" ,sbcl-prove)))
+ (inputs
+ `(("sbcl-fast-http" ,sbcl-fast-http)
+ ("sbcl-jonathan" ,sbcl-jonathan)
+ ("sbcl-quri" ,sbcl-quri)))
+ (home-page "https://github.com/fukamachi/http-body")
+ (synopsis "HTTP POST data parser")
+ (description
+ "HTTP-Body parses HTTP POST data and returns POST parameters. It
+supports application/x-www-form-urlencoded, application/json, and
+multipart/form-data.")
+ (license license:bsd-2))))
+
+(define-public cl-http-body
+ (sbcl-package->cl-source-package sbcl-http-body))
- branch master updated (0eb306d -> d3715a3), guix-commits, 2019/04/07
- 04/22: gnu: Add static-vectors., guix-commits, 2019/04/07
- 02/22: gnu: Add smart-buffer., guix-commits, 2019/04/07
- 03/22: gnu: Add fast-http., guix-commits, 2019/04/07
- 01/22: gnu: Add xsubseq., guix-commits, 2019/04/07
- 06/22: gnu: Add checkl., guix-commits, 2019/04/07
- 10/22: gnu: Add http-body.,
guix-commits <=
- 14/22: gnu: Add lack-response., guix-commits, 2019/04/07
- 05/22: gnu: Add marshal., guix-commits, 2019/04/07
- 07/22: gnu: Add fast-io., guix-commits, 2019/04/07
- 08/22: gnu: Add jonathan., guix-commits, 2019/04/07
- 11/22: gnu: Add circular-streams., guix-commits, 2019/04/07
- 12/22: gnu: Add lack-request., guix-commits, 2019/04/07
- 09/22: gnu: Keep the 'cl-' name prefix for sbcl packages., guix-commits, 2019/04/07
- 13/22: gnu: Add local-time., guix-commits, 2019/04/07
- 15/22: gnu: Add lack-component., guix-commits, 2019/04/07
- 20/22: gnu: Add lack., guix-commits, 2019/04/07