* [PATCH 0/3] Add miscelanious simple libraries.
@ 2016-06-29 14:43 Alex Sassmannshausen
2016-06-29 14:43 ` [PATCH 1/3] gnu: Add perl-file-zglob Alex Sassmannshausen
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Alex Sassmannshausen @ 2016-06-29 14:43 UTC (permalink / raw)
To: guix-devel
Hello,
Finally, for today, here 3 simple perl libraries that I also require for
packaging bigger and better things :-)
They all seemed simple enough, with no complications for `environment` or `lint`.
perl-guard did not return a license with `import`. I checked the COPYING
file, it just says it has the same license as PERL, so I set it to
(package-license perl), as seems to be convention.
Cheers,
Alex
Alex Sassmannshausen (3):
gnu: Add perl-file-zglob.
gnu: Add perl-guard.
gnu: Add perl-ipc-system-simple.
gnu/packages/perl.scm | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
--
2.8.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/3] gnu: Add perl-file-zglob.
2016-06-29 14:43 [PATCH 0/3] Add miscelanious simple libraries Alex Sassmannshausen
@ 2016-06-29 14:43 ` Alex Sassmannshausen
2016-07-02 14:15 ` Ludovic Courtès
2016-06-29 14:43 ` [PATCH 2/3] gnu: Add perl-guard Alex Sassmannshausen
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Alex Sassmannshausen @ 2016-06-29 14:43 UTC (permalink / raw)
To: guix-devel
* gnu/packages/perl.scm (perl-file-zglob): New variable.
---
gnu/packages/perl.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 386155d..147424b 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2439,6 +2439,29 @@ shell.")
"File-Which-" version))
(license (package-license perl))))
+(define-public perl-file-zglob
+ (package
+ (name "perl-file-zglob")
+ (version "0.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/T/TO/TOKUHIROM/File-Zglob-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "16v61rn0yimpv5kp6b20z2f1c93n5kpsyjvr0gq4w2dc43gfvc8w"))))
+ (build-system perl-build-system)
+ (home-page
+ "http://search.cpan.org/dist/File-Zglob")
+ (synopsis "Extended Unix style glob functionality")
+ (description "File::Zglob provides a traditional Unix glob(3)
+functionality; returns a list of pathnames that matches the given pattern, for
+instance, it supports the **/*.pm form.")
+ (license (package-license perl))))
+
(define-public perl-getopt-long-descriptive
(package
(name "perl-getopt-long-descriptive")
--
2.8.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/3] gnu: Add perl-guard.
2016-06-29 14:43 [PATCH 0/3] Add miscelanious simple libraries Alex Sassmannshausen
2016-06-29 14:43 ` [PATCH 1/3] gnu: Add perl-file-zglob Alex Sassmannshausen
@ 2016-06-29 14:43 ` Alex Sassmannshausen
2016-06-29 14:43 ` [PATCH 3/3] gnu: Add perl-ipc-system-simple Alex Sassmannshausen
2016-07-02 14:12 ` [PATCH 0/3] Add miscelanious simple libraries Ludovic Courtès
3 siblings, 0 replies; 8+ messages in thread
From: Alex Sassmannshausen @ 2016-06-29 14:43 UTC (permalink / raw)
To: guix-devel
* gnu/packages/perl.scm (perl-guard): 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 147424b..a11f036 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2509,6 +2509,32 @@ vaguely inspired by John Ousterhout's Tk_ParseArgv.")
"Getopt-Tabular-" version))
(license (package-license perl))))
+(define-public perl-guard
+ (package
+ (name "perl-guard")
+ (version "1.023")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Guard-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1p6i9mfmbs9cw40jqdv71ihv2xfi0vvlv8bdv2810gf93zwxvi1l"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/Guard")
+ (synopsis "Safe cleanup blocks implemented as guards")
+ (description "Guard implements so-called \"guards\". A guard is
+something (usually an object) that \"guards\" a resource, ensuring that it is
+cleaned up when expected.
+
+Specifically, this module supports two different types of guards: guard
+objects, which execute a given code block when destroyed, and scoped guards,
+which are tied to the scope exit.")
+ (license (package-license perl))))
+
(define-public perl-hash-merge
(package
(name "perl-hash-merge")
--
2.8.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/3] gnu: Add perl-ipc-system-simple.
2016-06-29 14:43 [PATCH 0/3] Add miscelanious simple libraries Alex Sassmannshausen
2016-06-29 14:43 ` [PATCH 1/3] gnu: Add perl-file-zglob Alex Sassmannshausen
2016-06-29 14:43 ` [PATCH 2/3] gnu: Add perl-guard Alex Sassmannshausen
@ 2016-06-29 14:43 ` Alex Sassmannshausen
2016-07-02 14:25 ` Ludovic Courtès
2016-07-02 14:12 ` [PATCH 0/3] Add miscelanious simple libraries Ludovic Courtès
3 siblings, 1 reply; 8+ messages in thread
From: Alex Sassmannshausen @ 2016-06-29 14:43 UTC (permalink / raw)
To: guix-devel
* gnu/packages/perl.scm (perl-ipc-system-simple): 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 a11f036..ea6e350 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2774,6 +2774,33 @@ Perlish API and none of the bloat and rarely used features of IPC::Run.")
allowing data to be efficiently communicated between processes.")
(license (package-license perl))))
+(define-public perl-ipc-system-simple
+ (package
+ (name "perl-ipc-system-simple")
+ (version "1.25")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/P/PJ/PJF/IPC-System-Simple-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0fsdb81shjj4hifyyzvj7vpkhq5jrfhlcpw2xbjfi1mqz8fsmdpi"))))
+ (build-system perl-build-system)
+ (home-page
+ "http://search.cpan.org/dist/IPC-System-Simple")
+ (synopsis
+ "Run commands simply, with detailed diagnostics")
+ (description "Calling Perl's in-built system() function is easy,
+determining if it was successful is hard. Let's face it, $? isn't the nicest
+variable in the world to play with, and even if you do check it, producing a
+well-formatted error string takes a lot of work.
+
+IPC::System::Simple takes the hard work out of calling external commands.")
+ (license (package-license perl))))
+
(define-public perl-json
(package
(name "perl-json")
--
2.8.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 0/3] Add miscelanious simple libraries.
2016-06-29 14:43 [PATCH 0/3] Add miscelanious simple libraries Alex Sassmannshausen
` (2 preceding siblings ...)
2016-06-29 14:43 ` [PATCH 3/3] gnu: Add perl-ipc-system-simple Alex Sassmannshausen
@ 2016-07-02 14:12 ` Ludovic Courtès
2016-07-02 16:42 ` Alex Sassmannshausen
3 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2016-07-02 14:12 UTC (permalink / raw)
To: Alex Sassmannshausen; +Cc: guix-devel
Alex Sassmannshausen <alex@pompo.co> skribis:
> Finally, for today, here 3 simple perl libraries that I also require for
> packaging bigger and better things :-)
>
> They all seemed simple enough, with no complications for `environment` or `lint`.
>
> perl-guard did not return a license with `import`. I checked the COPYING
> file, it just says it has the same license as PERL, so I set it to
> (package-license perl), as seems to be convention.
Perfect, that’s the right thing to do.
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] gnu: Add perl-file-zglob.
2016-06-29 14:43 ` [PATCH 1/3] gnu: Add perl-file-zglob Alex Sassmannshausen
@ 2016-07-02 14:15 ` Ludovic Courtès
0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2016-07-02 14:15 UTC (permalink / raw)
To: Alex Sassmannshausen; +Cc: guix-devel
Alex Sassmannshausen <alex@pompo.co> skribis:
> * gnu/packages/perl.scm (perl-file-zglob): New variable.
Applied with cosmetic changes to the synopsis, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] gnu: Add perl-ipc-system-simple.
2016-06-29 14:43 ` [PATCH 3/3] gnu: Add perl-ipc-system-simple Alex Sassmannshausen
@ 2016-07-02 14:25 ` Ludovic Courtès
0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2016-07-02 14:25 UTC (permalink / raw)
To: Alex Sassmannshausen; +Cc: guix-devel
Alex Sassmannshausen <alex@pompo.co> skribis:
> * gnu/packages/perl.scm (perl-ipc-system-simple): New variable.
Applied.
Thanks for this whole series! :-)
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/3] Add miscelanious simple libraries.
2016-07-02 14:12 ` [PATCH 0/3] Add miscelanious simple libraries Ludovic Courtès
@ 2016-07-02 16:42 ` Alex Sassmannshausen
0 siblings, 0 replies; 8+ messages in thread
From: Alex Sassmannshausen @ 2016-07-02 16:42 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Hi Ludo,
Thank you for the reviews and commits! Will take the feedback into
account for the next batch of patches :-)
Alex
Ludovic Courtès writes:
> Alex Sassmannshausen <alex@pompo.co> skribis:
>
>> Finally, for today, here 3 simple perl libraries that I also require for
>> packaging bigger and better things :-)
>>
>> They all seemed simple enough, with no complications for `environment` or `lint`.
>>
>> perl-guard did not return a license with `import`. I checked the COPYING
>> file, it just says it has the same license as PERL, so I set it to
>> (package-license perl), as seems to be convention.
>
> Perfect, that’s the right thing to do.
>
> Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-07-02 16:43 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-29 14:43 [PATCH 0/3] Add miscelanious simple libraries Alex Sassmannshausen
2016-06-29 14:43 ` [PATCH 1/3] gnu: Add perl-file-zglob Alex Sassmannshausen
2016-07-02 14:15 ` Ludovic Courtès
2016-06-29 14:43 ` [PATCH 2/3] gnu: Add perl-guard Alex Sassmannshausen
2016-06-29 14:43 ` [PATCH 3/3] gnu: Add perl-ipc-system-simple Alex Sassmannshausen
2016-07-02 14:25 ` Ludovic Courtès
2016-07-02 14:12 ` [PATCH 0/3] Add miscelanious simple libraries Ludovic Courtès
2016-07-02 16:42 ` Alex Sassmannshausen
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).