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>
This commit is contained in:
Maxim Cournoyer 2025-06-18 09:14:58 +09:00 committed by jgart
parent 84929efaba
commit 071de28f36
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35
2 changed files with 23 additions and 0 deletions

View file

@ -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.
;;;

View file

@ -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")