diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index d35508112f..0e18c73138 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2016 Nikita ;;; Copyright © 2016 Alex Sassmannshausen -;;; Copyright © 2016, 2018, 2020 Roel Janssen +;;; Copyright © 2016, 2018, 2020, 2021 Roel Janssen ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2017 Raoul J.P. Bonnal @@ -1918,6 +1918,32 @@ of the style used by the Git version control system.") and writing of @code{.ini}-style configuration files.") (license (package-license perl)))) +(define-public perl-const-fast + (package + (name "perl-const-fast") + (version "0.014") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/L/LE/LEONT/" + "Const-Fast-" version ".tar.gz")) + (sha256 + (base32 + "1nwlldgrx86yn7y6a53cqgvzm2ircsvxg1addahlcy6510x9a1gq")))) + (inputs + `(("perl-module-build-tiny" ,perl-module-build-tiny) + ("perl-test-fatal" ,perl-test-fatal))) + ;; Needed for tests. + (native-inputs + `(("perl-sub-exporter-progressive" ,perl-sub-exporter-progressive))) + (build-system perl-build-system) + (home-page "https://metacpan.org/release/Const-Fast") + (synopsis "Facility for creating read-only scalars, arrays, and hashes") + (description "This package provides prodecures to create read-only +scalars, arrays, and hashes.") + (license (package-license perl)))) + (define-public perl-context-preserve (package (name "perl-context-preserve")