unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39900] Add two Perl packages
@ 2020-03-04 13:07 Roel Janssen
  2020-03-08 20:15 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Janssen @ 2020-03-04 13:07 UTC (permalink / raw)
  To: 39900

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

Dear Guix,

I'd like to add the attached Perl packages.  They originated from the UBC's
staging repository, and I think they are good enough for upstream Guix.

Kind regards,
Roel Janssen


[-- Attachment #2: 0002-gnu-Add-perl-config-inifiles.patch --]
[-- Type: text/x-patch, Size: 1768 bytes --]

From 822bb44d86053742ce80df6b663b05a142d4697c Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 4 Mar 2020 14:04:24 +0100
Subject: [PATCH 2/2] gnu: Add perl-config-inifiles.

* gnu/packages/perl.scm (perl-config-inifiles): 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 89ee8bc875..ea091b11d2 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1450,6 +1450,28 @@ libraries to load configuration data from multiple different file formats.  It
 supports XML, YAML, JSON, Apache-style configuration, and Perl code.")
     (license (package-license perl))))
 
+(define-public perl-config-inifiles
+  (package
+    (name "perl-config-inifiles")
+    (version "3.000002")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/"
+                           "Config-IniFiles-" version ".tar.gz"))
+       (sha256
+        (base32 "02dsz3inh5jwgaxmbcz8qxwgin8mkhm6vj9jyzfmm3dr5pnxcbnr"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-module-build" ,perl-module-build)
+       ("perl-io-stringy",perl-io-stringy)))
+    (home-page "https://metacpan.org/pod/Config::IniFiles")
+    (synopsis "Package for configuration files outside your Perl script")
+    (description "This package provides a way to have readable configuration
+files outside your Perl script.  Configurations can be imported, sections
+can be grouped, and settings can be accessed from a tied hash.")
+    (license (package-license perl))))
+
 (define-public perl-config-autoconf
   (package
     (name "perl-config-autoconf")
-- 
2.25.1


[-- Attachment #3: 0001-gnu-Add-perl-attribute-util.patch --]
[-- Type: text/x-patch, Size: 2244 bytes --]

From 51765c31fccf2862403e12f6a44750f76d6dcdf6 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 4 Mar 2020 14:03:53 +0100
Subject: [PATCH 1/2] gnu: Add perl-attribute-util.

* gnu/packages/perl.scm (perl-attribute-util): New variable.
---
 gnu/packages/perl.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 1797766db5..89ee8bc875 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 ng0 <ng0@n0.is>
 ;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
-;;; Copyright © 2016, 2018 Roel Janssen <roel@gnu.org>
+;;; Copyright © 2016, 2018, 2020 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2017 Raoul J.P. Bonnal <ilpuccio.febo@gmail.com>
@@ -334,6 +334,33 @@ signal running perl code from another thread, asynchronously, and
 sometimes even without using a single syscall.")
     (license (package-license perl))))
 
+(define-public perl-attribute-util
+  (package
+    (name "perl-attribute-util")
+    (version "1.07")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/"
+                    "Attribute-Util-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1z79d845dy96lg0pxw0kr2za0gniwnpn963r7ccajfpj6k7jfw07"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/pod/Attribute::Util")
+    (synopsis "Assorted general utility attributes")
+    (description "This packages provides various utility functions.  When used
+without argument, this module provides four universally accessible attributes
+of general interest as follows:
+@itemize
+@item Abstract
+@item Alias
+@item Memoize
+@item Method
+@item SigHandler
+@end itemize")
+    (license (package-license perl))))
+
 (define-public perl-autovivification
   (package
     (name "perl-autovivification")
-- 
2.25.1


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

* [bug#39900] Add two Perl packages
  2020-03-04 13:07 [bug#39900] Add two Perl packages Roel Janssen
@ 2020-03-08 20:15 ` Ludovic Courtès
  2020-03-08 21:07   ` bug#39900: " Roel Janssen
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-03-08 20:15 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 39900

Hi Roel,

Roel Janssen <roel@gnu.org> skribis:

> From 822bb44d86053742ce80df6b663b05a142d4697c Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Wed, 4 Mar 2020 14:04:24 +0100
> Subject: [PATCH 2/2] gnu: Add perl-config-inifiles.
>
> * gnu/packages/perl.scm (perl-config-inifiles): New variable.

[...]

> From 51765c31fccf2862403e12f6a44750f76d6dcdf6 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Wed, 4 Mar 2020 14:03:53 +0100
> Subject: [PATCH 1/2] gnu: Add perl-attribute-util.
>
> * gnu/packages/perl.scm (perl-attribute-util): New variable.

Both LGTM.  Thanks!

Ludo’.

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

* bug#39900: Add two Perl packages
  2020-03-08 20:15 ` Ludovic Courtès
@ 2020-03-08 21:07   ` Roel Janssen
  0 siblings, 0 replies; 3+ messages in thread
From: Roel Janssen @ 2020-03-08 21:07 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 39900-done

On Sun, 2020-03-08 at 21:15 +0100, Ludovic Courtès wrote:
> Hi Roel,
> 
> Roel Janssen <roel@gnu.org> skribis:
> 
> > From 822bb44d86053742ce80df6b663b05a142d4697c Mon Sep 17 00:00:00
> > 2001
> > From: Roel Janssen <roel@gnu.org>
> > Date: Wed, 4 Mar 2020 14:04:24 +0100
> > Subject: [PATCH 2/2] gnu: Add perl-config-inifiles.
> > 
> > * gnu/packages/perl.scm (perl-config-inifiles): New variable.
> 
> [...]
> 
> > From 51765c31fccf2862403e12f6a44750f76d6dcdf6 Mon Sep 17 00:00:00
> > 2001
> > From: Roel Janssen <roel@gnu.org>
> > Date: Wed, 4 Mar 2020 14:03:53 +0100
> > Subject: [PATCH 1/2] gnu: Add perl-attribute-util.
> > 
> > * gnu/packages/perl.scm (perl-attribute-util): New variable.
> 
> Both LGTM.  Thanks!

Pushed. Thanks!

Kind regards,
Roel Janssen

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

end of thread, other threads:[~2020-03-08 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-04 13:07 [bug#39900] Add two Perl packages Roel Janssen
2020-03-08 20:15 ` Ludovic Courtès
2020-03-08 21:07   ` bug#39900: " Roel Janssen

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).