From 362bc747a25b912111788db3612fa36ff85a6866 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 14 Sep 2016 13:37:58 -0400 Subject: gnu: mysql: Update to 5.7.15 [fixes CVE-2016-6662]. * gnu/packages/databases.scm (mysql): Update to 5.7.15. [source]: Remove obsolete 'mysql-fix-failing-test.patch'. * gnu/packages/patches/mysql-fix-failing-test.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. --- gnu/packages/databases.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index fc31653871..efd0adb05d 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -205,7 +205,7 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.") (define-public mysql (package (name "mysql") - (version "5.7.13") + (version "5.7.15") (source (origin (method url-fetch) (uri (list (string-append @@ -215,10 +215,9 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.") (string-append "http://downloads.mysql.com/archives/get/file/" name "-" version ".tar.gz"))) - (patches (search-patches "mysql-fix-failing-test.patch")) (sha256 (base32 - "11qbib1xpy0zkki7j9ip17hks5kp5zgpcj7x8gy3a4m66lb1mgsh")))) + "0mlrxcvkn6bf869hjw9fb6m24ak26ndffnd91b4mknmz8cqkb1ch")))) (build-system cmake-build-system) (arguments '(#:configure-flags -- cgit v1.2.3 From b5b2c11b5e7e63755136730b1b74c88743b1981f Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 14 Sep 2016 13:43:21 -0400 Subject: gnu: mariadb: Update to 10.1.17 [fixes CVE-2016-6662 ]. * gnu/packages/databases.scm (mariadb): Update to 10.1.17. --- gnu/packages/databases.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index efd0adb05d..5b2e25dc27 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -278,7 +278,7 @@ Language.") (define-public mariadb (package (name "mariadb") - (version "10.1.16") + (version "10.1.17") (source (origin (method url-fetch) (uri (string-append "https://downloads.mariadb.org/f/" @@ -286,7 +286,7 @@ Language.") name "-" version ".tar.gz")) (sha256 (base32 - "14s3wq1c25n62n75hkixl8n7cni4m73w055nsx4czm655k33bjv7")))) + "1ddalhxxcn95qp5b50z213niylcd0s6bqphid0c7c624wg2mm92c")))) (build-system cmake-build-system) (arguments '(#:configure-flags -- cgit v1.2.3 From fe71eee076a9779d88ea613389f7f4a79c127627 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 13 Sep 2016 14:07:13 -0400 Subject: gnu: Add libpqxx. * gnu/packages/databases.scm (libpqxx): New variable. Signed-off-by: Leo Famulari --- gnu/packages/databases.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 5b2e25dc27..b316745e47 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2016 ng0 ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 David Craven +;;; Copyright © 2016 Jan Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -1093,3 +1094,29 @@ trees (LSM), for sustained throughput under random insert workloads.") (synopsis "Lightning memory-mapped database library") (description "Lightning memory-mapped database library.") (license license:openldap2.8))) + +(define-public libpqxx + (package + (name "libpqxx") + (version "4.0.1") + (source (origin + (method url-fetch) + (uri (string-append + "http://pqxx.org/download/software/libpqxx/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0f6wxspp6rx12fkasanb0z2g2gc8dhcfwnxagx8wwqbpg6ifsz09")))) + (build-system gnu-build-system) + (native-inputs + `(("python" ,python-2))) + (inputs `(("postgresql" ,postgresql))) + (arguments + `(#:tests? #f)) ; # FAIL: 1 + (synopsis "C++ connector for PostgreSQL") + (description + "Libpqxx is a C++ library to enable user programs to communicate with the +PostgreSQL database back-end. The database back-end can be local or it may be +on another machine, accessed via TCP/IP.") + (home-page "http://pqxx.org/") + (license license:bsd-3))) -- cgit v1.2.3 From 4d98bfaf23852766e923e017f4334f4219c1d142 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 11 Sep 2016 21:22:39 +0300 Subject: gnu: Add python-peewee. * gnu/packages/databases.scm (python-peewee): New variable. --- gnu/packages/databases.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b316745e47..4f345e20a4 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -64,6 +64,7 @@ #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) + #:use-module (guix build-system python) #:use-module (guix build-system cmake) #:use-module (guix utils) #:use-module (srfi srfi-26) @@ -1120,3 +1121,32 @@ PostgreSQL database back-end. The database back-end can be local or it may be on another machine, accessed via TCP/IP.") (home-page "http://pqxx.org/") (license license:bsd-3))) + +(define-public python-peewee + (package + (name "python-peewee") + (version "2.8.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "peewee" version)) + (sha256 + (base32 + "1605bk11s7aap2q4qyba93rx7yfh8b11kk0cqi08z8klx2iar8yd")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; Fails to import test data + (native-inputs + `(("python-cython" ,python-cython))) + (home-page "https://github.com/coleifer/peewee/") + (synopsis "Small object-relational mapping utility") + (description + "Peewee is a simple and small ORM (object-relation mapping) tool. Peewee +handles converting between pythonic values and those used by databases, so you +can use Python types in your code without having to worry. It has built-in +support for sqlite, mysql and postgresql. If you already have a database, you +can autogenerate peewee models using @code{pwiz}, a model generator.") + (license license:expat))) + +(define-public python2-peewee + (package-with-python2 python-peewee)) -- cgit v1.2.3 From 694196552684002daf590f10b9800f51eed69e08 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 22 Sep 2016 22:33:19 -0500 Subject: gnu: boost: Upgrade to 1.61.0. * gnu/packages/boost.scm (boost): Upgrade to 1.61.0 * gnu/packages/databases.scm (mysql)[arguments]: Compute boost minor version for substitution. --- gnu/packages/boost.scm | 4 ++-- gnu/packages/databases.scm | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index 8fe8c8e899..ccc1f0664f 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -34,7 +34,7 @@ (define-public boost (package (name "boost") - (version "1.60.0") + (version "1.61.0") (source (origin (method url-fetch) (uri (string-append @@ -43,7 +43,7 @@ ".tar.bz2")) (sha256 (base32 - "0fzx6dwqbrkd4bcd8pjv0fpapwmrxxwr8yx9g67lihlsk3zzysk8")))) + "0h5nk7pgxf7xsvvshj9qfpsfp9wx6gq9r78n3nx736pxq83bsix5")))) (build-system gnu-build-system) (inputs `(("zlib" ,zlib))) (native-inputs diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 4f345e20a4..d517805f35 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -222,7 +222,7 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.") "0mlrxcvkn6bf869hjw9fb6m24ak26ndffnd91b4mknmz8cqkb1ch")))) (build-system cmake-build-system) (arguments - '(#:configure-flags + `(#:configure-flags '("-DBUILD_CONFIG=mysql_release" "-DWITH_SSL=system" "-DWITH_ZLIB=system" @@ -249,7 +249,9 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.") (lambda _ ;; Mysql wants boost-1.59.0 specifically (substitute* "cmake/boost.cmake" - (("59") "60")))) + (("59") + ,(match (string-split (package-version boost) #\.) + ((_ minor . _) minor)))))) (add-after 'install 'remove-extra-binaries (lambda* (#:key outputs #:allow-other-keys) -- cgit v1.2.3