guix-commits
[Top][All Lists]
Advanced

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

10/55: gnu: Add perl-test-file-sharedir.


From: guix-commits
Subject: 10/55: gnu: Add perl-test-file-sharedir.
Date: Sun, 22 Dec 2024 07:32:53 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit 2b6d46c8de2974ae1936be5cde556a778ea5e860
Author: Antero Mejr <antero@mailbox.org>
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 <dannym@friendly-machines.com>
---
 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")



reply via email to

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