* [bug#34980] [PATCH 02/17] gnu: Add perl-config-gitlike.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 03/17] gnu: Add perl-cpan-distnameinfo Christopher Baines
` (14 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl.scm (perl-config-gitlike): New variable.
---
gnu/packages/perl.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8c28c94ed9..187e419b6a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1435,6 +1435,33 @@ some enhancements such as here-documents, C-style comments, and multiline
options.")
(license (package-license perl))))
+(define-public perl-config-gitlike
+ (package
+ (name "perl-config-gitlike")
+ (version "1.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/A/AL/ALEXMV/Config-GitLike-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0kp57na9mk6yni693h2fwap6l1ndbcj97l4860r9vkzx2jw0fjk7"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-exception" ,perl-test-exception)))
+ (propagated-inputs
+ `(("perl-moo" ,perl-moo)
+ ("perl-moox-types-mooselike" ,perl-moox-types-mooselike)))
+ (home-page "https://metacpan.org/release/Config-GitLike")
+ (synopsis "Parse Git style configuration files")
+ (description
+ "This module handles parsing, modifying and creating configuration files
+of the style used by the Git version control system.")
+ (license perl-license)))
+
(define-public perl-config-ini
(package
(name "perl-config-ini")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 03/17] gnu: Add perl-cpan-distnameinfo.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 02/17] gnu: Add perl-config-gitlike Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 04/17] gnu: Add perl-tie-handle-offset Christopher Baines
` (13 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl.scm (perl-cpan-distnameinfo): New variable.
---
gnu/packages/perl.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 187e419b6a..8e9c4d1d3a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1557,6 +1557,28 @@ data.")
@file{Changes} files that conform to a common specification.")
(license perl-license)))
+(define-public perl-cpan-distnameinfo
+ (package
+ (name "perl-cpan-distnameinfo")
+ (version "0.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/G/GB/GBARR/CPAN-DistnameInfo-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0d94kx596w7k328cvq4y96z1gz12hdhn3z1mklkbrb7fyzlzn91g"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/CPAN-DistnameInfo")
+ (synopsis "Extract the name and version from a distribution filename")
+ (description
+ "@code{CPAN::DistnameInfo} uses heuristics to extract the distribution
+name and version from filenames.")
+ (license perl-license)))
+
(define-public perl-cpan-meta-check
(package
(name "perl-cpan-meta-check")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 04/17] gnu: Add perl-tie-handle-offset.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 02/17] gnu: Add perl-config-gitlike Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 03/17] gnu: Add perl-cpan-distnameinfo Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 05/17] gnu: Add perl-io-pager Christopher Baines
` (12 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl.scm (perl-tie-handle-offset): New variable.
---
gnu/packages/perl.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8e9c4d1d3a..ddb7576e7d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8587,6 +8587,28 @@ can also be set to any arbitrary supplied order. The familiar perl array
operations can also be performed on the IxHash.")
(license (package-license perl))))
+(define-public perl-tie-handle-offset
+ (package
+ (name "perl-tie-handle-offset")
+ (version "0.004")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DA/DAGOLDEN/Tie-Handle-Offset-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "17m8s8314wi4g0wasdxk15rf12vzsgzmcbr598jam5f6bl2kk7zf"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/Tie-Handle-Offset")
+ (synopsis "Special file handle that hides the beginning of a file")
+ (description
+ "This modules provides a file handle that hides the beginning of a file,
+by modifying the @code{seek()} and @code{tell()} calls.")
+ (license asl2.0)))
+
(define-public perl-tie-toobject
(package
(name "perl-tie-toobject")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 05/17] gnu: Add perl-io-pager.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (2 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 04/17] gnu: Add perl-tie-handle-offset Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 06/17] gnu: Add perl-string-formatter Christopher Baines
` (11 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl.scm (perl-io-pager): New variable.
---
gnu/packages/perl.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index ddb7576e7d..094ef7269c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -49,6 +49,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages less)
#:use-module (gnu packages perl-check)
#:use-module (gnu packages perl-compression)
#:use-module (gnu packages perl-web)
@@ -4261,6 +4262,41 @@ easier to develop interactive applications: is_interactive(), interactive(),
and busy().")
(license (package-license perl))))
+(define-public perl-io-pager
+ (package
+ (name "perl-io-pager")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/J/JP/JPIERCE/IO-Pager-"
+ version
+ "0.tgz"))
+ (sha256
+ (base32
+ "1vzdypsr7vkj8nnda9ccrksci6pqj5awwmi89l7x3mbpq36gad87"))))
+ (build-system perl-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-less
+ (lambda _
+ (substitute* "lib/IO/Pager.pm"
+ (("/usr/local/bin/less', '/usr/bin/less")
+ (which "less")))
+ #t)))))
+ (propagated-inputs
+ `(("perl-file-which" ,perl-file-which)))
+ (inputs
+ `(("less" ,less)))
+ (home-page "https://metacpan.org/release/IO-Pager")
+ (synopsis "Select a pager and pipe text to it")
+ (description
+ "@code{IO::Pager} can be used to locate an available pager and use it to
+display output if a TTY is in use.")
+ (license (package-license perl))))
+
(define-public perl-io-string
(package
(name "perl-io-string")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 06/17] gnu: Add perl-string-formatter.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (3 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 05/17] gnu: Add perl-io-pager Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 07/17] gnu: Add perl-template-tiny Christopher Baines
` (10 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl.scm (perl-string-formatter): New variable.
---
gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 094ef7269c..2856b4634d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7624,6 +7624,32 @@ expanding standard C/Unix-style backslash escapes like \n and \t, wrapping and
removing double-quotes, and truncating to fit within a desired length.")
(license (package-license perl))))
+(define-public perl-string-formatter
+ (package
+ (name "perl-string-formatter")
+ (version "0.102084")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/R/RJ/RJBS/String-Formatter-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0mlwm0rirv46gj4h072q8gdync5zxxsxy8p028gdyrhczl942dc3"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-params-util" ,perl-params-util)
+ ("perl-sub-exporter" ,perl-sub-exporter)))
+ (home-page "https://metacpan.org/release/String-Formatter")
+ (synopsis "Build your own sprintf-like functions")
+ (description
+ "@code{String::Formatter} is a tool for building sprintf-like formatting
+routines. It supports named or positional formatting, custom conversions,
+fixed string interpolation, and simple width-matching.")
+ (license gpl2)))
+
(define-public perl-string-rewriteprefix
(package
(name "perl-string-rewriteprefix")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 07/17] gnu: Add perl-template-tiny.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (4 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 06/17] gnu: Add perl-string-formatter Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 08/17] gnu: Add perl-uri-nested Christopher Baines
` (9 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl.scm (perl-template-tiny): New variable.
---
gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 2856b4634d..78bbf73420 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8082,6 +8082,32 @@ documents: HTML, XML, POD, PostScript, LaTeX, and so on.")
processing in Perl code.")
(license (list gpl3 artistic2.0))))
+(define-public perl-template-tiny
+ (package
+ (name "perl-template-tiny")
+ (version "1.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/A/AD/ADAMK/Template-Tiny-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0jhadxbc8rzbk2v8qvjrbhnvfp0m56iqar6d4nvxyl8bccn0cgh7"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/Template-Tiny")
+ (synopsis "Template Toolkit reimplemented in as little code as possible")
+ (description
+ "@code{Template::Tiny} is a reimplementation of a subset of the
+functionality from Template Toolkit in as few lines of code as possible.
+
+It is intended for use in light-usage, low-memory, or low-cpu templating
+situations, where you may need to upgrade to the full feature set in the
+future, or if you want the retain the familiarity of TT-style templates.")
+ (license perl-license)))
+
(define-public perl-term-encoding
(package
(name "perl-term-encoding")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 08/17] gnu: Add perl-uri-nested.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (5 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 07/17] gnu: Add perl-template-tiny Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 09/17] gnu: Add perl-uri-db Christopher Baines
` (8 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl-web.scm (perl-uri-nested): New variable.
---
gnu/packages/perl-web.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm
index c1af1d2caf..785a47c82c 100644
--- a/gnu/packages/perl-web.scm
+++ b/gnu/packages/perl-web.scm
@@ -21,9 +21,11 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (guix packages)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (guix download)
- #:use-module (guix build-system perl))
+ #:use-module (guix build-system perl)
+ #:use-module (gnu packages web))
(define-public perl-mojolicious
(package
@@ -70,3 +72,29 @@ percent-decode URI strings as defined by RFC 3986. Percent-encoding URI's is
informally called URI escaping. This is the terminology used by this module,
which predates the formalization of the terms by the RFC by several years.")
(license license:perl-license)))
+
+(define-public perl-uri-nested
+ (package
+ (name "perl-uri-nested")
+ (version "0.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DW/DWHEELER/URI-Nested-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1bzg6f11m8wfnmycflvp858rs99xknsx8hkip0xcdfjzlqwi75z1"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)))
+ (propagated-inputs
+ `(("perl-uri" ,perl-uri)))
+ (home-page "https://metacpan.org/release/URI-Nested")
+ (synopsis "Nested URIs")
+ (description
+ "@code{URI::Nested} provides support for nested URIs, where the scheme is
+a prefix, and the remainder of the URI is another URI.")
+ (license license:perl-license)))
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 09/17] gnu: Add perl-uri-db.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (6 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 08/17] gnu: Add perl-uri-nested Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 10/17] gnu: Add perl-test-checkdeps Christopher Baines
` (7 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl-web.scm (perl-uri-db): New variable.
---
gnu/packages/perl-web.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm
index 785a47c82c..db3ccdf6ec 100644
--- a/gnu/packages/perl-web.scm
+++ b/gnu/packages/perl-web.scm
@@ -50,6 +50,33 @@ used are outdated now, the idea behind it is not. Mojolicious is a new
endeavor to implement this idea using modern technologies.")
(license license:artistic2.0)))
+(define-public perl-uri-db
+ (package
+ (name "perl-uri-db")
+ (version "0.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DW/DWHEELER/URI-db-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0n56xxlw7c39pfar0dxckr9mbmp6yrzk53ic0cb24raiykm9v6f4"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)))
+ (propagated-inputs
+ `(("perl-uri" ,perl-uri)
+ ("perl-uri-nested" ,perl-uri-nested)))
+ (home-page "https://metacpan.org/release/URI-db")
+ (synopsis "Handle database URIs")
+ (description
+ "This module defines a format for database URIs, and provides a @{URI}
+class to handle these.")
+ (license license:perl-license)))
+
(define-public perl-uri-escape
(package
(name "perl-uri-escape")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 10/17] gnu: Add perl-test-checkdeps.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (7 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 09/17] gnu: Add perl-uri-db Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 11/17] gnu: Add perl-test-dir Christopher Baines
` (6 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl-check.scm (perl-test-checkdeps): New variable.
---
gnu/packages/perl-check.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index aae83e5771..116651ec05 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -142,6 +142,30 @@ 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-checkdeps
+ (package
+ (name "perl-test-checkdeps")
+ (version "0.010")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/L/LE/LEONT/Test-CheckDeps-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1vjinlixxdx6gfcw8y1dw2rla8bfhi8nmgcqr3nffc7kqskcrz36"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-cpan-meta-check" ,perl-cpan-meta-check)))
+ (home-page "https://metacpan.org/release/Test-CheckDeps")
+ (synopsis "Check for presence of dependencies")
+ (description
+ "This module provides a test that checks all dependencies have been
+installed properly.")
+ (license perl-license)))
+
(define-public perl-test-class
(package
(name "perl-test-class")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 11/17] gnu: Add perl-test-dir.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (8 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 10/17] gnu: Add perl-test-checkdeps Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 12/17] gnu: Add perl-test-file Christopher Baines
` (5 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl-check.scm (perl-test-dir): New variable.
---
gnu/packages/perl-check.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index 116651ec05..22e31ef40a 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -385,6 +385,30 @@ functions.")
;; license, any version, ..."
(license gpl3+)))
+(define-public perl-test-dir
+ (package
+ (name "perl-test-dir")
+ (version "1.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MT/MTHURN/"
+ "Test-Dir-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hpafgr93jjl6s8spskhdxhgich4cccmaiq99mla5diyj4iv6ckk"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-pod-coverage" ,perl-pod-coverage)
+ ("perl-test-pod" ,perl-test-pod)
+ ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
+ (home-page "https://metacpan.org/release/Test-Dir")
+ (synopsis "Utilities for testing directory attributes")
+ (description
+ "This modules provides a collection of test utilities for directory
+attributes.")
+ (license perl-license)))
+
(define-public perl-test-directory
(package
(name "perl-test-directory")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 12/17] gnu: Add perl-test-file.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (9 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 11/17] gnu: Add perl-test-dir Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 13/17] gnu: Add perl-test-file-contents Christopher Baines
` (4 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl-check.scm (perl-test-file): New variable.
---
gnu/packages/perl-check.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index 22e31ef40a..43c9a09154 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -548,6 +548,30 @@ 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
+ (package
+ (name "perl-test-file")
+ (version "1.443")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/B/BD/BDFOY/Test-File-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1mdwb3x8d4l24wsymamsnq2c73a637v4q5kmb5xqqz31iymsdd31"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-utf8" ,perl-test-utf8)))
+ (home-page "https://metacpan.org/release/Test-File")
+ (synopsis "Utilities for testing file attributes")
+ (description
+ "@code{Test::File} provides a collection of test utilities for file
+attributes.")
+ (license perl-license)))
+
(define-public perl-test-file-sharedir-dist
(package
(name "perl-test-file-sharedir-dist")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 13/17] gnu: Add perl-test-file-contents.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (10 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 12/17] gnu: Add perl-test-file Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 14/17] gnu: Add perl-test-version Christopher Baines
` (3 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl-check.scm (perl-test-file-contents): New variable.
---
gnu/packages/perl-check.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index 43c9a09154..a1fb175596 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -572,6 +572,34 @@ testing exception-throwing code with about the same amount of typing.")
attributes.")
(license perl-license)))
+(define-public perl-test-file-contents
+ (package
+ (name "perl-test-file-contents")
+ (version "0.23")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DW/DWHEELER/Test-File-Contents-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0g8zgfyw84181snw7ghahnl9r4lrmlfj7zwi76sv8d0bj7xssvyd"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)))
+ (propagated-inputs
+ `(("perl-test-pod" ,perl-test-pod)
+ ("perl-test-pod-coverage" ,perl-test-pod-coverage)
+ ("perl-text-diff" ,perl-text-diff)))
+ (home-page "https://metacpan.org/release/Test-File-Contents")
+ (synopsis "Test routines for examining the contents of files")
+ (description
+ "@{Test::File::Contents} provides functions for testing the contents of
+files.")
+ (license perl-license)))
+
(define-public perl-test-file-sharedir-dist
(package
(name "perl-test-file-sharedir-dist")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 14/17] gnu: Add perl-test-version.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (11 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 13/17] gnu: Add perl-test-file-contents Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 15/17] gnu: Add perl-mysql-config Christopher Baines
` (2 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl-check.scm (perl-test-version): New variable.
---
gnu/packages/perl-check.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index a1fb175596..1c61297985 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -1374,6 +1374,32 @@ 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-version
+ (package
+ (name "perl-test-version")
+ (version "2.09")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/P/PL/PLICEASE/Test-Version-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1q1qradaf7r2rb3jhpv01wl8z3bxymkfqrl9gwdhxwx5jwldvqcw"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-exception" ,perl-test-exception)))
+ (propagated-inputs
+ `(("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
+ (home-page "https://metacpan.org/release/Test-Version")
+ (synopsis "Check versions in modules")
+ (description
+ "@code{Test::Version} checks to ensure that all modules have a version
+defined, and that the version is valid.")
+ (license artistic2.0)))
+
(define-public perl-test-warn
(package
(name "perl-test-warn")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 15/17] gnu: Add perl-mysql-config.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (12 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 14/17] gnu: Add perl-test-version Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 16/17] gnu: Add perl-string-shellquote Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 17/17] gnu: Add sqitch Christopher Baines
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/databases.scm (perl-mysql-config): New variable.
---
gnu/packages/databases.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 301c4986c5..0f0d835eea 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1331,6 +1331,29 @@ module, and nothing else.")
(license license:perl-license)
(home-page "https://metacpan.org/release/DBD-SQLite")))
+(define-public perl-mysql-config
+ (package
+ (name "perl-mysql-config")
+ (version "1.04")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DA/DARREN/MySQL-Config-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1svn7ccw2gc4cazvc58j84rxhnc9vs01zpird0l8460598j475qr"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/MySQL-Config")
+ (synopsis "Parse and utilize MySQL's /etc/my.cnf and ~/.my.cnf files")
+ (description
+ "@code{MySQL::Config} emulates the @code{load_defaults} function from
+libmysqlclient. It will fill an aray with long options, ready to be parsed by
+@code{Getopt::Long}.")
+ (license license:perl-license)))
+
(define-public perl-sql-abstract
(package
(name "perl-sql-abstract")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 16/17] gnu: Add perl-string-shellquote.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (13 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 15/17] gnu: Add perl-mysql-config Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
2019-03-24 20:46 ` [bug#34980] [PATCH 17/17] gnu: Add sqitch Christopher Baines
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/perl.scm (perl-string-shellquote): New variable.
---
gnu/packages/perl.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 78bbf73420..30bf0735f4 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7671,6 +7671,28 @@ fixed string interpolation, and simple width-matching.")
known prefixes.")
(license (package-license perl))))
+(define-public perl-string-shellquote
+ (package
+ (name "perl-string-shellquote")
+ (version "1.04")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/R/RO/ROSCH/String-ShellQuote-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0dfxhr6hxc2majkkrm0qbx3qcbykzpphbj2ms93dc86f7183c1p6"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/String-ShellQuote")
+ (synopsis "Quote strings for passing through a shell")
+ (description
+ "@code{shell-quote} lets you pass arbitrary strings through the shell so
+that they won't be changed.")
+ (license (package-license perl))))
+
(define-public perl-string-print
(package
(name "perl-string-print")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#34980] [PATCH 17/17] gnu: Add sqitch.
2019-03-24 20:46 ` [bug#34980] [PATCH 01/17] gnu: Add perl-http-tinyish Christopher Baines
` (14 preceding siblings ...)
2019-03-24 20:46 ` [bug#34980] [PATCH 16/17] gnu: Add perl-string-shellquote Christopher Baines
@ 2019-03-24 20:46 ` Christopher Baines
15 siblings, 0 replies; 19+ messages in thread
From: Christopher Baines @ 2019-03-24 20:46 UTC (permalink / raw)
To: 34980
* gnu/packages/databases.scm (sqitch): New variable.
---
gnu/packages/databases.scm | 87 ++++++++++++++++++++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 0f0d835eea..d256f0b895 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -82,6 +82,7 @@
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
+ #:use-module (gnu packages perl-web)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages python)
@@ -996,6 +997,92 @@ for example from a shell script.")
;; others (like sparql-query.c) contain a GPLv2+ license header.
(license (list license:gpl3+))))
+(define-public sqitch
+ (package
+ (name "sqitch")
+ (version "0.9999")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DW/DWHEELER/App-Sqitch-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1cvj8grs3bzc4g7dw1zc26g4biv1frav18sq0fkvi2kk0q1aigzm"))))
+ (build-system perl-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-check-environment
+ (lambda _
+ (setenv "TZ" "UTC")
+ (setenv "HOME" "/tmp")
+ #t))
+ (add-after 'install 'wrap-program
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (path (getenv "PERL5LIB")))
+ (wrap-program (string-append out "/bin/sqitch")
+ `("PERL5LIB" ":" prefix
+ (,(string-append out "/lib/perl5/site_perl"
+ ":"
+ path)))))
+ #t)))))
+ (native-inputs
+ `(("perl-capture-tiny" ,perl-capture-tiny)
+ ("perl-io-pager" ,perl-io-pager)
+ ("perl-module-build" ,perl-module-build)
+ ("perl-module-runtime" ,perl-module-runtime)
+ ("perl-path-class" ,perl-path-class)
+ ("perl-test-deep" ,perl-test-deep)
+ ("perl-test-dir" ,perl-test-dir)
+ ("perl-test-exception" ,perl-test-exception)
+ ("perl-test-file" ,perl-test-file)
+ ("perl-test-file-contents" ,perl-test-file-contents)
+ ("perl-test-mockmodule" ,perl-test-mockmodule)
+ ("perl-test-nowarnings" ,perl-test-nowarnings)
+ ("perl-test-warn" ,perl-test-warn)))
+ (propagated-inputs
+ `(("perl-class-xsaccessor" ,perl-class-xsaccessor)
+ ("perl-clone" ,perl-clone)
+ ("perl-config-gitlike" ,perl-config-gitlike)
+ ("perl-datetime" ,perl-datetime)
+ ("perl-datetime-timezone" ,perl-datetime-timezone)
+ ("perl-dbd-pg" ,perl-dbd-pg)
+ ("perl-dbi" ,perl-dbi)
+ ("perl-devel-stacktrace" ,perl-devel-stacktrace)
+ ("perl-encode-locale" ,perl-encode-locale)
+ ("perl-file-homedir" ,perl-file-homedir)
+ ("perl-hash-merge" ,perl-hash-merge)
+ ("perl-ipc-run3" ,perl-ipc-run3)
+ ("perl-ipc-system-simple" ,perl-ipc-system-simple)
+ ("perl-libintl-perl" ,perl-libintl-perl)
+ ("perl-list-moreutils" ,perl-list-moreutils)
+ ("perl-moo" ,perl-moo)
+ ("perl-mysql-config" ,perl-mysql-config)
+ ("perl-namespace-autoclean" ,perl-namespace-autoclean)
+ ("perl-path-class" ,perl-path-class)
+ ("perl-perlio-utf8_strict" ,perl-perlio-utf8_strict)
+ ("perl-string-formatter" ,perl-string-formatter)
+ ("perl-string-shellquote" ,perl-string-shellquote)
+ ("perl-sub-exporter" ,perl-sub-exporter)
+ ("perl-template-tiny" ,perl-template-tiny)
+ ("perl-template-toolkit" ,perl-template-toolkit)
+ ("perl-throwable" ,perl-throwable)
+ ("perl-try-tiny" ,perl-try-tiny)
+ ("perl-type-tiny" ,perl-type-tiny)
+ ("perl-type-tiny-xs" ,perl-type-tiny-xs)
+ ("perl-uri" ,perl-uri)
+ ("perl-uri-db" ,perl-uri-db)))
+ (home-page "https://metacpan.org/release/App-Sqitch")
+ (synopsis "Database change management tool")
+ (description
+ "Sqitch is a standalone change management system for database schemas,
+which uses SQL to describe changes.")
+ (license license:x11)))
+
(define-public sqlcrush
;; Unfortunately, there is no proper upstream release and may never be.
(let ((commit "b5f6868f189566a26eecc78d0f0659813c1aa98a")
--
2.20.1
^ permalink raw reply related [flat|nested] 19+ messages in thread