1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00

gnu: Add perl-enum.

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

Change-Id: Idb6d35cae9f123ec31e5f60691d44ae3a92690e6
This commit is contained in:
Robin Templeton
2026-02-26 10:10:47 +09:00
committed by Maxim Cournoyer
parent 064b6b00ed
commit e0af7679d8

View File

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