From patchwork Wed Oct 27 11:02:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 34104 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 BEBE627BBE3; Wed, 27 Oct 2021 12:03:23 +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_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED 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 4E2AF27BBE1 for ; Wed, 27 Oct 2021 12:03:23 +0100 (BST) Received: from localhost ([::1]:38712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfgiH-0005nu-T3 for patchwork@mira.cbaines.net; Wed, 27 Oct 2021 07:03:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfghy-0005nM-HT for guix-patches@gnu.org; Wed, 27 Oct 2021 07:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36959) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfghy-0005Yd-9b for guix-patches@gnu.org; Wed, 27 Oct 2021 07:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfghy-00077E-6b for guix-patches@gnu.org; Wed, 27 Oct 2021 07:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51432] [PATCH 4/4] gnu: Add flask-combo-jsonapi Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Oct 2021 11:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51432@debbugs.gnu.org Cc: Guix-patches Received: via spool by 51432-submit@debbugs.gnu.org id=B51432.163533255627315 (code B ref 51432); Wed, 27 Oct 2021 11:03:02 +0000 Received: (at 51432) by debbugs.gnu.org; 27 Oct 2021 11:02:36 +0000 Received: from localhost ([127.0.0.1]:48505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfghY-00076U-Gp for submit@debbugs.gnu.org; Wed, 27 Oct 2021 07:02:36 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:35472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfghX-00076H-At for 51432@debbugs.gnu.org; Wed, 27 Oct 2021 07:02:35 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id DCB372705488; Wed, 27 Oct 2021 13:02:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1635332549; bh=pFvEwOb2ORFolsbMl5eYK7Ft0dxMswZaboO9JBIuEaE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=aebM2NvM83t26znjrnlyeOrNuy0USJLWNxS+HSQ9BhJbfR3Kij5NTKXKlHl/CuIYU zq170SczfI1c5eNg8I9aYq3xA6l+BdrfZnG0lbXdfKurUKP6YUd2YqDaQflcgTDQR8 ceKyWe2YNWZb1GvJ245maZQnMOEui1bxewLik3US68krOYG9oCZFcKy5dcILxT7hgR FV3rUpvuU59MYePsspcAoTp4/jqedyxRyI0BWGgxdExGGfErbrgcrABONPw7HBwWwB oVAbqX+pF6ZTAwDtJq7XHmStDMubOGG8rZ2ubXrGjd5+K4+63xLADPv2mLRrnvfJ2g pzczIv6d+W2Dw== X-Fuglu-Suspect: 98ce171410d0496390fd74c6ea665773 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; Wed, 27 Oct 2021 13:02:23 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 27 Oct 2021 13:02:23 +0200 From: david larsson In-Reply-To: References: Message-ID: <9fbd923745c213a3e86cb9701aa8af9e@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 On 2021-10-27 12:52, david larsson wrote: > Hi! > This patch series is to add python-flask-combo-jsonapi and necessary > dependencies. > > Best regards, > David Finally, adds the package flask-combo-jsonapi. From 6fbec5bdd04c5661b805cf958f36478cfc7883f8 Mon Sep 17 00:00:00 2001 From: David Larsson Date: Wed, 27 Oct 2021 09:04:40 +0200 Subject: [PATCH 4/4] gnu: Add flask-combo-jsonapi. * gnu/packages/python-web.scm (python-flask-combo-jsonapi): New variable. --- gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a38ed5c268..0d173aa09d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6249,3 +6249,37 @@ communicate with Microsoft Azure Storage services.") comments, or tags from HTML snippets, extract base url from HTML snippets, translate entities on HTML strings, among other things.") (license license:bsd-3))) + +(define-public python-flask-combo-jsonapi + (package + (name "python-flask-combo-jsonapi") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/AdCombo/flask-combo-jsonapi/archive/" + version ".tar.gz")) + (sha256 + (base32 + "1sygp9rx7zb1dbjxhb11mpas0c0px4md7mvi9pwbh1s1rr1glm3m")))) + (build-system python-build-system) + (propagated-inputs + `(("python-flask" ,python-flask) + ("python-marshmallow" ,python-marshmallow-3.2) + ("python-marshmallow-jsonapi" ,python-marshmallow-jsonapi) + ("python-simplejson" ,python-simplejson) + ("python-sqlalchemy" ,python-sqlalchemy-1.3) + ("python-apispec" ,python-apispec) + ("python-simplejson" ,python-simplejson) + ("python-six" ,python-six))) + (native-inputs `(("python-coverage" ,python-coverage) + ("python-coveralls" ,python-coveralls) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (home-page "https://github.com/AdCombo/flask-combo-jsonapi") + (synopsis + "Flask extension to create REST web api according to JSON:API 1.0 specification with Flask, Marshmallow and data provider of your choice (SQLAlchemy, MongoDB, ...)") + (description + "Flask extension to create REST web api according to JSON:API 1.0 specification with Flask, Marshmallow and data provider of your choice (SQLAlchemy, MongoDB, ...)") + (license license:expat))) -- 2.31.0