diff options
author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-06-18 09:14:58 +0900 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2025-06-23 20:06:58 -0400 |
commit | 071de28f36afdb584bfb3cdfadc441689f6e2b67 (patch) | |
tree | 5f4dafe8c96b84be167d47c4e52deb5b5d451739 | |
parent | 84929efaba966f26f4a4339cb02762c617f608a8 (diff) |
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>
-rw-r--r-- | gnu/packages/perl-check.scm | 1 | ||||
-rw-r--r-- | gnu/packages/perl.scm | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm index 7de087c8b0..5fa342a78e 100644 --- a/gnu/packages/perl-check.scm +++ b/gnu/packages/perl-check.scm @@ -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. ;;; diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 07713b1473..e8ea784072 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -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") |