>From 47997c9f641e8ab85a39167e91810243106dab30 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 27 Apr 2022 09:48:24 +0200 Subject: [PATCH 3/6] gnu: Add python-sanic-routing. * gnu/packages/python-web.scm (python-sanic-routing): New variable. --- gnu/packages/python-web.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index bf31b9dc74..6ffec0d91b 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6341,6 +6341,26 @@ (define-public python-hstspreload as a Python package.") (license license:bsd-3))) +(define-public python-sanic-routing + (package + (name "python-sanic-routing") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sanic-routing" version)) + (sha256 + (base32 "0k9paln0jd4sc2bklp977c82n29pk12wiv726siplkh57y5yi70k")))) + (build-system python-build-system) + (arguments + ;; PyPi sources does not contain tests, recursive dependency on python-sanic. + (list #:tests? #f)) + (home-page "https://github.com/sanic-org/sanic-routing/") + (synopsis "Routing component for Sanic") + (description "Internal package for @code{python-sanic}, which provides +the @code{BasicRouter}.") + (license license:expat))) + (define-public python-sanic (package (name "python-sanic") -- 2.35.1