Subject: [bug#63894] [PATCH 10/55] gnu: Add perl-test-file-sharedir.

From: Antero Mejr <[email-masked]>
Date: Sun, 4 Jun 2023 17:42:04 +0000

* gnu/packages/perl-check.scm (perl-test-file-sharedir): New variable.
---
 gnu/packages/perl-check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index 5032dff721..530dba3708 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -636,6 +636,33 @@ (define-public perl-test-file-contents
 files.")
     (license perl-license)))
 
+(define-public perl-test-file-sharedir
+  (package
+    (name "perl-test-file-sharedir")
+    (version "1.001002")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/K/KE/KENTNL/Test-File-ShareDir-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1bbs6cx69wcinq77gif4i4pmrj8a7lwb92sgvvxzrwmjnk5lfdmk"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-test-fatal))
+    (propagated-inputs (list perl-class-tiny
+                             perl-file-copy-recursive
+                             perl-file-sharedir
+                             perl-path-tiny
+                             perl-scope-guard))
+    (home-page "https://metacpan.org/release/Test-File-ShareDir")
+    (synopsis "Create a Fake ShareDir for your modules for testing.")
+    (description
+     "@code{Test::File::ShareDir} is some low level plumbing to enable a
+distribution to perform tests while consuming its own share directories in a
+manner similar to how they will be once installed.")
+    (license perl-license)))
+
 (define-public perl-test-file-sharedir-dist
   (package
     (name "perl-test-file-sharedir-dist")
-- 
2.39.2