diff options
| author | Robin Templeton <robin@guixotic.coop> | 2026-02-26 10:10:47 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-02-26 10:15:23 +0900 |
| commit | e0af7679d8464ad39e002ddd213878b5614741c6 (patch) | |
| tree | 3bb08045d7962287e9ce68c4e52f56fca759e66d /gnu | |
| parent | 064b6b00ed03e6f42a8c66640ddfa6001cbb23e5 (diff) | |
gnu: Add perl-enum.
* gnu/packages/perl.scm (perl-enum): New variable.
Change-Id: Idb6d35cae9f123ec31e5f60691d44ae3a92690e6
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/perl.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index b554812abdc..e486ee8ba5c 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr> ;;; Copyright © 2020, 2023 Tim Gesthuizen <tim.gesthuizen@yahoo.de> ;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org> +;;; Copyright © 2026 Robin Templeton <robin@guixotic.coop> ;;; ;;; This file is part of GNU Guix. ;;; @@ -4875,6 +4876,26 @@ an ordered list of file system elements separated by a platform-standard separator.") (license (package-license perl)))) +(define-public perl-enum + (package + (name "perl-enum") + (version "1.12") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/enum-" version + ".tar.gz")) + (sha256 + (base32 "1aby8k8xfyzxjiwbrh2iqcpad4lz90grmsf50a5yv21qrn8si9v9")))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/enum") + (synopsis "C-style enumerated types and bitmask flags in Perl") + (description "This module is used to define a set of constants with +ordered numeric values, similar to enumeration types in the C programming +language. It also supports bit-mask constants, where the value assigned to +each constant has exactly one bit set.") + (license license:perl-license))) + (define-public perl-error (package (name "perl-error") |
