From 1b95b1ff395533aa4e74b2728b8d2a016000b28f Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 26 Jun 2021 10:12:34 -0500 Subject: [PATCH] gnu: Add cl-hunchenissr-routes. * gnu/packages/lisp-xyz.scm (sbcl-hunchenissr-routes): Add new variable. * gnu/packages/lisp-xyz.scm (ecl-hunchenissr-routes): Add new variable. * gnu/packages/lisp-xyz.scm (cl-hunchenissr-routes): Add new variable. --- gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index bb264ac621..c602ee5f2d 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18352,3 +18352,37 @@ Javascript.") (define-public cl-hunchenissr (sbcl-package->cl-source-package sbcl-hunchenissr)) +(define-public sbcl-hunchenissr-routes + (let ((commit "2e831975dc2a6c030f1b518747cf429be8484b31") + (revision "1")) + (package + (name "sbcl-hunchenissr-routes") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/interactive-ssr/hunchenissr-routes") + (commit commit))) + (file-name (git-file-name "hunchenissr-routes" version)) + (sha256 + (base32 "1xyqacihxwk4vnffqlg93czmalscglp6sh3bwy3qwb7hdxv6yxz6")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("sbcl-alexandria" ,sbcl-alexandria) + ("sbcl-cl-ppcre" ,sbcl-cl-ppcre) + ("sbcl-cl-unification" ,sbcl-cl-unification) + ("sbcl-hunchenissr" ,sbcl-hunchenissr))) + (home-page "https://github.com/interactive-ssr/hunchenissr-routes") + (synopsis "Enable path variables when using Hunchenissr for Common Lisp.") + (description "Enable path variables in networking routes when using +Hunchenissr for Common Lisp. If a part of the path (between two slashes) starts +with a question mark (?), that symbol (without question mark) will bound to +whatever value was in the same place in the URL (as a string).") + (license license:llgpl)))) + +(define-public ecl-hunchenissr-routes + (sbcl-package->ecl-package sbcl-hunchenissr-routes)) + +(define-public cl-hunchenissr + (sbcl-package->cl-source-package sbcl-hunchenissr-routes)) -- 2.32.0