dannym pushed a commit to branch master
in repository guix.
commit 2b6d46c8de2974ae1936be5cde556a778ea5e860
Author: Antero Mejr <[email protected]>
AuthorDate: Sun Jun 4 17:42:04 2023 +0000
gnu: Add perl-test-file-sharedir.
* gnu/packages/perl-check.scm (perl-test-file-sharedir): New variable.
Signed-off-by: Danny Milosavljevic <[email protected]>
---
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 e7dc9e0de4..44bbc2fcc6 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -637,6 +637,33 @@ attributes.")
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")