[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/17: gnu: Add yoyo-migrations.
From: |
guix-commits |
Subject: |
13/17: gnu: Add yoyo-migrations. |
Date: |
Sun, 18 Oct 2020 18:16:51 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 945ec6c3ec6c3f5a8367cbdc4f618c2368112e46
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Oct 12 21:53:23 2020 -0300
gnu: Add yoyo-migrations.
* gnu/packages/databases.scm (yoyo-migrations): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/databases.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index f88f9e3..1236f57 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -44,6 +44,7 @@
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -128,6 +129,7 @@
#:use-module (guix download)
#:use-module (guix bzr-download)
#:use-module (guix git-download)
+ #:use-module (guix hg-download)
#:use-module (guix build-system emacs)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
@@ -2992,6 +2994,36 @@ database).")
(define-public python2-sadisplay
(package-with-python2 python-sadisplay))
+(define-public yoyo-migrations
+ (package
+ (name "yoyo-migrations")
+ (version "7.2.0")
+ (source
+ (origin
+ ;; We use the upstream repository, as the tests are not included in the
+ ;; PyPI releases.
+ (method hg-fetch)
+ (uri (hg-reference
+ (url "https://hg.sr.ht/~olly/yoyo")
+ (changeset (string-append "v" version "-release"))))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "0q2z9bgdj3wyix7yvqsayfs21grp5av8ilh411lgmjhigszkvhcq"))))
+ (build-system python-build-system)
+ (arguments
+ ;; XXX: Tests require a connection to some pgsql database and psycopg
+ ;; fails to connect to it.
+ '(#:tests? #f))
+ (propagated-inputs
+ `(("python-sqlparse" ,python-sqlparse)
+ ("python-tabulate" ,python-tabulate)))
+ (home-page "https://ollycope.com/software/yoyo/latest/")
+ (synopsis "Database migrations with SQL")
+ (description
+ "Yoyo is a database schema migration tool. Migrations are written as SQL
+files or Python scripts that define a list of migration steps.")
+ (license license:asl2.0)))
+
(define-public python-mysqlclient
(package
(name "python-mysqlclient")
- branch master updated (d76b668 -> 2a4f3c1), guix-commits, 2020/10/18
- 05/17: gnu: gn: Update to 0.0-1819.e327ffd., guix-commits, 2020/10/18
- 01/17: gnu: extempore: Inline custom package variants., guix-commits, 2020/10/18
- 06/17: gnu: ungoogled-chromium: Update to 86.0.4240.75-0.c34a56d., guix-commits, 2020/10/18
- 03/17: gnu: LLVM, Clang: Add 11.0.0., guix-commits, 2020/10/18
- 04/17: gnu: lld: Update to 11.0.0., guix-commits, 2020/10/18
- 12/17: gnu: Add python-pyotp., guix-commits, 2020/10/18
- 10/17: gnu: Add passwordsafe., guix-commits, 2020/10/18
- 14/17: gnu: Add python-pyzbar., guix-commits, 2020/10/18
- 15/17: gnu: Add authenticator., guix-commits, 2020/10/18
- 13/17: gnu: Add yoyo-migrations.,
guix-commits <=
- 17/17: gnu: Add libebur128., guix-commits, 2020/10/18
- 02/17: gnu: llvm.scm: Reorder variables., guix-commits, 2020/10/18
- 07/17: gnu: Add python-grandalf., guix-commits, 2020/10/18
- 08/17: gnu: Add python-pykeepass., guix-commits, 2020/10/18
- 16/17: gnu: Add ccal., guix-commits, 2020/10/18
- 11/17: gnu: Add python-pyfavicon., guix-commits, 2020/10/18
- 09/17: gnu: libpwquality: Enable Python binding., guix-commits, 2020/10/18