diff options
author | Antero Mejr <antero@mailbox.org> | 2023-06-04 17:42:04 +0000 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2024-12-22 13:12:37 +0100 |
commit | 2b6d46c8de2974ae1936be5cde556a778ea5e860 (patch) | |
tree | 57be593979821baecf2957abaa80062a5c777fc2 | |
parent | beff6a376898f50bbf5a21796013a572419601ad (diff) | |
download | guix-2b6d46c8de2974ae1936be5cde556a778ea5e860.tar.gz guix-2b6d46c8de2974ae1936be5cde556a778ea5e860.zip |
gnu: Add perl-test-file-sharedir.
* gnu/packages/perl-check.scm (perl-test-file-sharedir): New variable.
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
-rw-r--r-- | gnu/packages/perl-check.scm | 27 |
1 files changed, 27 insertions, 0 deletions
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") |