From acf544bc24472eb6befc418ef53713a6154220b9 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Wed, 5 Feb 2025 12:58:55 +0900 Subject: gnu: Add perl-lib-relative. * gnu/packages/perl.scm (perl-lib-relative): New variable. Signed-off-by: Nicolas Goaziou Change-Id: I24aa4db7bbd7be9145306ee85003567b011794ba --- gnu/packages/perl.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 2af5a84a78..5a6041800e 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -6796,6 +6796,26 @@ (define-public perl-libintl-perl implemented for example in GNU gettext.") (license license:gpl3+))) +(define-public perl-lib-relative + (package + (name "perl-lib-relative") + (version "1.002") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DB/DBOOK/lib-relative-" + version ".tar.gz")) + (sha256 + (base32 "12x7r08y04ml02wawhnk7j8zcb0ijd6vwy1yc0bnjh3w2qah4iz4")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/lib-relative") + (synopsis "Add paths relative to the current file to @code{@@INC}") + (description + "@code{lib::relative} module proposes a more straightforward method than +adding a path to @code{@@INC}: take a path relative to the current +file, absolutize it, and add it to @code{@@INC}.") + (license license:artistic2.0))) + (define-public perl-lingua-en-sentence (package (name "perl-lingua-en-sentence") -- cgit v1.2.3