From a38acfb195dd58c646cff0d33353e7951e4451ac Mon Sep 17 00:00:00 2001 From: snehring <7978778+snehring@users.noreply.github.com> Date: Thu, 18 Jan 2024 17:34:17 -0600 Subject: [PATCH] libidn: adding new package libidn (#42170) --- .../repos/builtin/packages/libidn/package.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/libidn/package.py diff --git a/var/spack/repos/builtin/packages/libidn/package.py b/var/spack/repos/builtin/packages/libidn/package.py new file mode 100644 index 0000000000..c46f2078bd --- /dev/null +++ b/var/spack/repos/builtin/packages/libidn/package.py @@ -0,0 +1,24 @@ +# 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 Libidn(AutotoolsPackage, GNUMirrorPackage): + """GNU Libidn is a fully documented implementation of the Stringprep, + Punycode and IDNA 2003 specifications. Libidn's purpose is to + encode and decode internationalized domain names.""" + + homepage = "https://www.gnu.org/software/libidn/" + gnu_mirror_path = "libidn/libidn-1.42.tar.gz" + + maintainers("snehring") + + license("LGPL-2.1-or-later", checked_by="snehring") + + version("1.42", sha256="d6c199dcd806e4fe279360cb4b08349a0d39560ed548ffd1ccadda8cdecb4723") + version("1.38", sha256="de00b840f757cd3bb14dd9a20d5936473235ddcba06d4bc2da804654b8bbf0f6") + version("1.34", sha256="3719e2975f2fb28605df3479c380af2cf4ab4e919e1506527e4c7670afff6e3c") + version("1.28", sha256="dd357a968449abc97c7e5fa088a4a384de57cb36564f9d4e0d898ecc6373abfb")