guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#63866] [PATCH v2 03/12] gnu: Add perl-lib-relative.


From: gemmaro
Subject: [bug#63866] [PATCH v2 03/12] gnu: Add perl-lib-relative.
Date: Mon, 5 Aug 2024 21:33:46 +0900

* gnu/packages/perl.scm (perl-lib-relative): New variable.

Change-Id: I6d5a48cd78c5a0a47180a2365ebecc1372d4ccc2
---
 gnu/packages/perl.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 406cbeb3e4..7dad48ab7a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6388,6 +6388,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")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]