~ruther/guix-local

78c47df9b86a7475280a04ad729345ae12b4b43e — Patrick Norton 11 months ago 39d9d39
gnu: Add perl-dir-manifest.

* gnu/packages/perl.scm (perl-dir-manifest): New variable.

Change-Id: I1877d5cd93737785f5aea84be122835587b9c775
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
1 files changed, 26 insertions(+), 0 deletions(-)

M gnu/packages/perl.scm
M gnu/packages/perl.scm => gnu/packages/perl.scm +26 -0
@@ 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")