[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: Add perl-file-readbackwards.
From: |
Ludovic Courtès |
Subject: |
04/07: gnu: Add perl-file-readbackwards. |
Date: |
Thu, 19 Apr 2018 05:59:05 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7234fbcb25f7d14354a5f6a91283c00dee31aaa5
Author: Pierre Neidhardt <address@hidden>
Date: Tue Apr 10 21:00:08 2018 +0530
gnu: Add perl-file-readbackwards.
* gnu/packages/perl.scm (perl-file-readbackwards): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 34eef56..0d81a58 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -19,6 +19,7 @@
;;; Copyright © 2017 Leo Famulari <address@hidden>
;;; Copyright © 2017 Christopher Allan Webber <address@hidden>
;;; Copyright © 2018 Oleg Pykhalov <address@hidden>
+;;; Copyright © 2018 Pierre Neidhardt <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3515,6 +3516,33 @@ provided base directory and can return files (and/or
directories if desired)
matching a regular expression.")
(home-page "http://search.cpan.org/~dopacki/File-List//")))
+(define-public perl-file-readbackwards
+ (package
+ (name "perl-file-readbackwards")
+ (version "1.05")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/U/UR/URI/File-ReadBackwards-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0vldy5q0zyf1cwzwb1gv14f8vg2f21bw96b8wvkw6z2hhypn3cl2"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/File-ReadBackwards/")
+ (synopsis "Read a file backwards by lines")
+ (description "This module reads a file backwards line by line. It is
+simple to use, memory efficient and fast. It supports both an object and a
+tied handle interface.
+
+It is intended for processing log and other similar text files which typically
+have their newest entries appended to them. By default files are assumed to
+be plain text and have a line ending appropriate to the OS. But you can set
+the input record separator string on a per file basis.")
+ (license perl-license)))
+
(define-public perl-file-remove
(package
(name "perl-file-remove")
- branch master updated (67a51b6 -> b164233), Ludovic Courtès, 2018/04/19
- 02/07: gnu: Add spindle., Ludovic Courtès, 2018/04/19
- 01/07: gnu: Add launchmon., Ludovic Courtès, 2018/04/19
- 03/07: gnu: libfive: Add snippet, enable tests and remove obsolete phase., Ludovic Courtès, 2018/04/19
- 05/07: gnu: Add perl-io-all., Ludovic Courtès, 2018/04/19
- 04/07: gnu: Add perl-file-readbackwards.,
Ludovic Courtès <=
- 07/07: gnu: Add fortune-mod., Ludovic Courtès, 2018/04/19
- 06/07: gnu: Add perl-test-runvalgrind, Ludovic Courtès, 2018/04/19