From aa70cf8c367ec4f123c59237880f1423601a5737 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 5 Nov 2017 19:03:32 +0100 Subject: gnu: redis: Update to 4.0.2. * gnu/packages/databases.scm (redis): Update to 4.0.2. --- 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 c2b5add392..c8ef1f136b 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1370,14 +1370,14 @@ (define-public unqlite (define-public redis (package (name "redis") - (version "4.0.1") + (version "4.0.2") (source (origin (method url-fetch) (uri (string-append "http://download.redis.io/releases/redis-" version".tar.gz")) (sha256 (base32 - "14bm8lkhylc93r4dgl7kkzzpw2xq7gr6w6h80n3jazqnx5mcsj90")))) + "04s8cgvwjj1979s3hg8zkwc9pyn3jkjpz5zidp87kfcipifr385i")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; tests related to master/slave and replication fail -- cgit v1.2.3 From 74248d22a0669f9041370978b6db02d29b92ff66 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 6 Nov 2017 22:02:57 +0100 Subject: gnu: Add r-rmysql. * gnu/packages/databases.scm (r-rmysql): New variable. --- gnu/packages/databases.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index c8ef1f136b..21dd6f8ea9 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -73,6 +73,7 @@ (define-module (gnu packages databases) #:use-module (gnu packages readline) #:use-module (gnu packages ruby) #:use-module (gnu packages serialization) + #:use-module (gnu packages statistics) #:use-module (gnu packages tcl) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) @@ -85,6 +86,7 @@ (define-module (gnu packages databases) #:use-module (guix build-system python) #:use-module (guix build-system ruby) #:use-module (guix build-system cmake) + #:use-module (guix build-system r) #:use-module (guix utils) #:use-module (srfi srfi-26) #:use-module (ice-9 match)) @@ -1866,3 +1868,32 @@ (define-public virtuoso-ose ;; configure: error: ... can only be build on 64bit platforms (supported-systems '("x86_64-linux" "mips64el-linux" "aarch64-linux")) (license license:gpl2))) + +(define-public r-rmysql + (package + (name "r-rmysql") + (version "0.10.13") + (source + (origin + (method url-fetch) + (uri (cran-uri "RMySQL" version)) + (sha256 + (base32 + "1j0vr2l4s02cg2hzgr3pla96pjj4h85sxw28lidy58rg5awnsf82")))) + (properties `((upstream-name . "RMySQL"))) + (build-system r-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("mariadb" ,mariadb) + ("zlib" ,zlib))) + (propagated-inputs + `(("r-dbi" ,r-dbi))) + (home-page "https://github.com/r-dbi/RMySQL") + (synopsis "Database interface and MySQL driver for R") + (description + "This package provides a DBI interface to MySQL / MariaDB. The RMySQL +package contains an old implementation based on legacy code from S-PLUS which +is being phased out. A modern MySQL client based on Rcpp is available from +the RMariaDB package.") + (license license:gpl2))) -- cgit v1.2.3 From 1d8e73ba67ed5d5dab497d31e77395615cc33448 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Thu, 9 Nov 2017 16:38:27 +0100 Subject: gnu: postgresql: Update to 10.1 [security fixes]. Fixes CVE-2017-12172, CVE-2017-15098 and CVE-2017-15099. * gnu/packages/databases.scm (postgresql): Update to 10.1. Signed-off-by: Marius Bakke --- 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 21dd6f8ea9..0cdb75189f 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -609,14 +609,14 @@ (define-public mariadb (define-public postgresql (package (name "postgresql") - (version "10.0") + (version "10.1") (source (origin (method url-fetch) (uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2")) (sha256 (base32 - "1lbzwpmdxmk5bh0ix0rn72qbd52dq5cb55nzajscb0bvwa95abvi")))) + "04z7lm4h94625vbncwv98svycqr942n3q47ailqaczkszqjlxjrw")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-uuid=e2fs") -- cgit v1.2.3 From 179b7ac66de85cc6475aa318835cd3a36535671b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 10 Nov 2017 10:16:56 +0200 Subject: gnu: postgresql@9.6: Update to 9.6.6 [security fixes]. This fixes CVE-2017-12172, CVE-2017-15098, CVE-2017-15099. * gnu/packages/databases.scm (postgresql@9.6): Update to 9.6.6. --- 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 0cdb75189f..b1cb9ed2bf 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -654,14 +654,14 @@ (define-public postgresql-9.6 (package (inherit postgresql) (name "postgresql") - (version "9.6.5") + (version "9.6.6") (source (origin (method url-fetch) (uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2")) (sha256 (base32 - "0k3ls2x182jz6djjiqj9kycddabdl2gk1y1ajq1vipnxwfki5nh6")))))) + "0m417h30s18rwa7yzkqqcdb22ifpcda2fpg2cyx8bxvjp3ydz71r")))))) (define-public qdbm (package -- cgit v1.2.3 From 5ccde2079e0b5f6e04b11765905dbd49d191fd8f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 13 Nov 2017 23:03:01 +0100 Subject: gnu: Move test packages from perl to perl-check. * gnu/packages/perl.scm (perl-test2-bundle-extended, perl-test2-plugin-nowarnings, perl-test-base, perl-test-class, perl-test-class-most, perl-test-cleannamespaces, perl-test-command, perl-test-cpan-meta, perl-test-cpan-meta-json, perl-test-deep, perl-test-differences, perl-test-directory, perl-test-eol, perl-test-exception, perl-test-fatal, perl-test-file-sharedir-dist, perl-test-files, perl-test-harness, perl-test-leaktrace, perl-test-longstring, perl-test-manifest, perl-test-memory-cycle, perl-test-mockobject, perl-test-mocktime, perl-test-most, perl-test-needs, perl-test-notabs, perl-test-nowarnings, perl-test-number-delta, perl-test-output, perl-test-pod, perl-test-pod-coverage, perl-test-requires, perl-test-script, perl-test-sharedfork, perl-test-simple, perl-test-taint, perl-test-tester, perl-test-trap, perl-test-utf8, perl-test-warn, perl-test-warnings, perl-test-without-module, perl-test-writevariants, perl-test-yaml, perl-test-trailingspace): Move variables to ... * gnu/packages/perl-check.scm: ... this new file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/packages/admin.scm, gnu/packages/bioinformatics.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/glib.scm, gnu/packages/gnupg.scm, gnu/packages/image-viewers.scm, gnu/packages/language.scm, gnu/packages/networking.scm, gnu/packages/package-management.scm, gnu/packages/perl.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/version-control.scm, gnu/packages/web.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm: Use perl-check module. --- gnu/local.mk | 1 + gnu/packages/admin.scm | 1 + gnu/packages/bioinformatics.scm | 1 + gnu/packages/crypto.scm | 1 + gnu/packages/databases.scm | 1 + gnu/packages/glib.scm | 1 + gnu/packages/gnupg.scm | 1 + gnu/packages/image-viewers.scm | 1 + gnu/packages/language.scm | 1 + gnu/packages/networking.scm | 1 + gnu/packages/package-management.scm | 1 + gnu/packages/perl-check.scm | 1169 +++++++++++++++++++++++++++++++++++ gnu/packages/perl.scm | 1135 +--------------------------------- gnu/packages/terminals.scm | 1 + gnu/packages/tex.scm | 1 + gnu/packages/version-control.scm | 1 + gnu/packages/web.scm | 2 +- gnu/packages/xml.scm | 1 + gnu/packages/xorg.scm | 1 + 19 files changed, 1187 insertions(+), 1135 deletions(-) create mode 100644 gnu/packages/perl-check.scm (limited to 'gnu/packages/databases.scm') diff --git a/gnu/local.mk b/gnu/local.mk index b94a6d75b0..00d82ee4a1 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -325,6 +325,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/pdf.scm \ %D%/packages/pem.scm \ %D%/packages/perl.scm \ + %D%/packages/perl-check.scm \ %D%/packages/perl-web.scm \ %D%/packages/photo.scm \ %D%/packages/php.scm \ diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 7b8e41fced..30b5a1fb6a 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -55,6 +55,7 @@ (define-module (gnu packages admin) #:use-module (gnu packages gettext) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages tcl) #:use-module (gnu packages compression) #:use-module (gnu packages cross-base) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index d34f91f585..cf2671ce66 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -81,6 +81,7 @@ (define-module (gnu packages bioinformatics) #:use-module (gnu packages parallel) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) #:use-module (gnu packages protobuf) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index e17db289e5..dce7d3534c 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -42,6 +42,7 @@ (define-module (gnu packages crypto) #:use-module (gnu packages nettle) #:use-module (gnu packages password-utils) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages python) #:use-module (gnu packages readline) #:use-module (gnu packages search) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b1cb9ed2bf..38ca5708d7 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -66,6 +66,7 @@ (define-module (gnu packages databases) #:use-module (gnu packages parallel) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) #:use-module (gnu packages python) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index bc87750045..de74278597 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -46,6 +46,7 @@ (define-module (gnu packages glib) #:use-module (gnu packages nettle) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages xml) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 47a594b6e1..d179d41963 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -39,6 +39,7 @@ (define-module (gnu packages gnupg) #:use-module (gnu packages crypto) #:use-module (gnu packages openldap) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pth) #:use-module (gnu packages python) #:use-module (gnu packages qt) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index f9b00de848..facf81b087 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -45,6 +45,7 @@ (define-module (gnu packages image-viewers) #:use-module (gnu packages imagemagick) #:use-module (gnu packages maths) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index ee0c5c0d89..57d625057c 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -19,6 +19,7 @@ (define-module (gnu packages language) #:use-module (gnu packages) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages web) #:use-module (guix packages) #:use-module (guix build-system perl) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 57b32c252f..1f4906b7b5 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -70,6 +70,7 @@ (define-module (gnu packages networking) #:use-module (gnu packages ncurses) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 2a5395589f..1242156dbf 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -46,6 +46,7 @@ (define-module (gnu packages package-management) #:use-module (gnu packages texinfo) #:use-module (gnu packages nettle) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages curl) #:use-module (gnu packages web) #:use-module (gnu packages man) diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm new file mode 100644 index 0000000000..f0ee2a5362 --- /dev/null +++ b/gnu/packages/perl-check.scm @@ -0,0 +1,1169 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014, 2015 Eric Bavier +;;; Copyright © 2016 Danny Milosavljevic +;;; Copyright © 2016 Ben Woodcroft +;;; Copyright © 2016 Ricardo Wurmus +;;; Coypright © 2016 ng0 +;;; Copyright © 2016, 2017 Efraim Flashner +;;; Copyright © 2016, 2017 Alex Sassmannshausen +;;; Copyright © 2016, 2017 Marius Bakke +;;; Copyright © 2017 Leo Famulari +;;; Copyright © 2017 Christopher Baines +;;; Copyright © 2017 Petter +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages perl-check) + #:use-module (guix licenses) + #:use-module (gnu packages) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system perl) + #:use-module (gnu packages perl)) + +(define-public perl-test2-bundle-extended + (package + (name "perl-test2-bundle-extended") + (version "0.000072") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-" + version ".tar.gz")) + (sha256 + (base32 + "0hgd6n29qjh1pwqvbglm2kb852yqshmixqqjhsr2kvvibdr58qpf")))) + (build-system perl-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-env + (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1")))))) + (propagated-inputs + `(("perl-importer" ,perl-importer) + ("perl-term-table" ,perl-term-table) + ("perl-sub-info" ,perl-sub-info))) + (home-page "http://search.cpan.org/~exodist/Test2-Suite/lib/Test2/Bundle/Extended.pm") + (synopsis "Full set of tools for Test2::Suite") + (description "This package provides a rich set of tools, plugins, bundles, +etc built upon the Test2 testing library.") + (license perl-license))) + +(define-public perl-test2-plugin-nowarnings + (package + (name "perl-test2-plugin-nowarnings") + (version "0.06") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-" + version ".tar.gz")) + (sha256 + (base32 + "002qk6qsm0l6r2kaxywvc38w0yf0mlavgywq8li076pn6kcw3242")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-test2-bundle-extended" ,perl-test2-bundle-extended))) + (home-page "http://search.cpan.org/dist/Test2-Plugin-NoWarnings//") + (synopsis "Fail if tests warn") + (description "Loading this plugin causes your tests to fail if there any +warnings while they run. Each warning generates a new failing test and the +warning content is outputted via diag.") + (license perl-license))) + +(define-public perl-test-base + (package + (name "perl-test-base") + (version "0.88") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/" + "Test-Base-" version ".tar.gz")) + (sha256 + (base32 + "0fch1cvivnszbnwhpfmwv1rin04j5xkj1n1ylfmlxg6bm72qqdjj")))) + (build-system perl-build-system) + (native-inputs + `(("perl-algorithm-diff" ,perl-algorithm-diff) + ("perl-text-diff" ,perl-text-diff))) + (propagated-inputs + `(("perl-spiffy" ,perl-spiffy) + ("perl-test-deep" ,perl-test-deep))) + (home-page "http://search.cpan.org/dist/Test-Base/") + (synopsis "Data-driven testing framework for Perl") + (description "Test::Base gives a way to trivially write your own test +framework base class. It concentrates on offering reusable data driven +patterns, so that you can write tests with a minimum of code.") + (license perl-license))) + +(define-public perl-test-class + (package + (name "perl-test-class") + (version "0.50") + (source + (origin + (method url-fetch) + (uri (string-append + "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-" + version + ".tar.gz")) + (sha256 + (base32 + "0l0kk5jvxjkic2jkf1r7v41irb344aasnzr3f5ygjgxgiknm9489")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-exception" ,perl-test-exception))) + (inputs + `(("perl-module-runtime" ,perl-module-runtime) + ("perl-mro-compat" ,perl-mro-compat) + ("perl-try-tiny" ,perl-try-tiny))) + (home-page "http://search.cpan.org/dist/Test-Class/") + (synopsis "Easily create test classes in an xUnit/JUnit style") + (description "@code{Test::Class} provides a simple way of creating classes +and objects to test your code in an xUnit style. + +Built using @code{Test::Builder}, it was designed to work with other +@code{Test::Builder} based modules (@code{Test::More}, +@code{Test::Differences}, @code{Test::Exception}, etc.).") + (license perl-license))) + +(define-public perl-test-class-most + (package + (name "perl-test-class-most") + (version "0.08") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-" + version + ".tar.gz")) + (sha256 + (base32 + "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build))) + (inputs + `(("perl-test-class" ,perl-test-class) + ("perl-test-most" ,perl-test-most) + ("perl-module-runtime" ,perl-module-runtime) + ("perl-try-tiny" ,perl-try-tiny) + ("perl-mro-compat" ,perl-mro-compat))) + (home-page "http://search.cpan.org/dist/Test-Class-Most/") + (synopsis "Test classes the easy way") + (description "@code{Test::Class::Most} provides some more convenience when +using @code{Test::Class}.") + (license perl-license))) + +(define-public perl-test-cleannamespaces + (package + (name "perl-test-cleannamespaces") + (version "0.22") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "Test-CleanNamespaces-" version ".tar.gz")) + (sha256 + (base32 + "1jma95agqqy7iwdcl6jbg1waqz7mjqng4l046lpknhfxjhcj4al6")))) + (build-system perl-build-system) + (native-inputs + `(("perl-file-pushd" ,perl-file-pushd) + ("perl-test-requires" ,perl-test-requires) + ("perl-test-deep" ,perl-test-deep) + ("perl-test-warnings" ,perl-test-warnings) + ("perl-test-tester" ,perl-test-tester) + ("perl-test-needs" ,perl-test-needs))) + (propagated-inputs + `(("perl-namespace-clean" ,perl-namespace-clean) + ("perl-package-stash" ,perl-package-stash) + ("perl-sub-identify" ,perl-sub-identify) + ("perl-sub-exporter" ,perl-sub-exporter) + ("perl-file-find-rule" ,perl-file-find-rule) + ("perl-file-find-rule-perl" ,perl-file-find-rule-perl))) + (home-page "http://search.cpan.org/dist/Test-CleanNamespaces/") + (synopsis "Check for uncleaned imports") + (description "This module lets you check your module's namespaces for +imported functions you might have forgotten to remove with +namespace::autoclean or namespace::clean and are therefore available to be +called as methods, which usually isn't want you want.") + (license perl-license))) + +(define-public perl-test-command + (package + (name "perl-test-command") + (version "0.11") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DA/DANBOO/Test-Command-" + version ".tar.gz")) + (sha256 + (base32 + "0cwm3c4d49mdrbm6vgh78b3x8mk730l0zg8i7xb9z8bkx9pzr8r8")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build))) + (home-page "https://github.com/danboo/perl-test-command") + (synopsis "Test routines for external commands") + (description + "This module provides routines for testing the exit status, standard +output and standard error of external commands.") + (license perl-license))) + +(define-public perl-test-cpan-meta + (package + (name "perl-test-cpan-meta") + (version "0.25") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-" + version + ".tar.gz")) + (sha256 + (base32 + "1dcdbbdwdyhpldkhjzc9rvzlmb5jbil6fwh2x07nsfdwysf4ynzm")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-cpan-meta-json" ,perl-test-cpan-meta-json) + ("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (home-page + "http://search.cpan.org/dist/Test-CPAN-Meta/") + (synopsis "Validate your CPAN META.yml files") + (description + "This module was written to ensure that a META.yml file meets the +specification.") + (license artistic2.0))) + +(define-public perl-test-cpan-meta-json + (package + (name "perl-test-cpan-meta-json") + (version "0.16") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-" + version + ".tar.gz")) + (sha256 + (base32 + "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (inputs + `(("perl-json" ,perl-json))) + (home-page + "http://search.cpan.org/dist/Test-CPAN-Meta-JSON/") + (synopsis "Validate your CPAN META.json files") + (description + "This module was written to ensure that a META.json file meets the +specification.") + (license artistic2.0))) + +(define-public perl-test-deep + (package + (name "perl-test-deep") + (version "1.120") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/" + "Test-Deep-" version ".tar.gz")) + (sha256 + (base32 + "1kdy06r0yg7zwarqglc9163vbfb0sfc4s6ld4pw5q7i9f7mghzi0")))) + (build-system perl-build-system) + (inputs `(("perl-test-tester" ,perl-test-tester) + ("perl-test-nowarnings" ,perl-test-nowarnings))) + (synopsis "Flexible deep comparison for the Test::Builder framework") + (description + "Test::Deep compares two structures by going through each level, ensuring +that the values match, that arrays and hashes have the same elements and that +references are blessed into the correct class. It also handles circular data +structures without getting caught in an infinite loop.") + (home-page "http://search.cpan.org/dist/Test-Deep/") + (license gpl1+))) ; or "Artistic License" + +(define-public perl-test-differences + (package + (name "perl-test-differences") + (version "0.63") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DC/DCANTRELL/" + "Test-Differences-" version ".tar.gz")) + (sha256 + (base32 + "0rhs4q6qn64ji06ns7lwl6iiiw3mggvd9xk9nkiqvx1jihbplrbw")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build))) + (propagated-inputs + `(("perl-text-diff" ,perl-text-diff) + ("perl-capture-tiny" ,perl-capture-tiny))) + (home-page "http://search.cpan.org/dist/Test-Differences/") + (synopsis "Test strings and data structures and show differences") + (description "This module exports three test functions and four diff-style +functions.") + ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public + ;; license, any version, ..." + (license gpl3+))) + +(define-public perl-test-directory + (package + (name "perl-test-directory") + (version "0.041") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/S/SA/SANBEG/" + "Test-Directory-" version ".tar.gz")) + (sha256 + (base32 + "1ncql08cizhicbxwd753b4czns8nlcnlw0zfjcfrbdd41x4j6hqr")))) + (build-system perl-build-system) + (native-inputs `(("perl-test-exception" ,perl-test-exception))) + (home-page "http://search.cpan.org/dist/Test-Directory/") + (synopsis "Perl extension for maintaining test directories") + (description "Testing code can involve making sure that files are created +and deleted as expected. Doing this manually can be error prone, as it's easy +to forget a file, or miss that some unexpected file was added. This module +simplifies maintaining test directories by tracking their status as they are +modified or tested with this API, making it simple to test both individual +files, as well as to verify that there are no missing or unknown files.") + (license perl-license))) + +(define-public perl-test-eol + (package + (name "perl-test-eol") + (version "2.00") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/E/ET/ETHER/Test-EOL-" + version + ".tar.gz")) + (sha256 + (base32 + "0l3bxpsw0x7j9nclizcp53mnf9wny25dmg2iglfhzgnk0xfpwzwf")))) + (build-system perl-build-system) + (home-page + "http://search.cpan.org/dist/Test-EOL/") + (synopsis + "Check the correct line endings in your project") + (description + "@code{Test::EOL} lets you check for the presence of trailing whitespace +and/or windows line endings in your perl code.") + (license perl-license))) + +(define-public perl-test-exception + (package + (name "perl-test-exception") + (version "0.43") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/" + "Test-Exception-" version ".tar.gz")) + (sha256 + (base32 + "0cxm7s4bg0xpxa6l6996a6iq3brr4j7p4hssnkc6dxv4fzq16sqm")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build))) + (propagated-inputs + `(("perl-sub-uplevel" ,perl-sub-uplevel))) + (home-page "http://search.cpan.org/dist/Test-Exception/") + (synopsis "Test exception based code") + (description "This module provides a few convenience methods for testing +exception based code. It is built with Test::Builder and plays happily with +Test::More and friends.") + (license perl-license))) + +(define-public perl-test-fatal + (package + (name "perl-test-fatal") + (version "0.014") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/" + "Test-Fatal-" version ".tar.gz")) + (sha256 + (base32 + "1c6bs68mss4q7cyapkv2c0jn66i21050p0faxf3s3417gdffzp5w")))) + (build-system perl-build-system) + (propagated-inputs `(("perl-try-tiny" ,perl-try-tiny))) + (home-page "http://search.cpan.org/dist/Test-Fatal/") + (synopsis "Simple helpers for testing code with exceptions") + (description "Test::Fatal is an alternative to the popular +Test::Exception. It does much less, but should allow greater flexibility in +testing exception-throwing code with about the same amount of typing.") + (license perl-license))) + +(define-public perl-test-file-sharedir-dist + (package + (name "perl-test-file-sharedir-dist") + (version "1.001002") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/" + "Test-File-ShareDir-" version ".tar.gz")) + (sha256 + (base32 + "1bbs6cx69wcinq77gif4i4pmrj8a7lwb92sgvvxzrwmjnk5lfdmk")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-class-tiny" ,perl-class-tiny) + ("perl-file-copy-recursive" ,perl-file-copy-recursive) + ("perl-file-sharedir" ,perl-file-sharedir) + ("perl-path-tiny" ,perl-path-tiny) + ("perl-scope-guard" ,perl-scope-guard) + ("perl-test-fatal" ,perl-test-fatal))) + (home-page "https://github.com/kentnl/Test-File-ShareDir") + (synopsis "Dist oriented ShareDir tester") + (description "This module creates a Fake ShareDir for your modules +for testing.") + (license perl-license))) + +(define-public perl-test-files + (package + (name "perl-test-files") + (version "0.14") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-" + version + ".tar.gz")) + (sha256 + (base32 + "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-algorithm-diff" ,perl-algorithm-diff) + ("perl-text-diff" ,perl-text-diff))) + (home-page "http://search.cpan.org/dist/Test-Files/") + (synopsis "Ease software testing with files and directories") + (description "This library provides functions to enable testing of files +and directories. For instance, the @code{file_ok} helper can test whether the +contents of a file is equal to a particular string.") + (license perl-license))) + +(define-public perl-test-harness + (package + (name "perl-test-harness") + (version "3.39") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/" + "Test-Harness-" version ".tar.gz")) + (sha256 + (base32 + "0chiqnzmna2mglm37nzxvn9qhq2j31iwz3i9isqjs7bf3k449gb9")))) + (build-system perl-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'patch-test + (lambda* (#:key inputs #:allow-other-keys) + ;; This test looks for "#!/usr/bin/perl" in some source. + ;; Patch what the test looks for. + (substitute* "t/source.t" + (("#!/usr/bin/perl") + (string-append "#!" (assoc-ref inputs "perl") + "/bin/perl"))) + #t))))) + (home-page "http://search.cpan.org/dist/Test-Harness/") + (synopsis "Run Perl standard test scripts with statistics") + (description "Simple test harness which allows tests to be run and results +automatically aggregated and output to STDOUT.") + (license perl-license))) + +(define-public perl-test-leaktrace + (package + (name "perl-test-leaktrace") + (version "0.16") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/" + "Test-LeakTrace-" version ".tar.gz")) + (sha256 + (base32 + "00z4hcjra5nk700f3fgpy8fs036d7ry7glpn8g3wh7jzj7nrw22z")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-LeakTrace/") + (synopsis "Traces memory leaks in Perl") + (description "Test::LeakTrace provides several functions that trace memory +leaks. This module scans arenas, the memory allocation system, so it can +detect any leaked SVs in given blocks.") + (license perl-license))) + +(define-public perl-test-longstring + (package + (name "perl-test-longstring") + (version "0.17") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/" + "Test-LongString-" version ".tar.gz")) + (sha256 + (base32 + "0kwp7rfr1i2amz4ckigkv13ah7jr30q6l5k4wk0vxl84myg39i5b")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-LongString/") + (synopsis "Tests strings for equality, with more helpful failures") + (description "This module provides some drop-in replacements for the +string comparison functions of Test::More, but which are more suitable when +you test against long strings.") + (license perl-license))) + +(define-public perl-test-manifest + (package + (name "perl-test-manifest") + (version "2.02") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/" + "Test-Manifest-" version ".tar.gz")) + (sha256 + (base32 + "15ik52l9macrrfizf4y6wj71d4lx7w590h2dfajnkmbxmz786iq6")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (home-page "http://search.cpan.org/dist/Test-Manifest/") + (synopsis "Interact with a t/test_manifest file") + (description "@code{Test::Manifest} overrides the default test file order. Instead of +running all of the t/*.t files in ASCII-betical order, it looks in the t/test_manifest +file to find out which tests you want to run and the order in which you want to run them. +It constructs the right value for the build system to do the right thing.") + (license perl-license))) + +(define-public perl-test-memory-cycle + (package + (name "perl-test-memory-cycle") + (version "1.06") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-" + version + ".tar.gz")) + (sha256 + (base32 + "00ijmgx1r3cxrcs1qa9rb2s4gbm3nsawd90drda89kb4r7yxslwx")))) + (build-system perl-build-system) + (inputs + `(("perl-padwalker" ,perl-padwalker))) + (propagated-inputs + `(("perl-devel-cycle" ,perl-devel-cycle))) + (home-page + "http://search.cpan.org/dist/Test-Memory-Cycle/") + (synopsis + "Verifies code hasn't left circular references") + (description + "@code{Test::Memory::Cycle} is built on top of @code{Devel::Cycle} to +give you an easy way to check for these circular references. + +@example +use Test::Memory::Cycle; + +my $object = new MyObject; +# Do stuff with the object. +memory_cycle_ok( $object ); +@end example") + (license artistic2.0))) + +(define-public perl-test-mockobject + (package + (name "perl-test-mockobject") + (version "1.20150527") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/" + "Test-MockObject-" version ".tar.gz")) + (sha256 + (base32 + "160xvhbpwqjaff4fgckvldknldzcbn1z3jvyzybs7cqlj1x3bwdd")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-exception" ,perl-test-exception) + ("perl-test-warn" ,perl-test-warn))) + (propagated-inputs + `(("perl-test-exception" ,perl-test-exception) + ("perl-test-warn" ,perl-test-warn) + ("perl-universal-can" ,perl-universal-can) + ("perl-universal-isa" ,perl-universal-isa))) + (arguments `(#:tests? #f)) ;TODO: tests require perl-cgi + (home-page "http://search.cpan.org/dist/Test-MockObject/") + (synopsis "Emulate troublesome interfaces in Perl") + (description "Test::MockObject allows you to create objects that conform +to particular interfaces with very little code. You don't have to reimplement +the behavior, just the input and the output.") + (license perl-license))) + +(define-public perl-test-mocktime + (package + (name "perl-test-mocktime") + (version "0.13") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DD/DDICK/" + "Test-MockTime-" version ".tar.gz")) + (sha256 + (base32 + "0yrqmjg33akannwz2f99rfm7dvvxpzsdj23lsvlvfi4qslrlqfvw")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-MockTime/") + (synopsis "Replaces actual time with simulated time") + (description "This module was created to enable test suites to test code +at specific points in time. Specifically it overrides localtime, gmtime and +time at compile time and then relies on the user supplying a mock time via +set_relative_time, set_absolute_time or set_fixed_time to alter future calls +to gmtime,time or localtime.") + (license perl-license))) + +(define-public perl-test-most + (package + (name "perl-test-most") + (version "0.34") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/" + "Test-Most-" version ".tar.gz")) + (sha256 + (base32 + "0i72aih3pakm8gh73wx1n4dwq8lbx6dvxhla46gsapszws6hr0n2")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-test-differences" ,perl-test-differences) + ("perl-test-warn" ,perl-test-warn) + ("perl-exception-class" ,perl-exception-class) + ("perl-test-deep" ,perl-test-deep) + ("perl-test-exception" ,perl-test-exception))) + (home-page "http://search.cpan.org/dist/Test-Most/") + (synopsis "Most commonly needed test functions and features") + (description "This module provides the most commonly used testing +functions, along with automatically turning on strict and warning and gives a +bit more fine-grained control over test suites.") + (license perl-license))) + +(define-public perl-test-needs + (package + (name "perl-test-needs") + (version "0.002005") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/H/HA/HAARG/Test-Needs-" + version + ".tar.gz")) + (sha256 + (base32 + "16gkgpmr9hvkz382iaqd3500269lk2d44fqaw3dsrvc66nc36kss")))) + (build-system perl-build-system) + (home-page + "http://search.cpan.org/dist/Test-Needs/") + (synopsis + "Skip tests when modules not available") + (description "@code{Test::Needs} allows you to skip test scripts if +modules are not available. The requested modules will be loaded, and +optionally have their versions checked. If the module is missing, the test +script will be skipped. Modules that are found but fail to compile will exit +with an error rather than skip. + +If used in a subtest, the remainder of the subtest will be skipped.") + (license perl-license))) + +(define-public perl-test-notabs + (package + (name "perl-test-notabs") + (version "2.00") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/E/ET/ETHER/Test-NoTabs-" + version + ".tar.gz")) + (sha256 + (base32 + "127kpl1va267qar2ia4c22xb96jby2jqnda3sj5pjgmxg8si26cg")))) + (build-system perl-build-system) + (home-page + "http://search.cpan.org/dist/Test-NoTabs/") + (synopsis + "Check the presence of tabs in your project") + (description + "@code{Test::NoTabs} lets you check the presence of tabs in your perl +code.") + (license perl-license))) + +(define-public perl-test-nowarnings + (package + (name "perl-test-nowarnings") + (version "1.04") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/" + "Test-NoWarnings-" version ".tar.gz")) + (sha256 + (base32 + "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3")))) + (build-system perl-build-system) + (inputs `(("perl-test-tester" ,perl-test-tester))) + (synopsis "Ensure no warnings are produced while testing") + (description + "This modules causes any warnings during testing to be captured and +stored. It automatically adds an extra test that will run when your script +ends to check that there were no warnings. If there were any warnings, the +test will fail and output diagnostics of where, when and what the warning was, +including a stack trace of what was going on when it occurred.") + (home-page (string-append "http://search.cpan.org/~adamk//" + "Test-NoWarnings-" version)) + (license lgpl2.1))) + +(define-public perl-test-number-delta + (package + (name "perl-test-number-delta") + (version "1.06") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/" + "Test-Number-Delta-" version ".tar.gz")) + (sha256 + (base32 + "0jfhzhpzkc23mkrlbnv085ykpfncmy99hvppbzjnrpvgks8k0m2k")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-Number-Delta/") + (synopsis + "Compare the difference between numbers against a given tolerance") + (description + "At some point or another, most programmers find they need to compare +floating-point numbers for equality. The typical idiom is to test if the +absolute value of the difference of the numbers is within a desired tolerance, +usually called epsilon. This module provides such a function for use with +@code{Test::More}.") + (license asl2.0))) + +(define-public perl-test-output + (package + (name "perl-test-output") + (version "1.03") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/" + "Test-Output-" version ".tar.gz")) + (sha256 + (base32 + "12991jnzj4cbw9whhprmqvnzd1ayii84g2mh8vxbjngwqrjsy41i")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-capture-tiny" ,perl-capture-tiny) + ("perl-test-tester" ,perl-test-tester) + ("perl-sub-exporter" ,perl-sub-exporter))) + (synopsis "Utilities to test STDOUT and STDERR messages") + (description + "Test::Output provides a simple interface for testing output sent to +STDOUT or STDERR. A number of different utilities are included to try and be +as flexible as possible to the tester.") + (home-page (string-append "http://search.cpan.org/~bdfoy//" + "Test-Output-" version)) + (license perl-license))) + +(define-public perl-test-pod + (package + (name "perl-test-pod") + (version "1.48") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/" + "Test-Pod-" version ".tar.gz")) + (sha256 + (base32 + "1hmwwhabyng4jrnll926b4ab73r40w3pfchlrvs0yx6kh6kwwy14")))) + (build-system perl-build-system) + (native-inputs `(("perl-module-build" ,perl-module-build))) + (home-page "http://search.cpan.org/dist/Test-Pod/") + (synopsis "Check for POD errors in files") + (description "Check POD files for errors or warnings in a test file, using +Pod::Simple to do the heavy lifting.") + (license perl-license))) + +(define-public perl-test-pod-coverage + (package + (name "perl-test-pod-coverage") + (version "1.10") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/" + "Test-Pod-Coverage-" version ".tar.gz")) + (sha256 + (base32 + "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-pod-coverage" ,perl-pod-coverage))) + (home-page "http://search.cpan.org/dist/Test-Pod-Coverage/") + (synopsis "Check for pod coverage") + (description "This module adds a test to your Perl distribution which +checks for pod coverage of all appropriate files.") + (license artistic2.0))) + +(define-public perl-test-requires + (package + (name "perl-test-requires") + (version "0.08") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/" + "Test-Requires-" version ".tar.gz")) + (sha256 + (base32 + "08c29m0dn34384mmmpqqlbb899zpbkkc01c2lsp31mch1frv9cg7")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-Requires/") + (synopsis "Checks to see if the module can be loaded") + (description "Test::Requires checks to see if the module can be loaded. +If this fails, then rather than failing tests this skips all tests.") + (license perl-license))) + +(define-public perl-test-script + (package + (name "perl-test-script") + (version "1.20") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/" + "Test-Script-" version ".tar.gz")) + (sha256 + (base32 + "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-capture-tiny" ,perl-capture-tiny) + ("perl-probe-perl" ,perl-probe-perl))) + (synopsis "Basic cross-platform tests for scripts") + (description + "The intent of the Test::Script module is to provide a series of basic +tests for 80% of the testing you will need to do for scripts in the script (or +bin as is also commonly used) paths of your Perl distribution.") + (home-page "http://search.cpan.org/dist/Test-Script/") + (license perl-license))) + +(define-public perl-test-sharedfork + (package + (name "perl-test-sharedfork") + (version "0.29") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/" + "Test-SharedFork-" version ".tar.gz")) + (sha256 + (base32 + "0vlak10q4gcf0ch0rfcb9lvddav6r8h15iipzbkbgf9mrj47gbv3")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-requires" ,perl-test-requires))) + (home-page "http://search.cpan.org/dist/Test-SharedFork/") + (synopsis "Fork test in Perl") + (description "Test::SharedFork is a utility module for Test::Builder. It +makes fork(2) safe to use in test cases.") + (license perl-license))) + +(define-public perl-test-simple + (package + (name "perl-test-simple") + (version "1.302078") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/" + "Test-Simple-" version ".tar.gz")) + (sha256 + (base32 + "05acl24kmz3dgr2nayy162yaf0kz92h1j5vkiavyv6mdh2lz6ixb")))) + (build-system perl-build-system) + (synopsis "Basic utilities for writing tests") + (description + "Test::Simple contains basic utilities for writing tests.") + (home-page (string-append "http://search.cpan.org/~exodist//" + "Test-Simple-" version)) + (license perl-license))) + +(define-public perl-test-taint + (package + (name "perl-test-taint") + (version "1.06") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-" + version ".tar.gz")) + (sha256 + (base32 + "01rip5d7gdr1c7lq6yczzkqfd0500nfa977ryigylj6jj75526vj")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-Taint/") + (synopsis "Checks for taintedness of variables") + (description "Tainted data is data that comes from an unsafe source, such +as the command line, or, in the case of web apps, any @code{GET} or +@code{POST} transactions. Read the @code{perlsec} man page for details on why +tainted data is bad, and how to untaint the data. + +When you're writing unit tests for code that deals with tainted data, you'll +want to have a way to provide tainted data for your routines to handle, and +easy ways to check and report on the taintedness of your data, in standard +@code{Test::More} style.") + (license perl-license))) + +(define-public perl-test-tester + (package + (name "perl-test-tester") + (version "0.109") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/" + "Test-Tester-" version ".tar.gz")) + (sha256 + (base32 + "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk")))) + (build-system perl-build-system) + (synopsis "Simplify running Test::Builder tests") + (description + "Test::Tester allows testing of test modules based on Test::Builder with +a minimum of effort.") + (home-page (string-append "http://search.cpan.org/~fdaly//" + "Test-Tester-" version)) + ;; "Under the same license as Perl itself" + (license perl-license))) + +(define-public perl-test-trap + (package + (name "perl-test-trap") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/" + "Test-Trap-v" version ".tar.gz")) + (sha256 + (base32 + "0jq54pkm4s61gk8gzxglix1ff9s0m9vi6bpfv7f63lb9qq4r76rr")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-test-simple" ,perl-test-simple))) + (propagated-inputs + `(("perl-test-tester" ,perl-test-tester) + ("perl-data-dump" ,perl-data-dump))) + (home-page "http://search.cpan.org/dist/Test-Trap/") + (synopsis "Trap exit codes, exceptions, output, and so on") + (description "This module is primarily (but not exclusively) for use in +test scripts: A block eval configurable and extensible but by default trapping +STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values +from boxed blocks of test code.") + (license perl-license))) + +(define-public perl-test-utf8 + (package + (name "perl-test-utf8") + (version "1.01") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/" + "Test-utf8-" version ".tar.gz")) + (sha256 + (base32 + "0yhvf735v334qqvp9zg7i66qyk6r4cbk5s2psv93d3fdd4bindzg")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-install" ,perl-module-install))) + (home-page "http://search.cpan.org/dist/Test-utf8/") + (synopsis "UTF-8 testing in Perl") + (description "This module is a collection of tests useful for dealing with +UTF-8 strings in Perl. This module has two types of tests: The validity tests +check if a string is valid and not corrupt, whereas the characteristics tests +will check that string has a given set of characteristics.") + (license perl-license))) + +(define-public perl-test-warn + (package + (name "perl-test-warn") + (version "0.30") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/" + "Test-Warn-" version ".tar.gz")) + (sha256 + (base32 + "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-sub-uplevel" ,perl-sub-uplevel))) + (home-page "http://search.cpan.org/dist/Test-Warn/") + (synopsis "Perl extension to test methods for warnings") + (description "This module provides a few convenience methods for testing +warning based code.") + (license perl-license))) + +(define-public perl-test-warnings + (package + (name "perl-test-warnings") + (version "0.026") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "Test-Warnings-" version ".tar.gz")) + (sha256 + (base32 + "024srkwjckp15dxkni9lb1hc8bg4xwc52zz0iich8rv1nnqnhaxf")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-Warnings/") + (synopsis "Test for warnings and the lack of them") + (description "This module is intended to be used as a drop-in replacement +for Test::NoWarnings. It also adds an extra test, but runs this test before +done_testing calculates the test count, rather than after. It does this by +hooking into done_testing as well as via an END block. You can declare a +plan, or not, and things will still Just Work.") + (license perl-license))) + +(define-public perl-test-without-module + (package + (name "perl-test-without-module") + (version "0.18") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/" + "Test-Without-Module-" version ".tar.gz")) + (sha256 + (base32 + "0zwc2dk5srd02j4p049w77m89iw5nbff381rmhcbaz8x2w5kdhz2")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-Without-Module/") + (synopsis "Test fallback behaviour in absence of modules") + (description "This module allows you to deliberately hide modules from a +program even though they are installed. This is mostly useful for testing +modules that have a fallback when a certain dependency module is not +installed.") + (license perl-license))) + +(define-public perl-test-writevariants + (package + (name "perl-test-writevariants") + (version "0.010") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/" + "Test-WriteVariants-" version ".tar.gz")) + (sha256 + (base32 + "0kklp05fj98yiq8znyfx9lx1vmjay2ypfb868qdwv3kf93m5zjwr")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-most" ,perl-test-most) + ("perl-test-directory" ,perl-test-directory))) + (propagated-inputs + `(("perl-data-tumbler" ,perl-data-tumbler) + ("perl-file-homedir" ,perl-file-homedir) + ("perl-module-pluggable" ,perl-module-pluggable))) + (home-page "http://search.cpan.org/dist/Test-WriteVariants/") + (synopsis "Dynamic generation of tests") + (description "The Test::WriteVariants module provides for the dynamic +generation of tests in nested combinations of contexts.") + (license perl-license))) ;See LICENSE + +(define-public perl-test-yaml + (package + (name "perl-test-yaml") + (version "1.05") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/" + "Test-YAML-" version ".tar.gz")) + (sha256 + (base32 + "079nayc0fp2fwjv8s2yr069bdffln699j6z3lqr5dpx1v2qg82ck")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-test-base" ,perl-test-base))) + (home-page "http://search.cpan.org/dist/Test-YAML/") + (synopsis "Testing module for YAML implementations") + (description "Test::YAML is a subclass of Test::Base with YAML specific +support.") + (license perl-license))) + +(define-public perl-test-trailingspace + (package + (name "perl-test-trailingspace") + (version "0.0300") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-" + version + ".tar.gz")) + (sha256 + (base32 + "01slmrcjfq38mpdg3hlb7lnnbgsqbn26958y3hzx0zwrif40pigr")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-file-find-object" ,perl-file-find-object) + ("perl-class-xsaccessor" ,perl-class-xsaccessor))) + (inputs + `(("perl-file-find-object-rule" ,perl-file-find-object-rule) + ("perl-text-glob" ,perl-text-glob) + ("perl-number-compare" ,perl-number-compare))) + (home-page + "http://search.cpan.org/dist/Test-TrailingSpace/") + (synopsis + "Test for trailing space in Perl source files") + (description "Test::TrailingSpace tests for trailing spaces +in Perl source files.") + (license x11))) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 29c54c956e..2d8b488ca3 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -42,6 +42,7 @@ (define-module (gnu packages perl) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (gnu packages base) + #:use-module (gnu packages perl-check) #:use-module (gnu packages perl-web) #:use-module (gnu packages pkg-config)) @@ -7451,1109 +7452,6 @@ (define-public perl-term-table into tables.") (license (package-license perl)))) -(define-public perl-test2-bundle-extended - (package - (name "perl-test2-bundle-extended") - (version "0.000072") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-" - version ".tar.gz")) - (sha256 - (base32 - "0hgd6n29qjh1pwqvbglm2kb852yqshmixqqjhsr2kvvibdr58qpf")))) - (build-system perl-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'set-env - (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1")))))) - (propagated-inputs - `(("perl-importer" ,perl-importer) - ("perl-term-table" ,perl-term-table) - ("perl-sub-info" ,perl-sub-info))) - (home-page "http://search.cpan.org/~exodist/Test2-Suite/lib/Test2/Bundle/Extended.pm") - (synopsis "Full set of tools for Test2::Suite") - (description "This package provides a rich set of tools, plugins, bundles, -etc built upon the Test2 testing library.") - (license (package-license perl)))) - -(define-public perl-test2-plugin-nowarnings - (package - (name "perl-test2-plugin-nowarnings") - (version "0.06") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-" - version ".tar.gz")) - (sha256 - (base32 - "002qk6qsm0l6r2kaxywvc38w0yf0mlavgywq8li076pn6kcw3242")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-test2-bundle-extended" ,perl-test2-bundle-extended))) - (home-page "http://search.cpan.org/dist/Test2-Plugin-NoWarnings//") - (synopsis "Fail if tests warn") - (description "Loading this plugin causes your tests to fail if there any -warnings while they run. Each warning generates a new failing test and the -warning content is outputted via diag.") - (license (package-license perl)))) - -(define-public perl-test-base - (package - (name "perl-test-base") - (version "0.88") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/" - "Test-Base-" version ".tar.gz")) - (sha256 - (base32 - "0fch1cvivnszbnwhpfmwv1rin04j5xkj1n1ylfmlxg6bm72qqdjj")))) - (build-system perl-build-system) - (native-inputs - `(("perl-algorithm-diff" ,perl-algorithm-diff) - ("perl-text-diff" ,perl-text-diff))) - (propagated-inputs - `(("perl-spiffy" ,perl-spiffy) - ("perl-test-deep" ,perl-test-deep))) - (home-page "http://search.cpan.org/dist/Test-Base/") - (synopsis "Data-driven testing framework for Perl") - (description "Test::Base gives a way to trivially write your own test -framework base class. It concentrates on offering reusable data driven -patterns, so that you can write tests with a minimum of code.") - (license (package-license perl)))) - -(define-public perl-test-class - (package - (name "perl-test-class") - (version "0.50") - (source - (origin - (method url-fetch) - (uri (string-append - "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-" - version - ".tar.gz")) - (sha256 - (base32 - "0l0kk5jvxjkic2jkf1r7v41irb344aasnzr3f5ygjgxgiknm9489")))) - (build-system perl-build-system) - (native-inputs - `(("perl-test-exception" ,perl-test-exception))) - (inputs - `(("perl-module-runtime" ,perl-module-runtime) - ("perl-mro-compat" ,perl-mro-compat) - ("perl-try-tiny" ,perl-try-tiny))) - (home-page "http://search.cpan.org/dist/Test-Class/") - (synopsis "Easily create test classes in an xUnit/JUnit style") - (description "@code{Test::Class} provides a simple way of creating classes -and objects to test your code in an xUnit style. - -Built using @code{Test::Builder}, it was designed to work with other -@code{Test::Builder} based modules (@code{Test::More}, -@code{Test::Differences}, @code{Test::Exception}, etc.).") - (license (package-license perl)))) - -(define-public perl-test-class-most - (package - (name "perl-test-class-most") - (version "0.08") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-" - version - ".tar.gz")) - (sha256 - (base32 - "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33")))) - (build-system perl-build-system) - (native-inputs - `(("perl-module-build" ,perl-module-build))) - (inputs - `(("perl-test-class" ,perl-test-class) - ("perl-test-most" ,perl-test-most) - ("perl-module-runtime" ,perl-module-runtime) - ("perl-try-tiny" ,perl-try-tiny) - ("perl-mro-compat" ,perl-mro-compat))) - (home-page "http://search.cpan.org/dist/Test-Class-Most/") - (synopsis "Test classes the easy way") - (description "@code{Test::Class::Most} provides some more convenience when -using @code{Test::Class}.") - (license (package-license perl)))) - -(define-public perl-test-cleannamespaces - (package - (name "perl-test-cleannamespaces") - (version "0.22") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" - "Test-CleanNamespaces-" version ".tar.gz")) - (sha256 - (base32 - "1jma95agqqy7iwdcl6jbg1waqz7mjqng4l046lpknhfxjhcj4al6")))) - (build-system perl-build-system) - (native-inputs - `(("perl-file-pushd" ,perl-file-pushd) - ("perl-test-requires" ,perl-test-requires) - ("perl-test-deep" ,perl-test-deep) - ("perl-test-warnings" ,perl-test-warnings) - ("perl-test-tester" ,perl-test-tester) - ("perl-test-needs" ,perl-test-needs))) - (propagated-inputs - `(("perl-namespace-clean" ,perl-namespace-clean) - ("perl-package-stash" ,perl-package-stash) - ("perl-sub-identify" ,perl-sub-identify) - ("perl-sub-exporter" ,perl-sub-exporter) - ("perl-file-find-rule" ,perl-file-find-rule) - ("perl-file-find-rule-perl" ,perl-file-find-rule-perl))) - (home-page "http://search.cpan.org/dist/Test-CleanNamespaces/") - (synopsis "Check for uncleaned imports") - (description "This module lets you check your module's namespaces for -imported functions you might have forgotten to remove with -namespace::autoclean or namespace::clean and are therefore available to be -called as methods, which usually isn't want you want.") - (license (package-license perl)))) - -(define-public perl-test-command - (package - (name "perl-test-command") - (version "0.11") - (source (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/D/DA/DANBOO/Test-Command-" - version ".tar.gz")) - (sha256 - (base32 - "0cwm3c4d49mdrbm6vgh78b3x8mk730l0zg8i7xb9z8bkx9pzr8r8")))) - (build-system perl-build-system) - (native-inputs - `(("perl-module-build" ,perl-module-build))) - (home-page "https://github.com/danboo/perl-test-command") - (synopsis "Test routines for external commands") - (description - "This module provides routines for testing the exit status, standard -output and standard error of external commands.") - (license perl-license))) - -(define-public perl-test-cpan-meta - (package - (name "perl-test-cpan-meta") - (version "0.25") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-" - version - ".tar.gz")) - (sha256 - (base32 - "1dcdbbdwdyhpldkhjzc9rvzlmb5jbil6fwh2x07nsfdwysf4ynzm")))) - (build-system perl-build-system) - (native-inputs - `(("perl-test-cpan-meta-json" ,perl-test-cpan-meta-json) - ("perl-test-pod" ,perl-test-pod) - ("perl-test-pod-coverage" ,perl-test-pod-coverage))) - (home-page - "http://search.cpan.org/dist/Test-CPAN-Meta/") - (synopsis "Validate your CPAN META.yml files") - (description - "This module was written to ensure that a META.yml file meets the -specification.") - (license artistic2.0))) - -(define-public perl-test-cpan-meta-json - (package - (name "perl-test-cpan-meta-json") - (version "0.16") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-" - version - ".tar.gz")) - (sha256 - (base32 - "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37")))) - (build-system perl-build-system) - (native-inputs - `(("perl-test-pod" ,perl-test-pod) - ("perl-test-pod-coverage" ,perl-test-pod-coverage))) - (inputs - `(("perl-json" ,perl-json))) - (home-page - "http://search.cpan.org/dist/Test-CPAN-Meta-JSON/") - (synopsis "Validate your CPAN META.json files") - (description - "This module was written to ensure that a META.json file meets the -specification.") - (license artistic2.0))) - -(define-public perl-test-deep - (package - (name "perl-test-deep") - (version "1.120") - (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/" - "Test-Deep-" version ".tar.gz")) - (sha256 - (base32 - "1kdy06r0yg7zwarqglc9163vbfb0sfc4s6ld4pw5q7i9f7mghzi0")))) - (build-system perl-build-system) - (inputs `(("perl-test-tester" ,perl-test-tester) - ("perl-test-nowarnings" ,perl-test-nowarnings))) - (synopsis "Flexible deep comparison for the Test::Builder framework") - (description - "Test::Deep compares two structures by going through each level, ensuring -that the values match, that arrays and hashes have the same elements and that -references are blessed into the correct class. It also handles circular data -structures without getting caught in an infinite loop.") - (home-page "http://search.cpan.org/dist/Test-Deep/") - (license gpl1+))) ; or "Artistic License" - -(define-public perl-test-differences - (package - (name "perl-test-differences") - (version "0.63") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/D/DC/DCANTRELL/" - "Test-Differences-" version ".tar.gz")) - (sha256 - (base32 - "0rhs4q6qn64ji06ns7lwl6iiiw3mggvd9xk9nkiqvx1jihbplrbw")))) - (build-system perl-build-system) - (native-inputs - `(("perl-module-build" ,perl-module-build))) - (propagated-inputs - `(("perl-text-diff" ,perl-text-diff) - ("perl-capture-tiny" ,perl-capture-tiny))) - (home-page "http://search.cpan.org/dist/Test-Differences/") - (synopsis "Test strings and data structures and show differences") - (description "This module exports three test functions and four diff-style -functions.") - ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public - ;; license, any version, ..." - (license gpl3+))) - -(define-public perl-test-directory - (package - (name "perl-test-directory") - (version "0.041") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/S/SA/SANBEG/" - "Test-Directory-" version ".tar.gz")) - (sha256 - (base32 - "1ncql08cizhicbxwd753b4czns8nlcnlw0zfjcfrbdd41x4j6hqr")))) - (build-system perl-build-system) - (native-inputs `(("perl-test-exception" ,perl-test-exception))) - (home-page "http://search.cpan.org/dist/Test-Directory/") - (synopsis "Perl extension for maintaining test directories") - (description "Testing code can involve making sure that files are created -and deleted as expected. Doing this manually can be error prone, as it's easy -to forget a file, or miss that some unexpected file was added. This module -simplifies maintaining test directories by tracking their status as they are -modified or tested with this API, making it simple to test both individual -files, as well as to verify that there are no missing or unknown files.") - (license (package-license perl)))) - -(define-public perl-test-eol - (package - (name "perl-test-eol") - (version "2.00") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/E/ET/ETHER/Test-EOL-" - version - ".tar.gz")) - (sha256 - (base32 - "0l3bxpsw0x7j9nclizcp53mnf9wny25dmg2iglfhzgnk0xfpwzwf")))) - (build-system perl-build-system) - (home-page - "http://search.cpan.org/dist/Test-EOL/") - (synopsis - "Check the correct line endings in your project") - (description - "@code{Test::EOL} lets you check for the presence of trailing whitespace -and/or windows line endings in your perl code.") - (license perl-license))) - -(define-public perl-test-exception - (package - (name "perl-test-exception") - (version "0.43") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/" - "Test-Exception-" version ".tar.gz")) - (sha256 - (base32 - "0cxm7s4bg0xpxa6l6996a6iq3brr4j7p4hssnkc6dxv4fzq16sqm")))) - (build-system perl-build-system) - (native-inputs - `(("perl-module-build" ,perl-module-build))) - (propagated-inputs - `(("perl-sub-uplevel" ,perl-sub-uplevel))) - (home-page "http://search.cpan.org/dist/Test-Exception/") - (synopsis "Test exception based code") - (description "This module provides a few convenience methods for testing -exception based code. It is built with Test::Builder and plays happily with -Test::More and friends.") - (license (package-license perl)))) - -(define-public perl-test-fatal - (package - (name "perl-test-fatal") - (version "0.014") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/" - "Test-Fatal-" version ".tar.gz")) - (sha256 - (base32 - "1c6bs68mss4q7cyapkv2c0jn66i21050p0faxf3s3417gdffzp5w")))) - (build-system perl-build-system) - (propagated-inputs `(("perl-try-tiny" ,perl-try-tiny))) - (home-page "http://search.cpan.org/dist/Test-Fatal/") - (synopsis "Simple helpers for testing code with exceptions") - (description "Test::Fatal is an alternative to the popular -Test::Exception. It does much less, but should allow greater flexibility in -testing exception-throwing code with about the same amount of typing.") - (license (package-license perl)))) - -(define-public perl-test-file-sharedir-dist - (package - (name "perl-test-file-sharedir-dist") - (version "1.001002") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/" - "Test-File-ShareDir-" version ".tar.gz")) - (sha256 - (base32 - "1bbs6cx69wcinq77gif4i4pmrj8a7lwb92sgvvxzrwmjnk5lfdmk")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-class-tiny" ,perl-class-tiny) - ("perl-file-copy-recursive" ,perl-file-copy-recursive) - ("perl-file-sharedir" ,perl-file-sharedir) - ("perl-path-tiny" ,perl-path-tiny) - ("perl-scope-guard" ,perl-scope-guard) - ("perl-test-fatal" ,perl-test-fatal))) - (home-page "https://github.com/kentnl/Test-File-ShareDir") - (synopsis "Dist oriented ShareDir tester") - (description "This module creates a Fake ShareDir for your modules -for testing.") - (license (package-license perl)))) - -(define-public perl-test-files - (package - (name "perl-test-files") - (version "0.14") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-" - version - ".tar.gz")) - (sha256 - (base32 - "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-algorithm-diff" ,perl-algorithm-diff) - ("perl-text-diff" ,perl-text-diff))) - (home-page "http://search.cpan.org/dist/Test-Files/") - (synopsis "Ease software testing with files and directories") - (description "This library provides functions to enable testing of files -and directories. For instance, the @code{file_ok} helper can test whether the -contents of a file is equal to a particular string.") - (license (package-license perl)))) - -(define-public perl-test-harness - (package - (name "perl-test-harness") - (version "3.39") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/" - "Test-Harness-" version ".tar.gz")) - (sha256 - (base32 - "0chiqnzmna2mglm37nzxvn9qhq2j31iwz3i9isqjs7bf3k449gb9")))) - (build-system perl-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'patch-test - (lambda* (#:key inputs #:allow-other-keys) - ;; This test looks for "#!/usr/bin/perl" in some source. - ;; Patch what the test looks for. - (substitute* "t/source.t" - (("#!/usr/bin/perl") - (string-append "#!" (assoc-ref inputs "perl") - "/bin/perl"))) - #t))))) - (home-page "http://search.cpan.org/dist/Test-Harness/") - (synopsis "Run Perl standard test scripts with statistics") - (description "Simple test harness which allows tests to be run and results -automatically aggregated and output to STDOUT.") - (license (package-license perl)))) - -(define-public perl-test-leaktrace - (package - (name "perl-test-leaktrace") - (version "0.16") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/" - "Test-LeakTrace-" version ".tar.gz")) - (sha256 - (base32 - "00z4hcjra5nk700f3fgpy8fs036d7ry7glpn8g3wh7jzj7nrw22z")))) - (build-system perl-build-system) - (home-page "http://search.cpan.org/dist/Test-LeakTrace/") - (synopsis "Traces memory leaks in Perl") - (description "Test::LeakTrace provides several functions that trace memory -leaks. This module scans arenas, the memory allocation system, so it can -detect any leaked SVs in given blocks.") - (license (package-license perl)))) - -(define-public perl-test-longstring - (package - (name "perl-test-longstring") - (version "0.17") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/" - "Test-LongString-" version ".tar.gz")) - (sha256 - (base32 - "0kwp7rfr1i2amz4ckigkv13ah7jr30q6l5k4wk0vxl84myg39i5b")))) - (build-system perl-build-system) - (home-page "http://search.cpan.org/dist/Test-LongString/") - (synopsis "Tests strings for equality, with more helpful failures") - (description "This module provides some drop-in replacements for the -string comparison functions of Test::More, but which are more suitable when -you test against long strings.") - (license (package-license perl)))) - -(define-public perl-test-manifest - (package - (name "perl-test-manifest") - (version "2.02") - (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/" - "Test-Manifest-" version ".tar.gz")) - (sha256 - (base32 - "15ik52l9macrrfizf4y6wj71d4lx7w590h2dfajnkmbxmz786iq6")))) - (build-system perl-build-system) - (native-inputs - `(("perl-test-pod" ,perl-test-pod) - ("perl-test-pod-coverage" ,perl-test-pod-coverage))) - (home-page "http://search.cpan.org/dist/Test-Manifest/") - (synopsis "Interact with a t/test_manifest file") - (description "@code{Test::Manifest} overrides the default test file order. Instead of -running all of the t/*.t files in ASCII-betical order, it looks in the t/test_manifest -file to find out which tests you want to run and the order in which you want to run them. -It constructs the right value for the build system to do the right thing.") - (license (package-license perl)))) - -(define-public perl-test-memory-cycle - (package - (name "perl-test-memory-cycle") - (version "1.06") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-" - version - ".tar.gz")) - (sha256 - (base32 - "00ijmgx1r3cxrcs1qa9rb2s4gbm3nsawd90drda89kb4r7yxslwx")))) - (build-system perl-build-system) - (inputs - `(("perl-padwalker" ,perl-padwalker))) - (propagated-inputs - `(("perl-devel-cycle" ,perl-devel-cycle))) - (home-page - "http://search.cpan.org/dist/Test-Memory-Cycle/") - (synopsis - "Verifies code hasn't left circular references") - (description - "@code{Test::Memory::Cycle} is built on top of @code{Devel::Cycle} to -give you an easy way to check for these circular references. - -@example -use Test::Memory::Cycle; - -my $object = new MyObject; -# Do stuff with the object. -memory_cycle_ok( $object ); -@end example") - (license artistic2.0))) - -(define-public perl-test-mockobject - (package - (name "perl-test-mockobject") - (version "1.20150527") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/" - "Test-MockObject-" version ".tar.gz")) - (sha256 - (base32 - "160xvhbpwqjaff4fgckvldknldzcbn1z3jvyzybs7cqlj1x3bwdd")))) - (build-system perl-build-system) - (native-inputs - `(("perl-test-exception" ,perl-test-exception) - ("perl-test-warn" ,perl-test-warn))) - (propagated-inputs - `(("perl-test-exception" ,perl-test-exception) - ("perl-test-warn" ,perl-test-warn) - ("perl-universal-can" ,perl-universal-can) - ("perl-universal-isa" ,perl-universal-isa))) - (arguments `(#:tests? #f)) ;TODO: tests require perl-cgi - (home-page "http://search.cpan.org/dist/Test-MockObject/") - (synopsis "Emulate troublesome interfaces in Perl") - (description "Test::MockObject allows you to create objects that conform -to particular interfaces with very little code. You don't have to reimplement -the behavior, just the input and the output.") - (license (package-license perl)))) - -(define-public perl-test-mocktime - (package - (name "perl-test-mocktime") - (version "0.13") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/D/DD/DDICK/" - "Test-MockTime-" version ".tar.gz")) - (sha256 - (base32 - "0yrqmjg33akannwz2f99rfm7dvvxpzsdj23lsvlvfi4qslrlqfvw")))) - (build-system perl-build-system) - (home-page "http://search.cpan.org/dist/Test-MockTime/") - (synopsis "Replaces actual time with simulated time") - (description "This module was created to enable test suites to test code -at specific points in time. Specifically it overrides localtime, gmtime and -time at compile time and then relies on the user supplying a mock time via -set_relative_time, set_absolute_time or set_fixed_time to alter future calls -to gmtime,time or localtime.") - (license (package-license perl)))) - -(define-public perl-test-most - (package - (name "perl-test-most") - (version "0.34") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/" - "Test-Most-" version ".tar.gz")) - (sha256 - (base32 - "0i72aih3pakm8gh73wx1n4dwq8lbx6dvxhla46gsapszws6hr0n2")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-test-differences" ,perl-test-differences) - ("perl-test-warn" ,perl-test-warn) - ("perl-exception-class" ,perl-exception-class) - ("perl-test-deep" ,perl-test-deep) - ("perl-test-exception" ,perl-test-exception))) - (home-page "http://search.cpan.org/dist/Test-Most/") - (synopsis "Most commonly needed test functions and features") - (description "This module provides the most commonly used testing -functions, along with automatically turning on strict and warning and gives a -bit more fine-grained control over test suites.") - (license (package-license perl)))) - -(define-public perl-test-needs - (package - (name "perl-test-needs") - (version "0.002005") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/H/HA/HAARG/Test-Needs-" - version - ".tar.gz")) - (sha256 - (base32 - "16gkgpmr9hvkz382iaqd3500269lk2d44fqaw3dsrvc66nc36kss")))) - (build-system perl-build-system) - (home-page - "http://search.cpan.org/dist/Test-Needs/") - (synopsis - "Skip tests when modules not available") - (description "@code{Test::Needs} allows you to skip test scripts if -modules are not available. The requested modules will be loaded, and -optionally have their versions checked. If the module is missing, the test -script will be skipped. Modules that are found but fail to compile will exit -with an error rather than skip. - -If used in a subtest, the remainder of the subtest will be skipped.") - (license (package-license perl)))) - -(define-public perl-test-notabs - (package - (name "perl-test-notabs") - (version "2.00") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/E/ET/ETHER/Test-NoTabs-" - version - ".tar.gz")) - (sha256 - (base32 - "127kpl1va267qar2ia4c22xb96jby2jqnda3sj5pjgmxg8si26cg")))) - (build-system perl-build-system) - (home-page - "http://search.cpan.org/dist/Test-NoTabs/") - (synopsis - "Check the presence of tabs in your project") - (description - "@code{Test::NoTabs} lets you check the presence of tabs in your perl -code.") - (license perl-license))) - -(define-public perl-test-nowarnings - (package - (name "perl-test-nowarnings") - (version "1.04") - (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/" - "Test-NoWarnings-" version ".tar.gz")) - (sha256 - (base32 - "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3")))) - (build-system perl-build-system) - (inputs `(("perl-test-tester" ,perl-test-tester))) - (synopsis "Ensure no warnings are produced while testing") - (description - "This modules causes any warnings during testing to be captured and -stored. It automatically adds an extra test that will run when your script -ends to check that there were no warnings. If there were any warnings, the -test will fail and output diagnostics of where, when and what the warning was, -including a stack trace of what was going on when it occurred.") - (home-page (string-append "http://search.cpan.org/~adamk//" - "Test-NoWarnings-" version)) - (license lgpl2.1))) - -(define-public perl-test-number-delta - (package - (name "perl-test-number-delta") - (version "1.06") - (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/" - "Test-Number-Delta-" version ".tar.gz")) - (sha256 - (base32 - "0jfhzhpzkc23mkrlbnv085ykpfncmy99hvppbzjnrpvgks8k0m2k")))) - (build-system perl-build-system) - (home-page "http://search.cpan.org/dist/Test-Number-Delta/") - (synopsis - "Compare the difference between numbers against a given tolerance") - (description - "At some point or another, most programmers find they need to compare -floating-point numbers for equality. The typical idiom is to test if the -absolute value of the difference of the numbers is within a desired tolerance, -usually called epsilon. This module provides such a function for use with -@code{Test::More}.") - (license asl2.0))) - -(define-public perl-test-output - (package - (name "perl-test-output") - (version "1.03") - (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/" - "Test-Output-" version ".tar.gz")) - (sha256 - (base32 - "12991jnzj4cbw9whhprmqvnzd1ayii84g2mh8vxbjngwqrjsy41i")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-capture-tiny" ,perl-capture-tiny) - ("perl-test-tester" ,perl-test-tester) - ("perl-sub-exporter" ,perl-sub-exporter))) - (synopsis "Utilities to test STDOUT and STDERR messages") - (description - "Test::Output provides a simple interface for testing output sent to -STDOUT or STDERR. A number of different utilities are included to try and be -as flexible as possible to the tester.") - (home-page (string-append "http://search.cpan.org/~bdfoy//" - "Test-Output-" version)) - (license (package-license perl)))) - -(define-public perl-test-pod - (package - (name "perl-test-pod") - (version "1.48") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/" - "Test-Pod-" version ".tar.gz")) - (sha256 - (base32 - "1hmwwhabyng4jrnll926b4ab73r40w3pfchlrvs0yx6kh6kwwy14")))) - (build-system perl-build-system) - (native-inputs `(("perl-module-build" ,perl-module-build))) - (home-page "http://search.cpan.org/dist/Test-Pod/") - (synopsis "Check for POD errors in files") - (description "Check POD files for errors or warnings in a test file, using -Pod::Simple to do the heavy lifting.") - (license (package-license perl)))) - -(define-public perl-test-pod-coverage - (package - (name "perl-test-pod-coverage") - (version "1.10") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/" - "Test-Pod-Coverage-" version ".tar.gz")) - (sha256 - (base32 - "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-pod-coverage" ,perl-pod-coverage))) - (home-page "http://search.cpan.org/dist/Test-Pod-Coverage/") - (synopsis "Check for pod coverage") - (description "This module adds a test to your Perl distribution which -checks for pod coverage of all appropriate files.") - (license artistic2.0))) - -(define-public perl-test-requires - (package - (name "perl-test-requires") - (version "0.08") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/" - "Test-Requires-" version ".tar.gz")) - (sha256 - (base32 - "08c29m0dn34384mmmpqqlbb899zpbkkc01c2lsp31mch1frv9cg7")))) - (build-system perl-build-system) - (home-page "http://search.cpan.org/dist/Test-Requires/") - (synopsis "Checks to see if the module can be loaded") - (description "Test::Requires checks to see if the module can be loaded. -If this fails, then rather than failing tests this skips all tests.") - (license (package-license perl)))) - -(define-public perl-test-script - (package - (name "perl-test-script") - (version "1.20") - (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/" - "Test-Script-" version ".tar.gz")) - (sha256 - (base32 - "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-capture-tiny" ,perl-capture-tiny) - ("perl-probe-perl" ,perl-probe-perl))) - (synopsis "Basic cross-platform tests for scripts") - (description - "The intent of the Test::Script module is to provide a series of basic -tests for 80% of the testing you will need to do for scripts in the script (or -bin as is also commonly used) paths of your Perl distribution.") - (home-page "http://search.cpan.org/dist/Test-Script/") - (license (package-license perl)))) - -(define-public perl-test-sharedfork - (package - (name "perl-test-sharedfork") - (version "0.29") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/" - "Test-SharedFork-" version ".tar.gz")) - (sha256 - (base32 - "0vlak10q4gcf0ch0rfcb9lvddav6r8h15iipzbkbgf9mrj47gbv3")))) - (build-system perl-build-system) - (native-inputs - `(("perl-test-requires" ,perl-test-requires))) - (home-page "http://search.cpan.org/dist/Test-SharedFork/") - (synopsis "Fork test in Perl") - (description "Test::SharedFork is a utility module for Test::Builder. It -makes fork(2) safe to use in test cases.") - (license (package-license perl)))) - -(define-public perl-test-simple - (package - (name "perl-test-simple") - (version "1.302078") - (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/" - "Test-Simple-" version ".tar.gz")) - (sha256 - (base32 - "05acl24kmz3dgr2nayy162yaf0kz92h1j5vkiavyv6mdh2lz6ixb")))) - (build-system perl-build-system) - (synopsis "Basic utilities for writing tests") - (description - "Test::Simple contains basic utilities for writing tests.") - (home-page (string-append "http://search.cpan.org/~exodist//" - "Test-Simple-" version)) - (license (package-license perl)))) - -(define-public perl-test-taint - (package - (name "perl-test-taint") - (version "1.06") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-" - version ".tar.gz")) - (sha256 - (base32 - "01rip5d7gdr1c7lq6yczzkqfd0500nfa977ryigylj6jj75526vj")))) - (build-system perl-build-system) - (home-page "http://search.cpan.org/dist/Test-Taint/") - (synopsis "Checks for taintedness of variables") - (description "Tainted data is data that comes from an unsafe source, such -as the command line, or, in the case of web apps, any @code{GET} or -@code{POST} transactions. Read the @code{perlsec} man page for details on why -tainted data is bad, and how to untaint the data. - -When you're writing unit tests for code that deals with tainted data, you'll -want to have a way to provide tainted data for your routines to handle, and -easy ways to check and report on the taintedness of your data, in standard -@code{Test::More} style.") - (license (package-license perl)))) - -(define-public perl-test-tester - (package - (name "perl-test-tester") - (version "0.109") - (source (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/" - "Test-Tester-" version ".tar.gz")) - (sha256 - (base32 - "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk")))) - (build-system perl-build-system) - (synopsis "Simplify running Test::Builder tests") - (description - "Test::Tester allows testing of test modules based on Test::Builder with -a minimum of effort.") - (home-page (string-append "http://search.cpan.org/~fdaly//" - "Test-Tester-" version)) - ;; "Under the same license as Perl itself" - (license (package-license perl)))) - -(define-public perl-test-trap - (package - (name "perl-test-trap") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/" - "Test-Trap-v" version ".tar.gz")) - (sha256 - (base32 - "0jq54pkm4s61gk8gzxglix1ff9s0m9vi6bpfv7f63lb9qq4r76rr")))) - (build-system perl-build-system) - (native-inputs - `(("perl-module-build" ,perl-module-build) - ("perl-test-simple" ,perl-test-simple))) - (propagated-inputs - `(("perl-test-tester" ,perl-test-tester) - ("perl-data-dump" ,perl-data-dump))) - (home-page "http://search.cpan.org/dist/Test-Trap/") - (synopsis "Trap exit codes, exceptions, output, and so on") - (description "This module is primarily (but not exclusively) for use in -test scripts: A block eval configurable and extensible but by default trapping -STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values -from boxed blocks of test code.") - (license (package-license perl)))) - -(define-public perl-test-utf8 - (package - (name "perl-test-utf8") - (version "1.01") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/" - "Test-utf8-" version ".tar.gz")) - (sha256 - (base32 - "0yhvf735v334qqvp9zg7i66qyk6r4cbk5s2psv93d3fdd4bindzg")))) - (build-system perl-build-system) - (native-inputs - `(("perl-module-install" ,perl-module-install))) - (home-page "http://search.cpan.org/dist/Test-utf8/") - (synopsis "UTF-8 testing in Perl") - (description "This module is a collection of tests useful for dealing with -UTF-8 strings in Perl. This module has two types of tests: The validity tests -check if a string is valid and not corrupt, whereas the characteristics tests -will check that string has a given set of characteristics.") - (license (package-license perl)))) - -(define-public perl-test-warn - (package - (name "perl-test-warn") - (version "0.30") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/" - "Test-Warn-" version ".tar.gz")) - (sha256 - (base32 - "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-sub-uplevel" ,perl-sub-uplevel))) - (home-page "http://search.cpan.org/dist/Test-Warn/") - (synopsis "Perl extension to test methods for warnings") - (description "This module provides a few convenience methods for testing -warning based code.") - (license (package-license perl)))) - -(define-public perl-test-warnings - (package - (name "perl-test-warnings") - (version "0.026") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" - "Test-Warnings-" version ".tar.gz")) - (sha256 - (base32 - "024srkwjckp15dxkni9lb1hc8bg4xwc52zz0iich8rv1nnqnhaxf")))) - (build-system perl-build-system) - (home-page "http://search.cpan.org/dist/Test-Warnings/") - (synopsis "Test for warnings and the lack of them") - (description "This module is intended to be used as a drop-in replacement -for Test::NoWarnings. It also adds an extra test, but runs this test before -done_testing calculates the test count, rather than after. It does this by -hooking into done_testing as well as via an END block. You can declare a -plan, or not, and things will still Just Work.") - (license (package-license perl)))) - -(define-public perl-test-without-module - (package - (name "perl-test-without-module") - (version "0.18") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/" - "Test-Without-Module-" version ".tar.gz")) - (sha256 - (base32 - "0zwc2dk5srd02j4p049w77m89iw5nbff381rmhcbaz8x2w5kdhz2")))) - (build-system perl-build-system) - (home-page "http://search.cpan.org/dist/Test-Without-Module/") - (synopsis "Test fallback behaviour in absence of modules") - (description "This module allows you to deliberately hide modules from a -program even though they are installed. This is mostly useful for testing -modules that have a fallback when a certain dependency module is not -installed.") - (license (package-license perl)))) - -(define-public perl-test-writevariants - (package - (name "perl-test-writevariants") - (version "0.010") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/" - "Test-WriteVariants-" version ".tar.gz")) - (sha256 - (base32 - "0kklp05fj98yiq8znyfx9lx1vmjay2ypfb868qdwv3kf93m5zjwr")))) - (build-system perl-build-system) - (native-inputs - `(("perl-test-most" ,perl-test-most) - ("perl-test-directory" ,perl-test-directory))) - (propagated-inputs - `(("perl-data-tumbler" ,perl-data-tumbler) - ("perl-file-homedir" ,perl-file-homedir) - ("perl-module-pluggable" ,perl-module-pluggable))) - (home-page "http://search.cpan.org/dist/Test-WriteVariants/") - (synopsis "Dynamic generation of tests") - (description "The Test::WriteVariants module provides for the dynamic -generation of tests in nested combinations of contexts.") - (license (package-license perl)))) ;See LICENSE - -(define-public perl-test-yaml - (package - (name "perl-test-yaml") - (version "1.05") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/" - "Test-YAML-" version ".tar.gz")) - (sha256 - (base32 - "079nayc0fp2fwjv8s2yr069bdffln699j6z3lqr5dpx1v2qg82ck")))) - (build-system perl-build-system) - (propagated-inputs - `(("perl-test-base" ,perl-test-base))) - (home-page "http://search.cpan.org/dist/Test-YAML/") - (synopsis "Testing module for YAML implementations") - (description "Test::YAML is a subclass of Test::Base with YAML specific -support.") - (license (package-license perl)))) - (define-public perl-text-aligner (package (name "perl-text-aligner") @@ -9796,37 +8694,6 @@ (define-public perl-file-find-object-rule interface to File::Find::Object.") (license (package-license perl)))) -(define-public perl-test-trailingspace - (package - (name "perl-test-trailingspace") - (version "0.0300") - (source - (origin - (method url-fetch) - (uri (string-append - "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-" - version - ".tar.gz")) - (sha256 - (base32 - "01slmrcjfq38mpdg3hlb7lnnbgsqbn26958y3hzx0zwrif40pigr")))) - (build-system perl-build-system) - (native-inputs - `(("perl-module-build" ,perl-module-build) - ("perl-file-find-object" ,perl-file-find-object) - ("perl-class-xsaccessor" ,perl-class-xsaccessor))) - (inputs - `(("perl-file-find-object-rule" ,perl-file-find-object-rule) - ("perl-text-glob" ,perl-text-glob) - ("perl-number-compare" ,perl-number-compare))) - (home-page - "http://search.cpan.org/dist/Test-TrailingSpace/") - (synopsis - "Test for trailing space in Perl source files") - (description "Test::TrailingSpace tests for trailing spaces -in Perl source files.") - (license x11))) - (define-public perl-libtime-parsedate (package (name "perl-libtime-parsedate") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 1bfe6a7762..d4a0da09a6 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -47,6 +47,7 @@ (define-module (gnu packages terminals) #:use-module (gnu packages linux) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index fef81c6931..67a1298bec 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -50,6 +50,7 @@ (define-module (gnu packages tex) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 4a5f6b068a..22c48f0c6b 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -70,6 +70,7 @@ (define-module (gnu packages version-control) #:use-module (gnu packages web) #:use-module (gnu packages openstack) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages readline) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 6a90868467..dc9849eafe 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -90,6 +90,7 @@ (define-module (gnu packages web) #:use-module (gnu packages openstack) #:use-module (gnu packages base) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages python) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) @@ -97,7 +98,6 @@ (define-module (gnu packages web) #:use-module (gnu packages valgrind) #:use-module (gnu packages xml) #:use-module (gnu packages curl) - #:use-module (gnu packages perl) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index c4bd67117d..4f75de344c 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -40,6 +40,7 @@ (define-module (gnu packages xml) #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages python) #:use-module (gnu packages tls) #:use-module (gnu packages web) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 7910a5d026..8435a463b4 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -64,6 +64,7 @@ (define-module (gnu packages xorg) #:use-module (gnu packages ncurses) #:use-module (gnu packages pciutils) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) -- cgit v1.2.3 From 169730718538acf2dce693ae08e4dbee8f40825a Mon Sep 17 00:00:00 2001 From: Kristofer Buffington Date: Tue, 14 Nov 2017 11:25:18 -0500 Subject: gnu: Add guile-wiredtiger. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/databases.scm (guile-wiredtiger): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/databases.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 38ca5708d7..6bc468679a 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2017 Pierre Langlois ;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2017 Kristofer Buffington ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,6 +57,7 @@ (define-module (gnu packages databases) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) + #:use-module (gnu packages guile) #:use-module (gnu packages time) #:use-module (gnu packages jemalloc) #:use-module (gnu packages language) @@ -82,6 +84,7 @@ (define-module (gnu packages databases) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (guix build-system python) @@ -1495,6 +1498,55 @@ (define-public wiredtiger ;; configure.ac: WiredTiger requires a 64-bit build. (supported-systems '("x86_64-linux" "mips64el-linux" "aarch64-linux")))) +(define-public guile-wiredtiger + (package + (name "guile-wiredtiger") + (version "20171113.6cbc51da") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://framagit.org/a-guile-mind/guile-wiredtiger.git") + (commit "6cbc51dab95d28fe31ae025fbdd88f3ecbf2111b"))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0x3qwpgch5pg0k21kc792h4y6b36a8xd1zkfq8ar2l2mqmpzkzyd")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:configure-flags + (list (string-append "--with-libwiredtiger-prefix=" + (assoc-ref %build-inputs "wiredtiger"))) + #:make-flags '("GUILE_AUTO_COMPILE=0") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'bootstrap + (lambda _ + (zero? (system* "sh" "bootstrap")))) + (add-before 'bootstrap 'remove-bundled-dependencies + (lambda _ + ;; TODO: Remove microkanren.scm when we have a separate package + ;; for it. + (delete-file "htmlprag.scm") + (substitute* "Makefile.am" + (("htmlprag\\.scm") "")) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (inputs + `(("wiredtiger" ,wiredtiger) + ("guile" ,guile-2.2))) + (propagated-inputs + `(("guile-lib" ,guile-lib))) ;for (htmlprag) + (synopsis "Wired Tiger bindings for GNU Guile") + (description + "This package provides Guile bindings to the WiredTiger ``NoSQL'' +database.") + (home-page "https://framagit.org/a-guile-mind/guile-wiredtiger") + (license license:gpl3+))) + (define-public perl-db-file (package (name "perl-db-file") -- cgit v1.2.3 From a8714bf6801cf5058fd02bcb1d352a99d12bc870 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 17 Nov 2017 22:34:32 +0100 Subject: gnu: Move database packages from python.scm to databases.scm. * gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite, python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils, python2-sqlalchemy-utils, python-alembic, python2-alembic, python-pickleshare, python2-pickleshare, python-apsw, python2-apsw, python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2, python-sadisplay, python2-sadisplay, python-mysqlclient, python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis, python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq, python-trollius-redis, python2-trollius-redis, python-sqlparse, python2-sqlparse, python-sql, python2-sql): Move from here... * gnu/packages/databases.scm: ...to here. * gnu/packages/tryton.scm, gnu/packages/python-web.scm, gnu/packages/nutrition.scm, gnu/packages/medical.scm: Adjust accordingly. --- gnu/packages/databases.scm | 564 +++++++++++++++++++++++++++++++++++++++++++- gnu/packages/medical.scm | 1 + gnu/packages/nutrition.scm | 1 + gnu/packages/python-web.scm | 1 + gnu/packages/python.scm | 546 ------------------------------------------ gnu/packages/tryton.scm | 1 + 6 files changed, 562 insertions(+), 552 deletions(-) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 6bc468679a..b825a24528 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1,27 +1,34 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès -;;; Copyright © 2012, 2014, 2015 Andreas Enge -;;; Copyright © 2013 Cyril Roelandt +;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge +;;; Copyright © 2013, 2017 Cyril Roelandt ;;; Copyright © 2014, 2016 David Thompson ;;; Copyright © 2014, 2015, 2016 Mark H Weaver -;;; Copyright © 2015 Eric Bavier +;;; Copyright © 2014, 2015 Eric Bavier ;;; Copyright © 2015, 2016 Sou Bunnbu ;;; Copyright © 2015 Leo Famulari -;;; Copyright © 2016, 2017 Efraim Flashner +;;; Copyright © 2015 Eric Dvorsak +;;; Copyright © 2016 Hartmut Goebel +;;; Copyright © 2016 Christopher Allan Webber +;;; Copyright © 2015, 2016, 2017 Efraim Flashner ;;; Copyright © 2016, 2017 ng0 ;;; Copyright © 2016, 2017 Roel Janssen ;;; Copyright © 2016 David Craven ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2016 Andy Patterson -;;; Copyright © 2017 Marius Bakke +;;; Copyright © 2016 Danny Milosavljevic +;;; Copyright © 2016, 2017 Marius Bakke +;;; Copyright © 2017 Julien Lepiller ;;; Copyright © 2017 Thomas Danckaert +;;; Copyright © 2017 Jelle Licht +;;; Copyright © 2017 Adriano Peluso ;;; Copyright © 2017 Arun Isaac ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2017 Alex Vong ;;; Copyright © 2017 Ben Woodcroft ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2017 Pierre Langlois -;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2015, 2017 Ricardo Wurmus ;;; Copyright © 2017 Kristofer Buffington ;;; ;;; This file is part of GNU Guix. @@ -1950,3 +1957,548 @@ (define-public r-rmysql is being phased out. A modern MySQL client based on Rcpp is available from the RMariaDB package.") (license license:gpl2))) + +(define-public python-ccm + (package + (name "python-ccm") + (version "2.1.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ccm" version)) + (sha256 + (base32 + "177dfxsmk3k4cih6fh6v8d91bh4nqx7ns6pc07w7m7i3cvdx3c8n")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyyaml" ,python-pyyaml) + ;; Not listed in setup.py, but used in ccmlib/node.py for full + ;; functionality + ("python-psutil" ,python-psutil) + ("python-six" ,python-six))) + (home-page "https://github.com/pcmanus/ccm") + (synopsis "Cassandra Cluster Manager for Apache Cassandra clusters on +localhost") + (description "Cassandra Cluster Manager is a development tool for testing +local Cassandra clusters. It creates, launches and removes Cassandra clusters +on localhost.") + (license license:asl2.0))) + +(define-public python2-ccm + (package-with-python2 python-ccm)) + +(define-public python2-pysqlite + (package + (name "python2-pysqlite") + (version "2.8.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pysqlite" version)) + (sha256 + (base32 + "1424gwq9sil2ffmnizk60q36vydkv8rxs6m7xs987kz8cdc37lqp")))) + (build-system python-build-system) + (inputs + `(("sqlite" ,sqlite))) + (arguments + `(#:python ,python-2 ; incompatible with Python 3 + #:tests? #f)) ; no test target + (home-page "https://github.com/ghaering/pysqlite") + (synopsis "SQLite bindings for Python") + (description + "Pysqlite provides SQLite bindings for Python that comply to the +Database API 2.0T.") + (license license:zlib))) + +(define-public python-sqlalchemy + (package + (name "python-sqlalchemy") + (version "1.0.12") + (source + (origin + (method url-fetch) + (uri (string-append "https://pypi.python.org/packages/source/S/" + "SQLAlchemy/SQLAlchemy-" version ".tar.gz")) + (sha256 + (base32 + "1l8qclhd0s90w3pvwhi5mjxdwr5j7gw7cjka2fx6f2vqmq7f4yb6")))) + (build-system python-build-system) + (native-inputs + `(("python-cython" ,python-cython) ;for c extensions + ("python-pytest" ,python-pytest) + ("python-mock" ,python-mock))) ;for tests + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ (zero? (system* "py.test"))))))) + (home-page "http://www.sqlalchemy.org") + (synopsis "Database abstraction library") + (description + "SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that +gives application developers the full power and flexibility of SQL. It +provides a full suite of well known enterprise-level persistence patterns, +designed for efficient and high-performing database access, adapted into a +simple and Pythonic domain language.") + (license license:x11))) + +(define-public python2-sqlalchemy + (package-with-python2 python-sqlalchemy)) + +(define-public python-sqlalchemy-utils + (package + (name "python-sqlalchemy-utils") + (version "0.32.13") + (source + (origin + (method url-fetch) + (uri (pypi-uri "SQLAlchemy-Utils" version)) + (sha256 + (base32 + "0vsib7gidjamzsz6w4s5pdhxzxsrkghjnm4sqwk94igjrl3i5ixj")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; FIXME: Many tests require a running database server. + ;; #:phases + ;; (modify-phases %standard-phases + ;; (replace 'check + ;; (lambda _ + ;; (zero? (system* "py.test" "sqlalchemy_utils" "tests"))))) + (propagated-inputs + `(("python-six" ,python-six) + ("python-sqlalchemy" ,python-sqlalchemy))) + (native-inputs + `(("python-dateutil" ,python-dateutil) + ("python-flexmock" ,python-flexmock) + ("python-psycopg2" ,python-psycopg2) + ("python-pytest" ,python-pytest) + ("python-pytz" ,python-pytz))) + (home-page "https://github.com/kvesteri/sqlalchemy-utils") + (synopsis "Various utility functions for SQLAlchemy") + (description + "SQLAlchemy-utils provides various utility functions and custom data types +for SQLAlchemy. SQLAlchemy is an SQL database abstraction library for Python. + +You might also want to install the following optional dependencies: +@enumerate +@item @code{python-passlib} +@item @code{python-babel} +@item @code{python-cryptography} +@item @code{python-pytz} +@item @code{python-psycopg2} +@item @code{python-furl} +@item @code{python-flask-babel} +@end enumerate +") + (license license:bsd-3))) + +(define-public python2-sqlalchemy-utils + (package-with-python2 python-sqlalchemy-utils)) + +(define-public python-alembic + (package + (name "python-alembic") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "alembic" version)) + (sha256 + (base32 + "01gx2syqbaxh4hr9pf7pxhlb6p36qaf99140dy19lsx1paxb9p4b")))) + (build-system python-build-system) + (native-inputs + `(("python-mock" ,python-mock) + ("python-pytest-cov" ,python-pytest-cov))) + (propagated-inputs + `(("python-dateutil" ,python-dateutil) + ("python-sqlalchemy" ,python-sqlalchemy) + ("python-mako" ,python-mako) + ("python-editor" ,python-editor))) + (home-page "http://bitbucket.org/zzzeek/alembic") + (synopsis + "Database migration tool for SQLAlchemy") + (description + "Alembic is a lightweight database migration tool for usage with the +SQLAlchemy Database Toolkit for Python.") + (license license:expat))) + +(define-public python2-alembic + (package-with-python2 python-alembic)) + +(define-public python-pickleshare + (package + (name "python-pickleshare") + (version "0.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://pypi.python.org/packages/source/p/" + "pickleshare/pickleshare-" version ".tar.gz")) + (sha256 + (base32 "11ljr90j3p6qswdrbl7p4cjb2i93f6vn0vx9anzpshsx0d2mggn0")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pathpy" ,python-pathpy))) + (home-page "https://github.com/vivainio/pickleshare") + (synopsis "Tiny key value database with concurrency support") + (description + "PickleShare is a small ‘shelve’-like datastore with concurrency support. +Like shelve, a PickleShareDB object acts like a normal dictionary. Unlike +shelve, many processes can access the database simultaneously. Changing a +value in database is immediately visible to other processes accessing the same +database. Concurrency is possible because the values are stored in separate +files. Hence the “database” is a directory where all files are governed by +PickleShare.") + (license license:expat))) + +(define-public python2-pickleshare + (package-with-python2 python-pickleshare)) + +(define-public python-apsw + (package + (name "python-apsw") + (version "3.9.2-r1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "apsw" version)) + (sha256 + (base32 + "0w4jb0wpx785qw42r3h4fh7gl5w2968q48i7gygybsfxck8nzffs")))) + (build-system python-build-system) + (inputs + `(("sqlite" ,sqlite))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'build + (lambda _ + (zero? + (system* "python" "setup.py" "build" "--enable-all-extensions")))) + (add-after 'build 'build-test-helper + (lambda _ + (zero? + (system + (string-append "gcc -fPIC -shared -o ./testextension.sqlext " + "-I. -Isqlite3 src/testextension.c") )))) + (delete 'check) + (add-after 'install 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (zero? (system* "python" "setup.py" "test"))))))) + (home-page "https://github.com/rogerbinns/apsw/") + (synopsis "Another Python SQLite Wrapper") + (description "APSW is a Python wrapper for the SQLite +embedded relational database engine. In contrast to other wrappers such as +pysqlite it focuses on being a minimal layer over SQLite attempting just to +translate the complete SQLite API into Python.") + (license license:zlib))) + +(define-public python2-apsw + (package-with-python2 python-apsw)) + +(define-public python2-neo4j-driver + (package + (name "python2-neo4j-driver") + ;; NOTE: When upgrading to 1.5.0, please add a python3 variant. + (version "1.4.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "neo4j-driver" version)) + (sha256 + (base32 + "011r1vh182p8mm83d8dz9rfnc3l7rf7fd00cyrbyfzi71jmc4g98")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (home-page "https://neo4j.com/developer/python/") + (synopsis "Neo4j driver code written in Python") + (description "This package provides the Neo4j Python driver that connects +to the database using Neo4j's binary protocol. It aims to be minimal, while +being idiomatic to Python.") + (license license:asl2.0))) + +(define-public python2-py2neo + (package + (name "python2-py2neo") + (version "3.1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "py2neo" version)) + (sha256 + (base32 + "1f1q95vqcvlc3nsc33p841swnjdcjazddlq2dzi3qfnjqjrajxw1")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (home-page "http://py2neo.org") + (synopsis "Library and toolkit for working with Neo4j in Python") + (description "This package provides a client library and toolkit for +working with Neo4j from within Python applications and from the command +line. The core library has no external dependencies and has been carefully +designed to be easy and intuitive to use.") + (license license:asl2.0))) + +(define-public python-psycopg2 + (package + (name "python-psycopg2") + (version "2.7.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "psycopg2" version)) + (sha256 + (base32 + "0rda1j02ds6s28752fhmpwg761sh6jsxi1gpczqkrd28cki1cywv")))) + (build-system python-build-system) + (arguments + ;; Tests would require a postgresql database "psycopg2_test" + ;; and a running postgresql database management service. + `(#:tests? #f)) ; TODO re-enable after providing a test-db. + (inputs + `(("postgresql" ,postgresql))) ; libpq + (home-page "http://initd.org/psycopg/") + (synopsis "Python PostgreSQL adapter") + (description + "psycopg2 is a thread-safe PostgreSQL adapter that implements DB-API 2.0. ") + (license license:lgpl3+))) + +(define-public python2-psycopg2 + (package-with-python2 python-psycopg2)) + +(define-public python-sadisplay + (package + (name "python-sadisplay") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sadisplay" version)) + (sha256 + (base32 + "0zqad2fl7q26p090qmqgmxbm6iwgf9zij1w8da1g3wdgjj72ql05")))) + (build-system python-build-system) + (propagated-inputs + `(("python-sqlalchemy" ,python-sqlalchemy))) + (native-inputs + `(("python-nose" ,python-nose))) + (home-page "https://bitbucket.org/estin/sadisplay") + (synopsis "SQLAlchemy schema displayer") + (description "This package provides a program to build Entity +Relationship diagrams from a SQLAlchemy model (or directly from the +database).") + (license license:bsd-3))) + +(define-public python2-sadisplay + (package-with-python2 python-sadisplay)) + +(define-public python-mysqlclient + (package + (name "python-mysqlclient") + (version "1.3.10") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mysqlclient" version)) + (sha256 + (base32 + "0qkj570x4rbsblji6frvsvp2v1ap32dqzj1lq62zp9515ffsyaj5")))) + (build-system python-build-system) + (native-inputs + `(("mariadb" ,mariadb) + ("nose" ,python-nose) + ("mock" ,python-mock) + ("py.test" ,python-pytest))) + (inputs + `(("mysql" ,mysql) + ("libz" ,zlib) + ("openssl" ,openssl))) + (home-page "https://github.com/PyMySQL/mysqlclient-python") + (synopsis "MySQLdb is an interface to the popular MySQL database server for Python") + (description "MySQLdb is an interface to the popular MySQL database server +for Python. The design goals are: +@enumerate +@item Compliance with Python database API version 2.0 [PEP-0249], +@item Thread-safety, +@item Thread-friendliness (threads will not block each other). +@end enumerate") + (license license:gpl2))) + +(define-public python2-mysqlclient + (package-with-python2 python-mysqlclient)) + +(define-public python-hiredis + (package + (name "python-hiredis") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hiredis" version)) + (sha256 + (base32 + "1dfm2k9l9zar9nw9fwmm74zrgraxdxs04vx9li56fjcf289qx5fa")))) + (build-system python-build-system) + (arguments + ;; no tests + `(#:tests? #f)) + (home-page "https://github.com/redis/hiredis-py") + (synopsis "Python extension that wraps protocol parsing code in hiredis") + (description "Python-hiredis is a python extension that wraps protocol +parsing code in hiredis. It primarily speeds up parsing of multi bulk replies.") + (license license:bsd-3))) + +(define-public python2-hiredis + (package-with-python2 python-hiredis)) + +(define-public python-fakeredis + (package + (name "python-fakeredis") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fakeredis" version)) + (sha256 + (base32 + "0zncahj3byyasyfx9i7k991ph0n0lq8v3a21pqri5qxn9564bk9r")))) + (build-system python-build-system) + (arguments + ;; no tests + `(#:tests? #f)) + (home-page "https://github.com/jamesls/fakeredis") + (synopsis "Fake implementation of redis API for testing purposes") + (description "Fakeredis is a pure python implementation of the redis-py +python client that simulates talking to a redis server. This was created for a +single purpose: to write unittests. Setting up redis is not hard, but many time + you want to write unittests that do not talk to an external server (such as +redis). This module now allows tests to simply use this module as a reasonable +substitute for redis.") + (license license:bsd-3))) + +(define-public python2-fakeredis + (package-with-python2 python-fakeredis)) + +(define-public python-redis + (package + (name "python-redis") + (version "2.10.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "redis" version)) + (sha256 + (base32 "0csmrkxb29x7xs9b51zplwkkq2hwnbh9jns1g85dykn5rxmaxysx")))) + (build-system python-build-system) + ;; Tests require a running Redis server + (arguments '(#:tests? #f)) + ;; As long as we are not running test, we do not need this input :-) + ;;(native-inputs + ;; `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/andymccurdy/redis-py") + (synopsis "Redis Python client") + (description + "This package provides a Python interface to the Redis key-value store.") + (license license:expat))) + +(define-public python2-redis + (package-with-python2 python-redis)) + +(define-public python-rq + (package + (name "python-rq") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rq" version)) + (sha256 + (base32 "0gaq5pnh0zy46r8jvygi0ifbvz3pq6i7xla78ijcgjw0x77qzsdh")))) + (build-system python-build-system) + (propagated-inputs + `(("python-click" ,python-click) + ("python-redis" ,python-redis))) + (home-page "http://python-rq.org/") + (synopsis "Simple job queues for Python") + (description + "RQ (Redis Queue) is a simple Python library for queueing jobs and +processing them in the background with workers. It is backed by Redis and it +is designed to have a low barrier to entry.") + (license license:bsd-2))) + +(define-public python2-rq + (package-with-python2 python-rq)) + +(define-public python-trollius-redis + (package + (name "python-trollius-redis") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trollius_redis" version)) + (sha256 + (base32 + "0k3vypszmgmaipgw9xscvgm79h2zd6p6ci8gdp5sxl6g5kbqr9fy")))) + (build-system python-build-system) + ;; TODO: Tests require packaging 'hiredis'. + (arguments '(#:tests? #f)) + (home-page "https://github.com/benjolitz/trollius-redis") + (synopsis "Port of asyncio-redis to trollius") + (description "@code{trollius-redis} is a Redis client for Python + trollius. It is an asynchronious IO (PEP 3156) implementation of the + Redis protocol.") + (license license:bsd-2))) + +(define-public python2-trollius-redis + (package-with-python2 python-trollius-redis)) + +(define-public python-sqlparse + (package + (name "python-sqlparse") + (version "0.2.4") + (source (origin + (method url-fetch) + (uri (pypi-uri "sqlparse" version)) + (sha256 + (base32 + "1v3xh0bkfhb262dbndgzhivpnhdwavdzz8jjhx9vx0xbrx2880nf")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ (zero? (system* "py.test"))))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/andialbrecht/sqlparse") + (synopsis "Non-validating SQL parser") + (description "Sqlparse is a non-validating SQL parser for Python. It +provides support for parsing, splitting and formatting SQL statements.") + (license license:bsd-3))) + +(define-public python2-sqlparse + (package-with-python2 python-sqlparse)) + +(define-public python-sql + (package + (name "python-sql") + (version "0.9") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-sql" version)) + (sha256 + (base32 + "0p6kaqj02vz0habmdx37zjk6hjxdfm8aw737zs059vvpr70ird87")))) + (build-system python-build-system) + (home-page "https://python-sql.tryton.org/") + (synopsis "Library to write SQL queries in a pythonic way") + (description "@code{python-sql} is a library to write SQL queries, that +transforms idiomatic python function calls to well-formed SQL queries.") + (license license:bsd-3))) + +(define-public python2-sql + (package-with-python2 python-sql)) diff --git a/gnu/packages/medical.scm b/gnu/packages/medical.scm index c0d9d597b7..3f96134a3c 100644 --- a/gnu/packages/medical.scm +++ b/gnu/packages/medical.scm @@ -22,6 +22,7 @@ (define-module (gnu packages medical) #:use-module (guix download) #:use-module (guix licenses) #:use-module (guix packages) + #:use-module (gnu packages databases) #:use-module (gnu packages python) #:use-module (gnu packages qt)) diff --git a/gnu/packages/nutrition.scm b/gnu/packages/nutrition.scm index 9e0430b20a..90019f848c 100644 --- a/gnu/packages/nutrition.scm +++ b/gnu/packages/nutrition.scm @@ -23,6 +23,7 @@ (define-module (gnu packages nutrition) #:use-module (guix download) #:use-module (guix build-system python) #:use-module (gnu packages) + #:use-module (gnu packages databases) #:use-module (gnu packages gtk) #:use-module (gnu packages glib) #:use-module (gnu packages image) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8b7bd0b8be..57938d0cfd 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -45,6 +45,7 @@ (define-module (gnu packages python-web) #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages databases) #:use-module (gnu packages django) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0fa78ff568..7242f1791b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -469,35 +469,6 @@ (define-public python-psutil (define-public python2-psutil (package-with-python2 python-psutil)) -(define-public python-ccm - (package - (name "python-ccm") - (version "2.1.6") - (source - (origin - (method url-fetch) - (uri (pypi-uri "ccm" version)) - (sha256 - (base32 - "177dfxsmk3k4cih6fh6v8d91bh4nqx7ns6pc07w7m7i3cvdx3c8n")))) - (build-system python-build-system) - (propagated-inputs - `(("python-pyyaml" ,python-pyyaml) - ;; Not listed in setup.py, but used in ccmlib/node.py for full - ;; functionality - ("python-psutil" ,python-psutil) - ("python-six" ,python-six))) - (home-page "https://github.com/pcmanus/ccm") - (synopsis "Cassandra Cluster Manager for Apache Cassandra clusters on -localhost") - (description "Cassandra Cluster Manager is a development tool for testing -local Cassandra clusters. It creates, launches and removes Cassandra clusters -on localhost.") - (license license:asl2.0))) - -(define-public python2-ccm - (package-with-python2 python-ccm)) - (define-public python-pytz (package (name "python-pytz") @@ -1170,31 +1141,6 @@ (define-public python-tzlocal under several distributions that's hard or impossible to figure out.") (license license:cc0))) -(define-public python2-pysqlite - (package - (name "python2-pysqlite") - (version "2.8.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pysqlite" version)) - (sha256 - (base32 - "1424gwq9sil2ffmnizk60q36vydkv8rxs6m7xs987kz8cdc37lqp")))) - (build-system python-build-system) - (inputs - `(("sqlite" ,sqlite))) - (arguments - `(#:python ,python-2 ; incompatible with Python 3 - #:tests? #f)) ; no test target - (home-page "https://github.com/ghaering/pysqlite") - (synopsis "SQLite bindings for Python") - (description - "Pysqlite provides SQLite bindings for Python that comply to the -Database API 2.0T.") - (license license:zlib))) - - (define-public python2-mechanize (package (name "python2-mechanize") @@ -2675,56 +2621,6 @@ (define-public python-scikit-image (define-public python2-scikit-image (package-with-python2 python-scikit-image)) -(define-public python-redis - (package - (name "python-redis") - (version "2.10.5") - (source - (origin - (method url-fetch) - (uri (pypi-uri "redis" version)) - (sha256 - (base32 "0csmrkxb29x7xs9b51zplwkkq2hwnbh9jns1g85dykn5rxmaxysx")))) - (build-system python-build-system) - ;; Tests require a running Redis server - (arguments '(#:tests? #f)) - ;; As long as we are not running test, we do not need this input :-) - ;;(native-inputs - ;; `(("python-pytest" ,python-pytest))) - (home-page "https://github.com/andymccurdy/redis-py") - (synopsis "Redis Python client") - (description - "This package provides a Python interface to the Redis key-value store.") - (license license:expat))) - -(define-public python2-redis - (package-with-python2 python-redis)) - -(define-public python-rq - (package - (name "python-rq") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "rq" version)) - (sha256 - (base32 "0gaq5pnh0zy46r8jvygi0ifbvz3pq6i7xla78ijcgjw0x77qzsdh")))) - (build-system python-build-system) - (propagated-inputs - `(("python-click" ,python-click) - ("python-redis" ,python-redis))) - (home-page "http://python-rq.org/") - (synopsis "Simple job queues for Python") - (description - "RQ (Redis Queue) is a simple Python library for queueing jobs and -processing them in the background with workers. It is backed by Redis and it -is designed to have a low barrier to entry.") - (license license:bsd-2))) - -(define-public python2-rq - (package-with-python2 python-rq)) - (define-public python-cython (package (name "python-cython") @@ -3713,41 +3609,6 @@ (define-public python-socksipy-branch (define-public python2-socksipy-branch (package-with-python2 python-socksipy-branch)) -(define-public python-sqlalchemy - (package - (name "python-sqlalchemy") - (version "1.0.12") - (source - (origin - (method url-fetch) - (uri (string-append "https://pypi.python.org/packages/source/S/" - "SQLAlchemy/SQLAlchemy-" version ".tar.gz")) - (sha256 - (base32 - "1l8qclhd0s90w3pvwhi5mjxdwr5j7gw7cjka2fx6f2vqmq7f4yb6")))) - (build-system python-build-system) - (native-inputs - `(("python-cython" ,python-cython) ;for c extensions - ("python-pytest" ,python-pytest) - ("python-mock" ,python-mock))) ;for tests - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ (zero? (system* "py.test"))))))) - (home-page "http://www.sqlalchemy.org") - (synopsis "Database abstraction library") - (description - "SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that -gives application developers the full power and flexibility of SQL. It -provides a full suite of well known enterprise-level persistence patterns, -designed for efficient and high-performing database access, adapted into a -simple and Pythonic domain language.") - (license license:x11))) - -(define-public python2-sqlalchemy - (package-with-python2 python-sqlalchemy)) - (define-public python-pycodestyle (package (name "python-pycodestyle") @@ -3835,87 +3696,6 @@ (define-public python-flaky (define-public python2-flaky (package-with-python2 python-flaky)) -(define-public python-sqlalchemy-utils - (package - (name "python-sqlalchemy-utils") - (version "0.32.13") - (source - (origin - (method url-fetch) - (uri (pypi-uri "SQLAlchemy-Utils" version)) - (sha256 - (base32 - "0vsib7gidjamzsz6w4s5pdhxzxsrkghjnm4sqwk94igjrl3i5ixj")))) - (build-system python-build-system) - (arguments - '(#:tests? #f)) ; FIXME: Many tests require a running database server. - ;; #:phases - ;; (modify-phases %standard-phases - ;; (replace 'check - ;; (lambda _ - ;; (zero? (system* "py.test" "sqlalchemy_utils" "tests"))))) - (propagated-inputs - `(("python-six" ,python-six) - ("python-sqlalchemy" ,python-sqlalchemy))) - (native-inputs - `(("python-dateutil" ,python-dateutil) - ("python-flexmock" ,python-flexmock) - ("python-psycopg2" ,python-psycopg2) - ("python-pytest" ,python-pytest) - ("python-pytz" ,python-pytz))) - (home-page "https://github.com/kvesteri/sqlalchemy-utils") - (synopsis "Various utility functions for SQLAlchemy") - (description - "SQLAlchemy-utils provides various utility functions and custom data types -for SQLAlchemy. SQLAlchemy is an SQL database abstraction library for Python. - -You might also want to install the following optional dependencies: -@enumerate -@item @code{python-passlib} -@item @code{python-babel} -@item @code{python-cryptography} -@item @code{python-pytz} -@item @code{python-psycopg2} -@item @code{python-furl} -@item @code{python-flask-babel} -@end enumerate -") - (license license:bsd-3))) - -(define-public python2-sqlalchemy-utils - (package-with-python2 python-sqlalchemy-utils)) - -(define-public python-alembic - (package - (name "python-alembic") - (version "0.9.5") - (source - (origin - (method url-fetch) - (uri (pypi-uri "alembic" version)) - (sha256 - (base32 - "01gx2syqbaxh4hr9pf7pxhlb6p36qaf99140dy19lsx1paxb9p4b")))) - (build-system python-build-system) - (native-inputs - `(("python-mock" ,python-mock) - ("python-pytest-cov" ,python-pytest-cov))) - (propagated-inputs - `(("python-dateutil" ,python-dateutil) - ("python-sqlalchemy" ,python-sqlalchemy) - ("python-mako" ,python-mako) - ("python-editor" ,python-editor))) - (home-page "http://bitbucket.org/zzzeek/alembic") - (synopsis - "Database migration tool for SQLAlchemy") - (description - "Alembic is a lightweight database migration tool for usage with the -SQLAlchemy Database Toolkit for Python.") - (license license:expat))) - -(define-public python2-alembic - (package-with-python2 python-alembic)) - (define-public python-autopep8 (package (name "python-autopep8") @@ -4475,35 +4255,6 @@ (define-public python-pathpy (define-public python2-pathpy (package-with-python2 python-pathpy)) -(define-public python-pickleshare - (package - (name "python-pickleshare") - (version "0.5") - (source - (origin - (method url-fetch) - (uri (string-append "https://pypi.python.org/packages/source/p/" - "pickleshare/pickleshare-" version ".tar.gz")) - (sha256 - (base32 "11ljr90j3p6qswdrbl7p4cjb2i93f6vn0vx9anzpshsx0d2mggn0")))) - (build-system python-build-system) - (propagated-inputs - `(("python-pathpy" ,python-pathpy))) - (home-page "https://github.com/vivainio/pickleshare") - (synopsis "Tiny key value database with concurrency support") - (description - "PickleShare is a small ‘shelve’-like datastore with concurrency support. -Like shelve, a PickleShareDB object acts like a normal dictionary. Unlike -shelve, many processes can access the database simultaneously. Changing a -value in database is immediately visible to other processes accessing the same -database. Concurrency is possible because the values are stored in separate -files. Hence the “database” is a directory where all files are governed by -PickleShare.") - (license license:expat))) - -(define-public python2-pickleshare - (package-with-python2 python-pickleshare)) - (define-public python-simplegeneric (package (name "python-simplegeneric") @@ -4988,49 +4739,6 @@ (define-public python2-dbus ;; "ValueError: unichr() arg not in range(0x10000) (narrow Python build)" (arguments `(#:tests? #f)))) -(define-public python-apsw - (package - (name "python-apsw") - (version "3.9.2-r1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "apsw" version)) - (sha256 - (base32 - "0w4jb0wpx785qw42r3h4fh7gl5w2968q48i7gygybsfxck8nzffs")))) - (build-system python-build-system) - (inputs - `(("sqlite" ,sqlite))) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'build - (lambda _ - (zero? - (system* "python" "setup.py" "build" "--enable-all-extensions")))) - (add-after 'build 'build-test-helper - (lambda _ - (zero? - (system - (string-append "gcc -fPIC -shared -o ./testextension.sqlext " - "-I. -Isqlite3 src/testextension.c") )))) - (delete 'check) - (add-after 'install 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (zero? (system* "python" "setup.py" "test"))))))) - (home-page "https://github.com/rogerbinns/apsw/") - (synopsis "Another Python SQLite Wrapper") - (description "APSW is a Python wrapper for the SQLite -embedded relational database engine. In contrast to other wrappers such as -pysqlite it focuses on being a minimal layer over SQLite attempting just to -translate the complete SQLite API into Python.") - (license license:zlib))) - -(define-public python2-apsw - (package-with-python2 python-apsw)) - (define-public python-lxml (package (name "python-lxml") @@ -6085,48 +5793,6 @@ (define-public python-netaddr (define-public python2-netaddr (package-with-python2 python-netaddr)) -(define-public python2-neo4j-driver - (package - (name "python2-neo4j-driver") - ;; NOTE: When upgrading to 1.5.0, please add a python3 variant. - (version "1.4.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "neo4j-driver" version)) - (sha256 - (base32 - "011r1vh182p8mm83d8dz9rfnc3l7rf7fd00cyrbyfzi71jmc4g98")))) - (build-system python-build-system) - (arguments - `(#:python ,python-2)) - (home-page "https://neo4j.com/developer/python/") - (synopsis "Neo4j driver code written in Python") - (description "This package provides the Neo4j Python driver that connects -to the database using Neo4j's binary protocol. It aims to be minimal, while -being idiomatic to Python.") - (license license:asl2.0))) - -(define-public python2-py2neo - (package - (name "python2-py2neo") - (version "3.1.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "py2neo" version)) - (sha256 - (base32 - "1f1q95vqcvlc3nsc33p841swnjdcjazddlq2dzi3qfnjqjrajxw1")))) - (build-system python-build-system) - (arguments - `(#:python ,python-2)) - (home-page "http://py2neo.org") - (synopsis "Library and toolkit for working with Neo4j in Python") - (description "This package provides a client library and toolkit for -working with Neo4j from within Python applications and from the command -line. The core library has no external dependencies and has been carefully -designed to be easy and intuitive to use.") - (license license:asl2.0))) - (define-public python-wrapt (package (name "python-wrapt") @@ -7378,30 +7044,6 @@ (define-public python-execnet (define-public python2-execnet (package-with-python2 python-execnet)) -(define-public python-trollius-redis - (package - (name "python-trollius-redis") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "trollius_redis" version)) - (sha256 - (base32 - "0k3vypszmgmaipgw9xscvgm79h2zd6p6ci8gdp5sxl6g5kbqr9fy")))) - (build-system python-build-system) - ;; TODO: Tests require packaging 'hiredis'. - (arguments '(#:tests? #f)) - (home-page "https://github.com/benjolitz/trollius-redis") - (synopsis "Port of asyncio-redis to trollius") - (description "@code{trollius-redis} is a Redis client for Python - trollius. It is an asynchronious IO (PEP 3156) implementation of the - Redis protocol.") - (license license:bsd-2))) - -(define-public python2-trollius-redis - (package-with-python2 python-trollius-redis)) - (define-public python-icalendar (package (name "python-icalendar") @@ -8273,33 +7915,6 @@ (define-public python-sphinx-repoze-autointerface (define-public python2-sphinx-repoze-autointerface (package-with-python2 python-sphinx-repoze-autointerface)) -(define-public python-psycopg2 - (package - (name "python-psycopg2") - (version "2.7.3.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "psycopg2" version)) - (sha256 - (base32 - "0rda1j02ds6s28752fhmpwg761sh6jsxi1gpczqkrd28cki1cywv")))) - (build-system python-build-system) - (arguments - ;; Tests would require a postgresql database "psycopg2_test" - ;; and a running postgresql database management service. - `(#:tests? #f)) ; TODO re-enable after providing a test-db. - (inputs - `(("postgresql" ,postgresql))) ; libpq - (home-page "http://initd.org/psycopg/") - (synopsis "Python PostgreSQL adapter") - (description - "psycopg2 is a thread-safe PostgreSQL adapter that implements DB-API 2.0. ") - (license license:lgpl3+))) - -(define-public python2-psycopg2 - (package-with-python2 python-psycopg2)) - (define-public python-vobject (package (name "python-vobject") @@ -8934,33 +8549,6 @@ (define-public python-tblib (define-public python2-tblib (package-with-python2 python-tblib)) -(define-public python-sqlparse - (package - (name "python-sqlparse") - (version "0.2.4") - (source (origin - (method url-fetch) - (uri (pypi-uri "sqlparse" version)) - (sha256 - (base32 - "1v3xh0bkfhb262dbndgzhivpnhdwavdzz8jjhx9vx0xbrx2880nf")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ (zero? (system* "py.test"))))))) - (native-inputs - `(("python-pytest" ,python-pytest))) - (home-page "https://github.com/andialbrecht/sqlparse") - (synopsis "Non-validating SQL parser") - (description "Sqlparse is a non-validating SQL parser for Python. It -provides support for parsing, splitting and formatting SQL statements.") - (license license:bsd-3))) - -(define-public python2-sqlparse - (package-with-python2 python-sqlparse)) - (define-public python-greenlet (package (name "python-greenlet") @@ -10537,32 +10125,6 @@ (define-public python-termstyle (description "This package provides console text coloring for Python.") (license license:bsd-3))) -(define-public python-sadisplay - (package - (name "python-sadisplay") - (version "0.4.6") - (source - (origin - (method url-fetch) - (uri (pypi-uri "sadisplay" version)) - (sha256 - (base32 - "0zqad2fl7q26p090qmqgmxbm6iwgf9zij1w8da1g3wdgjj72ql05")))) - (build-system python-build-system) - (propagated-inputs - `(("python-sqlalchemy" ,python-sqlalchemy))) - (native-inputs - `(("python-nose" ,python-nose))) - (home-page "https://bitbucket.org/estin/sadisplay") - (synopsis "SQLAlchemy schema displayer") - (description "This package provides a program to build Entity -Relationship diagrams from a SQLAlchemy model (or directly from the -database).") - (license license:bsd-3))) - -(define-public python2-sadisplay - (package-with-python2 python-sadisplay)) - (define-public python-argcomplete (package (name "python-argcomplete") @@ -11693,93 +11255,6 @@ (define-public python-translate-toolkit (define-public python2-translate-toolkit (package-with-python2 python-translate-toolkit)) -(define-public python-mysqlclient - (package - (name "python-mysqlclient") - (version "1.3.10") - (source - (origin - (method url-fetch) - (uri (pypi-uri "mysqlclient" version)) - (sha256 - (base32 - "0qkj570x4rbsblji6frvsvp2v1ap32dqzj1lq62zp9515ffsyaj5")))) - (build-system python-build-system) - (native-inputs - `(("mariadb" ,mariadb) - ("nose" ,python-nose) - ("mock" ,python-mock) - ("py.test" ,python-pytest))) - (inputs - `(("mysql" ,mysql) - ("libz" ,zlib) - ("openssl" ,openssl))) - (home-page "https://github.com/PyMySQL/mysqlclient-python") - (synopsis "MySQLdb is an interface to the popular MySQL database server for Python") - (description "MySQLdb is an interface to the popular MySQL database server -for Python. The design goals are: -@enumerate -@item Compliance with Python database API version 2.0 [PEP-0249], -@item Thread-safety, -@item Thread-friendliness (threads will not block each other). -@end enumerate") - (license license:gpl2))) - -(define-public python2-mysqlclient - (package-with-python2 python-mysqlclient)) - -(define-public python-hiredis - (package - (name "python-hiredis") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "hiredis" version)) - (sha256 - (base32 - "1dfm2k9l9zar9nw9fwmm74zrgraxdxs04vx9li56fjcf289qx5fa")))) - (build-system python-build-system) - (arguments - ;; no tests - `(#:tests? #f)) - (home-page "https://github.com/redis/hiredis-py") - (synopsis "Python extension that wraps protocol parsing code in hiredis") - (description "Python-hiredis is a python extension that wraps protocol -parsing code in hiredis. It primarily speeds up parsing of multi bulk replies.") - (license license:bsd-3))) - -(define-public python2-hiredis - (package-with-python2 python-hiredis)) - -(define-public python-fakeredis - (package - (name "python-fakeredis") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "fakeredis" version)) - (sha256 - (base32 - "0zncahj3byyasyfx9i7k991ph0n0lq8v3a21pqri5qxn9564bk9r")))) - (build-system python-build-system) - (arguments - ;; no tests - `(#:tests? #f)) - (home-page "https://github.com/jamesls/fakeredis") - (synopsis "Fake implementation of redis API for testing purposes") - (description "Fakeredis is a pure python implementation of the redis-py -python client that simulates talking to a redis server. This was created for a -single purpose: to write unittests. Setting up redis is not hard, but many time - you want to write unittests that do not talk to an external server (such as -redis). This module now allows tests to simply use this module as a reasonable -substitute for redis.") - (license license:bsd-3))) - -(define-public python2-fakeredis - (package-with-python2 python-fakeredis)) - (define-public python-packaging (package (name "python-packaging") @@ -11812,27 +11287,6 @@ (define-public python-packaging (define-public python2-packaging (package-with-python2 python-packaging)) -(define-public python-sql - (package - (name "python-sql") - (version "0.9") - (source - (origin - (method url-fetch) - (uri (pypi-uri "python-sql" version)) - (sha256 - (base32 - "0p6kaqj02vz0habmdx37zjk6hjxdfm8aw737zs059vvpr70ird87")))) - (build-system python-build-system) - (home-page "https://python-sql.tryton.org/") - (synopsis "Library to write SQL queries in a pythonic way") - (description "@code{python-sql} is a library to write SQL queries, that -transforms idiomatic python function calls to well-formed SQL queries.") - (license license:bsd-3))) - -(define-public python2-sql - (package-with-python2 python-sql)) - (define-public python-relatorio (package (name "python-relatorio") diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 33d01f058d..2e669510e6 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -20,6 +20,7 @@ (define-module (gnu packages tryton) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages check) + #:use-module (gnu packages databases) #:use-module (gnu packages gtk) #:use-module (gnu packages python) #:use-module (gnu packages python-web) -- cgit v1.2.3