unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 51909@debbugs.gnu.org
Subject: [bug#51909] [PATCH] gnu: Add cl-routes.
Date: Wed, 17 Nov 2021 05:42:25 +0000	[thread overview]
Message-ID: <PU1PR01MB2155AAEE5C6DC2795F5AD2BE8D9A9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)

* gnu/packages/lisp-xyz.scm (cl-routes, ecl-cl-routes, sbcl-cl-routes):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4b17c173c9..8e148821aa 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18286,6 +18286,52 @@ formats within this framework.")
 (define-public cl-feeder
   (sbcl-package->cl-source-package sbcl-feeder))
 
+(define-public sbcl-cl-routes
+  (let ((commit "1b79e85aa653e1ec87e21ca745abe51547866fa9")
+        (revision "1"))
+    (package
+      (name "sbcl-cl-routes")
+      (version (git-version "0.2.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/archimag/cl-routes")
+               (commit commit)))
+         (file-name (git-file-name "cl-routes" version))
+         (sha256
+          (base32 "1zpk3cp2v8hm50ppjl10yxr437vv4552r8hylvizglzrq2ibsbr1"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments `(#:asd-systems '("routes")
+                   #:phases
+                   (modify-phases %standard-phases
+                     (add-after 'unpack 'fix-tests
+                       (lambda* (#:key inputs #:allow-other-keys)
+                         ;; Fix: :FORCE and :FORCE-NOT arguments not allowed in
+                         ;; a nested call to ASDF/OPERATE:OPERATE unless
+                         ;; identically to toplevel
+                         (substitute* "routes.asd"
+                           ((" :force t") "")))))))
+      (inputs
+       `(("iterate" ,sbcl-iterate)
+         ("puri" ,sbcl-puri)
+         ("split-sequence" ,sbcl-split-sequence)))
+      (native-inputs
+       `(("lift" ,sbcl-lift)))
+      (home-page "https://github.com/archimag/cl-routes")
+      (synopsis
+       "Common Lisp re-implementation of the Rails routes system for mapping URLs")
+      (description
+       "Common Lisp re-implementation of the Rails routes system for mapping
+URLs.")
+      (license license:llgpl))))
+
+(define-public cl-routes
+  (sbcl-package->cl-source-package sbcl-cl-routes))
+
+(define-public ecl-cl-routes
+  (sbcl-package->ecl-package sbcl-cl-routes))
+
 (define-public sbcl-terminfo
   (let ((commit "b8b2e3ed786bfcf9f1aa4a264cee2e93135080f5")
         (revision "1"))

base-commit: 02a67810e566e8402e0b927c81ae39391762767d
-- 
2.25.1





             reply	other threads:[~2021-11-17  5:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17  5:42 Foo Chuan Wei [this message]
2021-11-19  9:57 ` bug#51909: [PATCH] gnu: Add cl-routes Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PU1PR01MB2155AAEE5C6DC2795F5AD2BE8D9A9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
    --to=chuanwei.foo@hotmail.com \
    --cc=51909@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).