From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IM/xMpfD32W3tgAAe85BDQ:P1 (envelope-from ) for ; Thu, 29 Feb 2024 00:36:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IM/xMpfD32W3tgAAe85BDQ (envelope-from ) for ; Thu, 29 Feb 2024 00:36:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=ddo42a7L; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709163415; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5wXXs/xttOXIdDVcVYgpyMQSD53kcOc7xZotIUWp5zQ=; b=KDqiFiDKuiVmDeXw1xyvtB3gN0uH0J1uvYPlJtOC8WLaegmo7WnhjcKzCN1d7EcbvBuoir 5o2EK2k0DQTp6ymyCSrZrfbQl2S0zkTooY+zyUG/fEEs45oi/8A2uLarmuBO9TxTJTA28s W/pbcYvRveZoygJ/FdUQdje2BleGbqGfUeGUCw9eDNXaWGhVDgdco8PATMXBNWhLVIu7FH iYUCvS1tsgiiTYBLzS19kMfdikuRb8Lxdy8u7tzzXi5gmgk7SVi/fPa3uw559LJVeu4i3t wyh5BKyYyVs9jkTtsqX2kdFxI40iEk3Py4qBzyD4IpaYt62XOMVfWAvyQ9lqSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=ddo42a7L; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709163415; a=rsa-sha256; cv=none; b=ma+nd4Eg8AHNXMOuGfsy32uieXtLiMHmUQPPG5PEz38kJDcY6WJHvRkkTKwvipnbmBRrbF XOUdebBAzxuIpOk5MW9Ea238vzdxL9VUMuI99af7wqQazHXK2glcewXtKstPezqIVZkyyf NQ0FWcNSvhb5uATXehNS0Y2hY9gkqgsy4l6tRPicfLwbTGlfFFFu3hyzhAmPBBtg3XQcHD GeJW+80AMmW1exUb0D3viNzhXdDE1DOPt6aeQOA6uqGmys7o6jSzaZdsHQksdo7auO2ERx 5Pk1n11xGWiXJmGFgmfYwySq2774VNQGNni+8MYlpN6wnfNWhGEURdL9oZ+nGA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7FA475A9B2 for ; Thu, 29 Feb 2024 00:36:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfTTd-0005te-Dj; Wed, 28 Feb 2024 18:36:41 -0500 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 1rfTTZ-0005sp-4b for guix-patches@gnu.org; Wed, 28 Feb 2024 18:36:37 -0500 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 1rfTTY-0007U9-H3; Wed, 28 Feb 2024 18:36:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfTTy-0002bU-CY; Wed, 28 Feb 2024 18:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68492] [PATCH v2 1/2] gnu: Add python-fastapi-pagination-minimal. References: <20240115232510.11373-1-goodoldpaul@autistici.org> In-Reply-To: <20240115232510.11373-1-goodoldpaul@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 23:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68492@debbugs.gnu.org Cc: Giacomo Leidi , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 68492-submit@debbugs.gnu.org id=B68492.17091633999941 (code B ref 68492); Wed, 28 Feb 2024 23:37:02 +0000 Received: (at 68492) by debbugs.gnu.org; 28 Feb 2024 23:36:39 +0000 Received: from localhost ([127.0.0.1]:55207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfTTb-0002aC-BG for submit@debbugs.gnu.org; Wed, 28 Feb 2024 18:36:39 -0500 Received: from confino.investici.org ([93.190.126.19]:38667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfTTY-0002a0-UQ for 68492@debbugs.gnu.org; Wed, 28 Feb 2024 18:36:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1709163362; bh=5wXXs/xttOXIdDVcVYgpyMQSD53kcOc7xZotIUWp5zQ=; h=From:To:Cc:Subject:Date:From; b=ddo42a7Lnc1AP0MGkzEBV7eMsUk6gaQkh0/8Nbm7rg16hVsjWUbpO2UYp+fybc1As Hq/Te4+BuGQK3FS4doDkjzxDs1OeVXzOOCMTIxzO03q41TyYRYcDSzD+9kREjclOBe rP4cEcYaMtrdgVGG8lNfrrnUoz7x9p6MXBsAX9rM= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TlW2B2PHtz11B7; Wed, 28 Feb 2024 23:36:02 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4TlW2B1rMbz118h; Wed, 28 Feb 2024 23:36:02 +0000 (UTC) Date: Thu, 29 Feb 2024 00:35:50 +0100 Message-ID: <98b3490c282da8aed1b0106620959101b8d8eebb.1709163351.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.87 X-Spam-Score: -6.87 X-Migadu-Queue-Id: 7FA475A9B2 X-Migadu-Scanner: mx11.migadu.com X-TUID: LtYTWBEZS7AK * gnu/packages/python-web.scm (python-fastapi-pagination-minimal): New variable. Change-Id: I69e06ba405bce57409d83f3545e6db2905d3c6a4 --- gnu/packages/python-web.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index cde4ac4f58..1ff5d1009d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -39,7 +39,7 @@ ;;; Copyright © 2020 Edouard Klein ;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego ;;; Copyright © 2020 Konrad Hinsen -;;; Copyright © 2020, 2022 Giacomo Leidi +;;; Copyright © 2020, 2022, 2024 Giacomo Leidi ;;; Copyright © 2021 Ekaitz Zarraga ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Maxime Devos @@ -8791,6 +8791,39 @@ (define-public python-fastapi-csrf-protect pattern.") (license license:expat))) +(define-public python-fastapi-pagination-minimal + (package + (name "python-fastapi-pagination-minimal") + (version "0.12.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/uriyyo/fastapi-pagination") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qkcphjk1qy680v1hkmqbs4p7srvx020wy39b97anrn9dyyi5ah6")))) + (build-system pyproject-build-system) + (arguments + ;; Tests depend on python-cassandra, + ;; which is not yet packaged in Guix. + `(#:tests? #f)) + (native-inputs + (list poetry)) + ;; These are the only required dependencies, + ;; please add all optional dependencies to the + ;; full python-fastapi-pagination below. + (propagated-inputs (list python-fastapi + python-pydantic)) + (home-page "https://github.com/uriyyo/fastapi-pagination") + (synopsis "FastAPI pagination library") + (description "@code{fastapi-pagination} is a Python library designed to +simplify pagination in FastAPI applications. It provides a set of utility +functions and data models to help you paginate your database queries and +return paginated responses to your clients.") + (license license:expat))) + (define-public python-pyactiveresource (package (name "python-pyactiveresource") base-commit: 23283c50e96d7812a42b1272329fa3ba05a5a6e6 -- 2.41.0