unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/3] gnu: Add perl-config-ini.
@ 2016-06-29 13:51 Alex Sassmannshausen
  2016-06-29 13:51 ` [PATCH 1/3] gnu: Add perl-perlio-utf8_strict Alex Sassmannshausen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alex Sassmannshausen @ 2016-06-29 13:51 UTC (permalink / raw)
  To: guix-devel

Hi,

These patches add perl-config-ini and it's dependencies.

I had to add perl-perlio-utf8_strict and perl-sub-exporter to
perl-config-ini's inputs (above what the importer defined) to allow it to
build in a fully isolated environment.

Feedback welcome!

Best wishes,

Alex

Alex Sassmannshausen (3):
  gnu: Add perl-perlio-utf8_strict.
  gnu: Add perl-mixin-linewise.
  gnu: Add perl-config-ini.

 gnu/packages/perl.scm | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)

-- 
2.8.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] gnu: Add perl-perlio-utf8_strict.
  2016-06-29 13:51 [PATCH 0/3] gnu: Add perl-config-ini Alex Sassmannshausen
@ 2016-06-29 13:51 ` Alex Sassmannshausen
  2016-07-02 14:02   ` Ludovic Courtès
  2016-06-29 13:51 ` [PATCH 2/3] gnu: Add perl-mixin-linewise Alex Sassmannshausen
  2016-06-29 13:51 ` [PATCH 3/3] gnu: Add perl-config-ini Alex Sassmannshausen
  2 siblings, 1 reply; 7+ messages in thread
From: Alex Sassmannshausen @ 2016-06-29 13:51 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/perl.scm (perl-perlio-utf8_strict): New variable.
---
 gnu/packages/perl.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 386155d..e02d71b 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4135,6 +4135,31 @@ up inheritance from those modules at the same time.")
 directory specifications in a cross-platform manner.")
     (license (package-license perl))))
 
+(define-public perl-perlio-utf8_strict
+  (package
+    (name "perl-perlio-utf8_strict")
+    (version "0.006")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://cpan.metacpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0qnmiflirfq10jkmrxyy81ch6hzyndfzxqf8maif0fy44kk1004q"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-exception" ,perl-test-exception)))
+    (home-page
+     "http://search.cpan.org/dist/PerlIO-utf8_strict")
+    (synopsis "Fast and correct UTF-8 IO")
+    (description "PerlIO::utf8_strict provides a fast and correct UTF-8 PerlIO
+layer.  Unlike perl's default :utf8 layer it checks the input for
+correctness.")
+    (license (package-license perl))))
+
 (define-public perl-pod-coverage
   (package
     (name "perl-pod-coverage")
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] gnu: Add perl-mixin-linewise.
  2016-06-29 13:51 [PATCH 0/3] gnu: Add perl-config-ini Alex Sassmannshausen
  2016-06-29 13:51 ` [PATCH 1/3] gnu: Add perl-perlio-utf8_strict Alex Sassmannshausen
@ 2016-06-29 13:51 ` Alex Sassmannshausen
  2016-07-02 14:07   ` Ludovic Courtès
  2016-06-29 13:51 ` [PATCH 3/3] gnu: Add perl-config-ini Alex Sassmannshausen
  2 siblings, 1 reply; 7+ messages in thread
From: Alex Sassmannshausen @ 2016-06-29 13:51 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/perl.scm (perl-mixin-linewise): New variable.
---
 gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e02d71b..56aff3a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2978,6 +2978,35 @@ from various sources.  For instance, it contains all IANA types and the
 knowledge of Apache.")
     (license (package-license perl))))
 
+(define-public perl-mixin-linewise
+  (package
+    (name "perl-mixin-linewise")
+    (version "0.108")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1wmfr19w9y8qys7b32mnj1vmps7qwdahqas71a9p62ac8xw0dwkx"))))
+    (build-system perl-build-system)
+    (inputs
+     `(("perl-perlio-utf8_strict"
+        ,perl-perlio-utf8_strict)
+       ("perl-sub-exporter" ,perl-sub-exporter)))
+    (home-page
+     "http://search.cpan.org/dist/Mixin-Linewise")
+    (synopsis
+     "Write your linewise code for handles; this does the rest")
+    (description "It's boring to deal with opening files for IO, converting
+strings to handle-like objects, and all that.  With Mixin::Linewise::Readers
+and Mixin::Linewise::Writers, you can just write a method to handle handles,
+and methods for handling strings and filenames are added for you.")
+    (license (package-license perl))))
+
 (define-public perl-module-build-tiny
   (package
     (name "perl-module-build-tiny")
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] gnu: Add perl-config-ini.
  2016-06-29 13:51 [PATCH 0/3] gnu: Add perl-config-ini Alex Sassmannshausen
  2016-06-29 13:51 ` [PATCH 1/3] gnu: Add perl-perlio-utf8_strict Alex Sassmannshausen
  2016-06-29 13:51 ` [PATCH 2/3] gnu: Add perl-mixin-linewise Alex Sassmannshausen
@ 2016-06-29 13:51 ` Alex Sassmannshausen
  2016-07-02 14:11   ` Ludovic Courtès
  2 siblings, 1 reply; 7+ messages in thread
From: Alex Sassmannshausen @ 2016-06-29 13:51 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/perl.scm (perl-config-ini): 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 56aff3a..183ed06 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -983,6 +983,32 @@ some enhancements such as here-documents, C-style comments, and multiline
 options.")
     (license (package-license perl))))
 
