From 78c47df9b86a7475280a04ad729345ae12b4b43e Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Sun, 9 Nov 2025 15:13:53 -0500 Subject: [PATCH] gnu: Add perl-dir-manifest. * gnu/packages/perl.scm (perl-dir-manifest): New variable. Change-Id: I1877d5cd93737785f5aea84be122835587b9c775 Signed-off-by: Liliana Marie Prikler --- gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 9155329b78a4e158e62510e7eacea734cee120cd..5624b99c95397b1a43c6218357bb502431faa41f 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4932,6 +4932,32 @@ of storage backends available to Perl, such as memory, plain files, memory mapped files, memcached, and DBI.") (license license:perl-license))) +(define-public perl-dir-manifest + (package + (name "perl-dir-manifest") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/S/SH/SHLOMIF/Dir-Manifest-" version + ".tar.gz")) + (sha256 + (base32 "01g54wlvp647zvhn0sxl2pqajly17044qd3pxib8cpixhwk75zw4")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build)) + (propagated-inputs (list perl-moo-2 perl-path-tiny)) + (home-page "https://metacpan.org/release/Dir-Manifest") + (synopsis "Treat a directory and a manifest file as a dictionary") + (description + "This package provides an API for dealing where the case where you have several +long texts (and/or binary blobs) that you wish to load from the code (e.g: for +the \"want\"/expected values of tests) and you wish to conveniently edit them, +track them and maintain them. Using this package, you can put each in a +separate file in a directory, create a manifest file listing all valid +filenames/key, and load from there.") + (license license:x11))) + (define-public perl-eval-closure (package (name "perl-eval-closure")