@@ -54,6 +54,7 @@
;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2709,6 +2710,36 @@ (define-public python-tortoise-orm
with relational data.")
(license license:asl2.0)))
+(define-public python-aerich
+ (package
+ (name "python-aerich")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aerich" version))
+ (sha256
+ (base32 "19bvx5icsmmf9ylxyqrxw4wjv77shg5r8pjgdg7plzhn937bzlch"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests are not packaged in the Pypi tarball and
+ ;; require a poetry environment to be run from source.
+ `(#:tests? #f))
+ (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")
+ (description
+ "This package provides @code{aerich} a Python database migrations tool for
+Tortoise ORM.")
+ (license license:asl2.0)))
+
(define-public sqlcipher
(package
(name "sqlcipher")