summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-readonly/package.py
blob: f0788edd65d452a3c5686b698ceaaa44736a5675 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class PerlReadonly(PerlPackage):
    """Readonly - Facility for creating read-only scalars, arrays, hashes"""

    homepage = "https://metacpan.org/pod/Readonly"
    url = "https://cpan.metacpan.org/authors/id/S/SA/SANKO/Readonly-2.05.tar.gz"

    version("2.05", sha256="4b23542491af010d44a5c7c861244738acc74ababae6b8838d354dfb19462b5e")

    depends_on("perl-module-build-tiny", type="build")