gnu: Add lack-component.
authorKatherine Cox-Buday <cox.katherine.e@gmail.com>
Fri, 29 Mar 2019 21:23:43 +0000 (16:23 -0500)
committer宋文武 <iyzsong@member.fsf.org>
Sun, 7 Apr 2019 06:10:04 +0000 (14:10 +0800)
* gnu/packages/lisp.scm (sbcl-lack-component, cl-lack-component): New
variables.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
gnu/packages/lisp.scm

index b4c08f0..c4c2458 100644 (file)
@@ -4921,3 +4921,38 @@ performance and simplicity in mind.")
 
 (define-public cl-lack-response
   (sbcl-package->cl-source-package sbcl-lack-response))
+
+(define-public sbcl-lack-component
+  (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
+        (revision "1"))
+    (package
+     (name "sbcl-lack-component")
+     (version (git-version "0.0.0" revision commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fukamachi/lack.git")
+             (commit commit)))
+       (sha256
+        (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
+     (build-system asdf-build-system/sbcl)
+     (arguments
+      '(#:asd-file "lack-component.asd"
+        #:asd-system-name "lack-component"
+        #:test-asd-file "t-lack-component.asd"
+        ;; XXX: Component :LACK-TEST not found
+        #:tests? #f))
+     (native-inputs
+      `(("prove-asdf" ,sbcl-prove-asdf)))
+     (home-page "https://github.com/fukamachi/lack")
+     (synopsis "Lack, the core of Clack")
+     (description
+      "Lack is a Common Lisp library which allows web applications to be
+constructed of modular components.  It was originally a part of Clack, however
+it's going to be rewritten as an individual project since Clack v2 with
+performance and simplicity in mind.")
+     (license license:llgpl))))
+
+(define-public cl-lack-component
+  (sbcl-package->cl-source-package sbcl-lack-component))