+(define-public perl-config-ini
+  (package
+    (name "perl-config-ini")
+    (version "0.025")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Config-INI-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0clphq6a17chvb663fvjnxqvyvh26g03x0fl4bg9vy4ibdnzg2v2"))))
+    (build-system perl-build-system)
+    (inputs
+     `(("perl-mixin-linewise" ,perl-mixin-linewise)
+       ("perl-perlio-utf8_strict" ,perl-perlio-utf8_strict)
+       ("perl-sub-exporter" ,perl-sub-exporter)))
+    (home-page
+     "http://search.cpan.org/dist/Config-INI")
+    (synopsis "Simple .ini-file format reader and writer")
+    (description "Config::INI provides a module that facilates the reading and
+writing of .ini style configuration files.")
+    (license (package-license perl))))
+
 (define-public perl-context-preserve
   (package
     (name "perl-context-preserve")
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] gnu: Add perl-perlio-utf8_strict.
  2016-06-29 13:51 ` [PATCH 1/3] gnu: Add perl-perlio-utf8_strict Alex Sassmannshausen
@ 2016-07-02 14:02   ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-07-02 14:02 UTC (permalink / raw)
  To: Alex Sassmannshausen; +Cc: guix-devel

Alex Sassmannshausen <alex@pompo.co> skribis:

> * gnu/packages/perl.scm (perl-perlio-utf8_strict): New variable.

[...]

> +(define-public perl-perlio-utf8_strict
> +  (package
> +    (name "perl-perlio-utf8_strict")

I changed the name to use a hyphen instead of an underscore.

> +       (uri (string-append
> +             "https://cpan.metacpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-"

I changed this to mirror://cpan.

> +    (description "PerlIO::utf8_strict provides a fast and correct UTF-8 PerlIO
> +layer.  Unlike perl's default :utf8 layer it checks the input for
> +correctness.")

And some @code here.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] gnu: Add perl-mixin-linewise.
  2016-06-29 13:51 ` [PATCH 2/3] gnu: Add perl-mixin-linewise Alex Sassmannshausen
@ 2016-07-02 14:07   ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-07-02 14:07 UTC (permalink / raw)
  To: Alex Sassmannshausen; +Cc: guix-devel

Alex Sassmannshausen <alex@pompo.co> skribis:

> * gnu/packages/perl.scm (perl-mixin-linewise): New variable.

Applied with mirror://cpan and a couple of @code.  Thanks.

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] gnu: Add perl-config-ini.
  2016-06-29 13:51 ` [PATCH 3/3] gnu: Add perl-config-ini Alex Sassmannshausen
@ 2016-07-02 14:11   ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-07-02 14:11 UTC (permalink / raw)
  To: Alex Sassmannshausen; +Cc: guix-devel

Alex Sassmannshausen <alex@pompo.co> skribis:

> * gnu/packages/perl.scm (perl-config-ini): New variable.

Applied!

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-02 14:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-29 13:51 [PATCH 0/3] gnu: Add perl-config-ini Alex Sassmannshausen
2016-06-29 13:51 ` [PATCH 1/3] gnu: Add perl-perlio-utf8_strict Alex Sassmannshausen
2016-07-02 14:02   ` Ludovic Courtès
2016-06-29 13:51 ` [PATCH 2/3] gnu: Add perl-mixin-linewise Alex Sassmannshausen
2016-07-02 14:07   ` Ludovic Courtès
2016-06-29 13:51 ` [PATCH 3/3] gnu: Add perl-config-ini Alex Sassmannshausen
2016-07-02 14:11   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).