~ruther/guix-local

071de28f36afdb584bfb3cdfadc441689f6e2b67 — Maxim Cournoyer 1 year, 1 month ago 84929ef
gnu: Add perl-struct-dumb.

* gnu/packages/perl-check.scm (perl-struct-dumb): New variable.

Change-Id: Id5e384d1b174b0626cff093d43e18e551a67df73
Signed-off-by: jgart <jgart@dismail.de>
2 files changed, 23 insertions(+), 0 deletions(-)

M gnu/packages/perl-check.scm
M gnu/packages/perl.scm
M gnu/packages/perl-check.scm => gnu/packages/perl-check.scm +1 -0
@@ 18,6 18,7 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2025 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2025 Maxim Cournoyer <maxim@guixotic.coop>
;;;
;;; This file is part of GNU Guix.
;;;

M gnu/packages/perl.scm => gnu/packages/perl.scm +22 -0
@@ 11275,6 11275,28 @@ a functional interface.")
processing strings in various ways.")
    (license license:perl-license)))

(define-public perl-struct-dumb
  (package
    (name "perl-struct-dumb")
    (version "0.14")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/Struct-Dumb-"
             version ".tar.gz"))
       (sha256
        (base32 "0dll8njq8zm2ax0w8nchfjsnjvnawhljy4sf1dp8rqhhdd9lih8k"))))
    (build-system perl-build-system)
    (native-inputs (list perl-module-build perl-test2-suite))
    (home-page "https://metacpan.org/release/Struct-Dumb")
    (synopsis "Simple lightweight record-like structures for Perl")
    (description "@code{Struct::Dumb} creates record-like structure types,
similar to the struct keyword in C, C++ or C#, or Record in Pascal.  An
invocation of this module will create a construction function which returns
new object references with the given field values.  These references all
respond to lvalue methods that access or modify the values stored.")
    (license license:perl-license)))

(define-public perl-sub-exporter
  (package
    (name "perl-sub-exporter")