From patchwork Sun Apr 18 06:48:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 28639 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 9A99127BC77; Sun, 18 Apr 2021 07:49:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A3ECA27BC6C for ; Sun, 18 Apr 2021 07:49:19 +0100 (BST) Received: from localhost ([::1]:35406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lY1F8-00008E-GO for patchwork@mira.cbaines.net; Sun, 18 Apr 2021 02:49:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lY1Es-000084-JA for guix-patches@gnu.org; Sun, 18 Apr 2021 02:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lY1Es-00052a-C8 for guix-patches@gnu.org; Sun, 18 Apr 2021 02:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lY1Es-0004pQ-BB for guix-patches@gnu.org; Sun, 18 Apr 2021 02:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47864] [PATCH 1/3] gnu: Add marshmallow-3.2. References: In-Reply-To: Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Apr 2021 06:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47864 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47864@debbugs.gnu.org Received: via spool by 47864-submit@debbugs.gnu.org id=B47864.161872853718548 (code B ref 47864); Sun, 18 Apr 2021 06:49:02 +0000 Received: (at 47864) by debbugs.gnu.org; 18 Apr 2021 06:48:57 +0000 Received: from localhost ([127.0.0.1]:45154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY1Em-0004p6-Vj for submit@debbugs.gnu.org; Sun, 18 Apr 2021 02:48:57 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:56440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY1El-0004op-9d for 47864@debbugs.gnu.org; Sun, 18 Apr 2021 02:48:56 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id D71221D36E61 for <47864@debbugs.gnu.org>; Sun, 18 Apr 2021 08:48:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1618728528; bh=cWxnQpNjiRYfeTUe1L/Z5ydsYBh0O7eut+4cuEE/mYI=; h=Date:From:To:Subject; b=r6Rn1GIrwA+unW46S+8VeE7hKT4/Ab2+fBLbySyoZ5rjI2iFXmsbDFTc2U/XXMEZ+ VPTZ1uh+NnmJP01vYNkDTZEHXd5LcVE+FE5jDQoZ085+reQy3cBnQp1FZNnd4r4ZYT oldv+DHy0BF0ZHGL8wnAzP0PO7rxspjrxbAVsEQPYoOzouEbF5yJXsdFX6UJ59a5y6 XMBzTZFr9+bQWMZr/6rg9X4b8PXEhLpe82MXtAlg2ziMZud1nveVHj08ygeytFJ5j0 EOq4AdoQDI3YWqMKZOersXT6IAA/08+xpVD6A20gbh0QD4y8PsqMiTcPhbMzTTCnaE YcRccJ6E6unKw== X-Fuglu-Suspect: 5c79e8dfdcec473d81d8df1bb32ffe11 X-Fuglu-Spamstatus: NO Received: from webmail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA for <47864@debbugs.gnu.org>; Sun, 18 Apr 2021 08:48:42 +0200 (CEST) MIME-Version: 1.0 Date: Sun, 18 Apr 2021 08:48:42 +0200 From: david larsson Message-ID: <082455aea4a75f65b5726ac65768a6e9@selfhosted.xyz> X-Sender: david.larsson@selfhosted.xyz 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" X-getmail-retrieved-from-mailbox: Patches From 5eb6db940c379e44a95b5a64382cc867f7d3c197 Mon Sep 17 00:00:00 2001 From: methuselah-0 Date: Wed, 31 Mar 2021 17:30:20 +0200 Subject: [PATCH 1/3] gnu: Add marshmallow-3.2. * gnu/packages/python-xyz.scm (python-marshmallow-3.2): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c90a89a411..872ba4b281 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -99,6 +99,7 @@ ;;; Copyright © 2021 Sharlatan Hellseher ;;; Copyright © 2021 Ellis Kenyő ;;; Copyright © 2021 LibreMiami +;;; Copyright © 2021 David Larsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -17122,6 +17123,31 @@ Python datatypes.") complex datatypes to and from native Python datatypes.") (license license:expat))) +(define-public python-marshmallow-3.2 + (package + (name "python-marshmallow") + (version "3.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "marshmallow" version)) + (sha256 + (base32 + "1w18klwj0z9bqxj252qpj1hz8l46nl27sbc89rkajc7mln73wbws")))) + (build-system python-build-system) + (propagated-inputs + `(("python-dateutil" ,python-dateutil) + ("python-simplejson" ,python-simplejson))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytz" ,python-pytz))) + (home-page "https://github.com/marshmallow-code/marshmallow") + (synopsis "Convert complex datatypes to and from native +Python datatypes") + (description "@code{marshmallow} provides a library for converting +complex datatypes to and from native Python datatypes.") + (license license:expat))) ; MIT license + (define-public python-apispec (package (name "python-apispec") From patchwork Sun Apr 18 06:56:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 28640 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 0F48627BC77; Sun, 18 Apr 2021 07:57:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 913BC27BC6C for ; Sun, 18 Apr 2021 07:57:18 +0100 (BST) Received: from localhost ([::1]:36332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lY1Mr-00015d-QE for patchwork@mira.cbaines.net; Sun, 18 Apr 2021 02:57:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lY1Mc-00015R-2P for guix-patches@gnu.org; Sun, 18 Apr 2021 02:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lY1Mb-0001XB-R8 for guix-patches@gnu.org; Sun, 18 Apr 2021 02:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lY1Mb-00050x-QE for guix-patches@gnu.org; Sun, 18 Apr 2021 02:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47864] [PATCH 2/3] gnu: Add marshmallow-jsonapi. References: In-Reply-To: Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Apr 2021 06:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47864 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47864@debbugs.gnu.org Received: via spool by 47864-submit@debbugs.gnu.org id=B47864.161872901719265 (code B ref 47864); Sun, 18 Apr 2021 06:57:01 +0000 Received: (at 47864) by debbugs.gnu.org; 18 Apr 2021 06:56:57 +0000 Received: from localhost ([127.0.0.1]:45163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY1MX-00050e-9I for submit@debbugs.gnu.org; Sun, 18 Apr 2021 02:56:57 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:58844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY1MU-00050P-KN for 47864@debbugs.gnu.org; Sun, 18 Apr 2021 02:56:55 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id B2BCE1D36ED8 for <47864@debbugs.gnu.org>; Sun, 18 Apr 2021 08:56:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1618729007; bh=rlmm96t8jTgrN3eB0wUrwVkLcOmX+1JJXCytpeXb0TM=; h=Date:From:To:Subject; b=ATcfdnN4myB3wJuLuFeQVx5KMHofRi+/yRWsxL9LDXren8JOqwQ/TZpHkdy6hvT53 x0X3U03Piq2gVGu1KsciHkNyadXi0z8utgfUeShaaBcGk3gpP+9UohUmAv24DKNZ3/ RhIZeQOuCZ+32LFH6eqncRBtEvZSjMGaU2GSe+BTjiZ2H2xtqyzcpY8eNJ+MeTU0L1 Y5X+evaDJOrQ6YRL6MRLDuSSTP4C5rF17UTp4Brk0A0/zhVKbEq7J3jbjfEABQtF9D QTtFWqDbX1VmSMBUoIa+lX40jguO5AcXOq+74JTposp5mLDuRMyb9Bb5bIcugKVihB N/G2zO8jMSKvA== X-Fuglu-Suspect: e7bd6eb3eaf04d60be2b7cf48e1a4e96 X-Fuglu-Spamstatus: NO Received: from webmail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA for <47864@debbugs.gnu.org>; Sun, 18 Apr 2021 08:56:41 +0200 (CEST) MIME-Version: 1.0 Date: Sun, 18 Apr 2021 08:56:41 +0200 From: david larsson Message-ID: <929826b34b04cecaf70403290b2019e8@selfhosted.xyz> X-Sender: david.larsson@selfhosted.xyz 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" X-getmail-retrieved-from-mailbox: Patches This patch adds marshmallow-jsonapi locked at version 0.22 since flask-combo-jsonapi needs it locked to this version. From 76d533d57337702ddd1576783fa9fabb0fbf3127 Mon Sep 17 00:00:00 2001 From: methuselah-0 Date: Wed, 31 Mar 2021 17:34:00 +0200 Subject: [PATCH 2/3] gnu: Add marshmallow-jsonapi. * gnu/packages/python-xyz.scm (python-marshmallow-jsonapi-0.22): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 872ba4b281..ae91affd13 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17148,6 +17148,37 @@ Python datatypes") complex datatypes to and from native Python datatypes.") (license license:expat))) ; MIT license +(define-public python-marshmallow-jsonapi-0.22 + (package + (name "python-marshmallow-jsonapi") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "marshmallow-jsonapi" version)) + (sha256 + (base32 + "0rfnagv76f0pwvdcc0604r78nphi7a7b6d5fjga2va522lydah27")))) + (build-system python-build-system) + (propagated-inputs + `(("python-marshmallow" ,python-marshmallow-3.2))) + (native-inputs + `(("python-faker" ,python-faker) + ("python-flake8" ,python-flake8) + ("python-flake8-bugbear" ,python-flake8-bugbear) + ("python-flask" ,python-flask) + ("python-mock" ,python-mock) + ("python-pre-commit" ,python-pre-commit) + ("python-pytest" ,python-pytest) + ("python-tox" ,python-tox))) + (home-page + "https://github.com/marshmallow-code/marshmallow-jsonapi") + (synopsis + "JSON API 1.0 (https://jsonapi.org) formatting with marshmallow") + (description + "JSON API 1.0 (https://jsonapi.org) formatting with marshmallow") + (license license:expat))) ; MIT license + (define-public python-apispec (package (name "python-apispec") -- 2.30.2 From patchwork Sun Apr 18 06:57:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 28641 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 4C95727BC77; Sun, 18 Apr 2021 07:59:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9E01C27BC6C for ; Sun, 18 Apr 2021 07:59:08 +0100 (BST) Received: from localhost ([::1]:37396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lY1Od-0001dc-SX for patchwork@mira.cbaines.net; Sun, 18 Apr 2021 02:59:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lY1OX-0001cz-St for guix-patches@gnu.org; Sun, 18 Apr 2021 02:59:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lY1OX-0002i4-LG for guix-patches@gnu.org; Sun, 18 Apr 2021 02:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lY1OX-00054A-LW for guix-patches@gnu.org; Sun, 18 Apr 2021 02:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47864] [PATCH 3/3] gnu: Add flask-combo-jsonapi. References: In-Reply-To: Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Apr 2021 06:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47864 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47864@debbugs.gnu.org Received: via spool by 47864-submit@debbugs.gnu.org id=B47864.161872909619420 (code B ref 47864); Sun, 18 Apr 2021 06:59:01 +0000 Received: (at 47864) by debbugs.gnu.org; 18 Apr 2021 06:58:16 +0000 Received: from localhost ([127.0.0.1]:45172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY1Nn-00053A-TZ for submit@debbugs.gnu.org; Sun, 18 Apr 2021 02:58:16 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:59366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY1Nl-00052u-QX for 47864@debbugs.gnu.org; Sun, 18 Apr 2021 02:58:14 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id D935C1D36EFF for <47864@debbugs.gnu.org>; Sun, 18 Apr 2021 08:57:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1618729085; bh=i/OVbkvXtsH9tvfOScI3aVF9gDcvcLDxusD370c0PPc=; h=Date:From:To:Subject; b=z+qhwDKZTdoCsTuNYmzrhJCeC+ZsRVMcgSIwlOr0Sbe/lQZv1wm46TsXZwkPTDqcY lfASuuiWf/O0wSsODwke4RT//M3J+kq6If4GCOe4Q1NloRWem99nzAdIasrT6poZBw bDc1X7jh2/NTO47C8nphR/U90f60w0r2n+WwmxFYAfbvVuYWWdpTC5IHc9rsjELiKJ qq/VXd9InDav0w0TdBFfCs+6JTNFhXQVNRMvFCpZdao3kqp9vuku89i9iC+5c+tN8s EcxWVlZkl822DIfJzoxD54amKY83oxxCwqW1YOiUHJXiRe7bTsAyVdctZhsv5Gg/8x rELKzSQFLag0A== X-Fuglu-Suspect: c5c0cb3b22904d8e8cd6c22a535edad0 X-Fuglu-Spamstatus: NO Received: from webmail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA for <47864@debbugs.gnu.org>; Sun, 18 Apr 2021 08:57:59 +0200 (CEST) MIME-Version: 1.0 Date: Sun, 18 Apr 2021 08:57:59 +0200 From: david larsson Message-ID: <60d19e93acb5c06eaa07388270db598c@selfhosted.xyz> X-Sender: david.larsson@selfhosted.xyz 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" X-getmail-retrieved-from-mailbox: Patches From 7e1c3d4e0c52a73c2369406c9165d0fff176a831 Mon Sep 17 00:00:00 2001 From: methuselah-0 Date: Wed, 31 Mar 2021 17:35:36 +0200 Subject: [PATCH 3/3] gnu: Add flask-combo-jsonapi. * gnu/packages/python-web.scm (python-flask-combo-jsonapi): New variable. --- gnu/packages/python-web.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c7dd18ad19..8154ae82f7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Konrad Hinsen ;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2021 David Larsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -5894,3 +5895,42 @@ your code non-blocking and speedy.") "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality.") (license license:asl2.0))) + +(define-public python-flask-combo-jsonapi + (package + (name "python-flask-combo-jsonapi") + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/AdCombo/flask-combo-jsonapi/archive/" + version ".tar.gz")) + (sha256 + (base32 + "1ik5j4cc20q6ismpdzpb1a01wpdhm9vrnlmqzxxz2qqw6vazilna")))) + (build-system python-build-system) + (propagated-inputs + `(("python-flask" ,python-flask) + ("python-marshmallow" ,python-marshmallow-3.2) + ("python-marshmallow-jsonapi" + ,python-marshmallow-jsonapi-0.22) + ("python-apispec" ,python-apispec) + ("python-simplejson" ,python-simplejson) + ("python-six" ,python-six) + ("python-sqlalchemy" ,python-sqlalchemy))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-coveralls" ,python-coveralls) + ("python-pytest-runner" ,python-pytest-runner) + ("python-pytest" ,python-pytest))) + (home-page + "https://github.com/AdCombo/flask-combo-jsonapi") + (synopsis + "Flask extension to create REST web api according to JSONAPI 1.0 + specification") + (description + "Flask extension to create REST web api according to JSONAPI 1.0 + specification with Flask, Marshmallow and data provider + of your choice (SQLAlchemy, MongoDB, ...)") + (license license:expat))) ; MIT license -- 2.30.2