From patchwork Tue Mar 19 21:41:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 62003 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D6E4227BBED; Tue, 19 Mar 2024 21:44:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 10D6227BBE2 for ; Tue, 19 Mar 2024 21:44:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmhF8-0004gU-Fv; Tue, 19 Mar 2024 17:43:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmhF1-0004dL-Sd for guix-patches@gnu.org; Tue, 19 Mar 2024 17:43:28 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmhF1-0004V4-Js for guix-patches@gnu.org; Tue, 19 Mar 2024 17:43:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmhFc-0002Kr-Fy; Tue, 19 Mar 2024 17:44:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69904] [PATCH 07/10] gnu: Add cl-easy-routes. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 21:44:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69904 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69904@debbugs.gnu.org Cc: Sharlatan Hellseher , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69904-submit@debbugs.gnu.org id=B69904.17108846148762 (code B ref 69904); Tue, 19 Mar 2024 21:44:04 +0000 Received: (at 69904) by debbugs.gnu.org; 19 Mar 2024 21:43:34 +0000 Received: from localhost ([127.0.0.1]:36109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmhF7-0002H8-Jz for submit@debbugs.gnu.org; Tue, 19 Mar 2024 17:43:33 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:48272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmhF3-0002FO-K4 for 69904@debbugs.gnu.org; Tue, 19 Mar 2024 17:43:30 -0400 Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-33ff53528ceso2201467f8f.0 for <69904@debbugs.gnu.org>; Tue, 19 Mar 2024 14:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710884505; x=1711489305; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kERNFTB8C1vv8PIVGCAKgk/c7OOgIYRNP1WAIubnCr0=; b=ng50Vi3NfUKa2nLO4cA0d5tXoyMEdPuYxWxg306ZEZFaUiYujaTWIFe1oEyHrW76r1 mVhWoqMETYuTKP0R9loP0mFvYiedIuUZXWJY2D8biPWVTpq3j6Uo5lMR2akFbE9DSrN5 sw0Ajn0MvnMo8DgCmcKmTGbDW3E1HLiG6PEBDZMVOElvnCbRZwz4un+5oTdc9Rc7VR+p twDa8uvVOunEYpyIRlJQtGlEhp6lskQpXJ+PrAAV5DHVtm2eeNM52gvqS7SO8LBS7Lnv cDypkxyVn7rpSbQMl4/Nk+Eiue17lx0xBHY9RJPD94p8l1JSchSWmnZKBtN5oUHlbCkT IrNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710884505; x=1711489305; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kERNFTB8C1vv8PIVGCAKgk/c7OOgIYRNP1WAIubnCr0=; b=ggKJdUs8vKmDo70PH/poZyXIkrr40vrmggPtkpwW21rrg+JR05W8c9CbB+d4mKU1jp ImC893METTp69h2vJZzwZaOfCkHq8rOFEKJTgyF05ePxFUZfh7snVp+0R/Q75Qp/ucQg ttYEo5e+dATcapZykxfFVdrrun63dOlHYX9rFxhG0LoyKv1/LbThosx8Sodm5uTBcUHy amTskiHp4bmVuHmonVlA0LOUeDsduE544vDIQQNAR+OW36E4haBlJU1Y47rRmswfEbyj tx0h3h1Eue5n74fuPtsntF25a1nF6Vvazi8lru+efUk3rs4jshRvfgtzJxPC5A9/adWA Rz1g== X-Gm-Message-State: AOJu0YxWd2W1HxxioOUTTOfIP48qke5EwqAzh+fHX8VgeFHPZ5STU0LJ tDRso0ZSI6Z0vBnyI54TOCSJ1B6awCR7VxypdbBi843ZsDgSyL0XWvip2d12h1Q= X-Google-Smtp-Source: AGHT+IHoWizI2CukDEaAEzQrMg9+JAc5x6LvSrXTCRHSdoOoZbjs7SeRXe2DpxqBEmEmUEKH5HYO0Q== X-Received: by 2002:adf:ce85:0:b0:33e:d470:da8f with SMTP id r5-20020adfce85000000b0033ed470da8fmr8246776wrn.17.1710884504601; Tue, 19 Mar 2024 14:41:44 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id k4-20020adfe3c4000000b0033e48db23bdsm13232957wrm.100.2024.03.19.14.41.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 14:41:44 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 19 Mar 2024 21:41:33 +0000 Message-ID: <08205512dd11fa2c19d91a7d9dcb9f09ff58e01f.1710883391.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (cl-easy-routes, ecl-easy-routes, sbcl-easy-routes): New variables. Change-Id: Ic8d7413faf4b7e23775cc9c10b1b3da6494433d0 --- gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index a22aef345f..6c59dd915e 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -2986,6 +2986,46 @@ (define-public cl-eager-future2 (define-public ecl-eager-future2 (sbcl-package->ecl-package sbcl-eager-future2)) +(define-public sbcl-easy-routes + (let ((commit "7832f8bf3d07825b5eb967a2ef04da7c40c18248") + (revision "0")) + (package + (name "sbcl-easy-routes") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mmontone/easy-routes") + (commit commit))) + (file-name (git-file-name "cl-easy-routes" version)) + (sha256 + (base32 "1banw54kz2llzb9h5sm47ckfc9l348m7qncm0npsy0w837rxkyzx")))) + (build-system asdf-build-system/sbcl) + (native-inputs (list sbcl-stefil)) + (inputs + (list sbcl-djula sbcl-hunchentoot sbcl-routes)) + (home-page "https://github.com/mmontone/easy-routes/") + (synopsis "Routes handling utility on top of Hunchentoot") + (description + "EASY-ROUTES is yet another routes handling system on top of Hunchentoot. It's +just glue code for Restas routing subsystem (CL-ROUTES). + +It supports: +@itemize +@item dispatch based on HTTP method +@item arguments extraction from the url path +@item decorators +@item URL generation from route names +@end itemize") + (license license:expat )))) + +(define-public cl-easy-routes + (sbcl-package->cl-source-package sbcl-easy-routes)) + +(define-public ecl-easy-routes + (sbcl-package->ecl-package sbcl-easy-routes)) + (define-public sbcl-jpl-util (let ((commit "0311ed374e19a49d43318064d729fe3abd9a3b62")) (package