From patchwork Sun Oct 29 12:07:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: paul X-Patchwork-Id: 55518 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 68CF227BBE9; Sun, 29 Oct 2023 12:08:43 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 69E2E27BBE2 for ; Sun, 29 Oct 2023 12:08:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qx4an-0003rr-7a; Sun, 29 Oct 2023 08:08:33 -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 1qx4ak-0003rg-RU for guix-patches@gnu.org; Sun, 29 Oct 2023 08:08:30 -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 1qx4aj-0005Ad-Kh for guix-patches@gnu.org; Sun, 29 Oct 2023 08:08:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qx4bG-0000Vf-2H for guix-patches@gnu.org; Sun, 29 Oct 2023 08:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53019] [PATCH v4 2/2] gnu: Add aerich. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Oct 2023 12:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53019@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 53019-submit@debbugs.gnu.org id=B53019.16985813341930 (code B ref 53019); Sun, 29 Oct 2023 12:09:02 +0000 Received: (at 53019) by debbugs.gnu.org; 29 Oct 2023 12:08:54 +0000 Received: from localhost ([127.0.0.1]:40613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx4b7-0000V4-Jo for submit@debbugs.gnu.org; Sun, 29 Oct 2023 08:08:53 -0400 Received: from confino.investici.org ([93.190.126.19]:42249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx4b5-0000Uv-2J for 53019@debbugs.gnu.org; Sun, 29 Oct 2023 08:08:51 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4SJFXx6XkSz110b; Sun, 29 Oct 2023 12:08:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1698581297; bh=Z/Rgk8rExKJ042knfUBESIC/1P+kpZ83nq9WoRbjVkk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jecNKZDLTNhRPPXDwAdu1PruXkZlPDfdZbN/6M6TUxe3rmGKtzaAhe3IiCf8mQvGc VI7gQwRQilZ4wf2dczulAQFWy+vxnqGWmkNUileAso6WdQ6ZYb3ZeRpOMZabnSSS3d 1/06b9oSVUxKqb0xfB2D0dmlLHYMLzSyU994IBT8= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4SJFXx5x4Vz110Y; Sun, 29 Oct 2023 12:08:17 +0000 (UTC) Date: Sun, 29 Oct 2023 13:07:24 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <92700a1c09af12426cb5890d4ebc649b36c25e86.1698581244.git.goodoldpaul@autistici.org> References: <92700a1c09af12426cb5890d4ebc649b36c25e86.1698581244.git.goodoldpaul@autistici.org> 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: paul 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/databases.scm (aerich): New variable. Change-Id: I322d619dc80c943d50e28a96ba74d276784ab8da --- gnu/packages/databases.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 4bc642aa17..3abfa2773f 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -61,6 +61,7 @@ ;;; Copyright © 2021, 2022 jgart ;;; Copyright © 2023 Felix Gruber +;;; Copyright © 2023 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -3113,6 +3114,49 @@ (define-public python-tortoise-orm with relational data.") (license license:asl2.0))) +(define-public aerich + (package + (name "aerich") + (version "0.7.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tortoise/aerich") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pcy945bg890p12s7cyw0mg7hxwsxyy570j600sbf7kwj2d3lilg")))) + (build-system pyproject-build-system) + (native-inputs + (list + poetry + python-bandit + python-cryptography + python-isort + python-pydantic + python-pytest + python-pytest-asyncio + python-pytest-mock + python-pytest-xdist)) + (propagated-inputs + (list python-asyncmy + python-asyncpg + python-click + python-ddlparse + python-dictdiffer + python-tomlkit + python-tortoise-orm)) + (home-page "https://github.com/tortoise/aerich") + (synopsis "Database migrations tool for Tortoise ORM (Object Relational +Mapper)") + (description + "This package provides @code{aerich}, a Python database migrations tool +for Tortoise ORM (Object Relational Mapper). It can be used both +programmatically or as a standalone CLI application.") + (license license:asl2.0))) + (define-public sqlcipher (package (name "sqlcipher")