From 5cbb59f2b8bc97107092af769e3e5bc7ecbd81fd Mon Sep 17 00:00:00 2001 From: James Taliaferro <44253038+taliaferro@users.noreply.github.com> Date: Thu, 18 Apr 2024 10:05:15 -0700 Subject: [PATCH] New package: editorconfig (#43670) * New package: editorconfig * remove FIXMEs * add description for editorconfig --- .../builtin/packages/editorconfig/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/editorconfig/package.py diff --git a/var/spack/repos/builtin/packages/editorconfig/package.py b/var/spack/repos/builtin/packages/editorconfig/package.py new file mode 100644 index 0000000000..a6c2fd8131 --- /dev/null +++ b/var/spack/repos/builtin/packages/editorconfig/package.py @@ -0,0 +1,22 @@ +# 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 Editorconfig(CMakePackage): + """ + EditorConfig helps maintain consistent coding styles for multiple + developers working on the same project across various editors and IDEs. + """ + + homepage = "https://editorconfig.org/" + url = "https://github.com/editorconfig/editorconfig-core-c/archive/refs/tags/v0.12.7.tar.gz" + + license("BSD-2-Clause", checked_by="taliaferro") + + version("0.12.7", sha256="f89d2e144fd67bdf0d7acfb2ac7618c6f087e1b3f2c3a707656b4180df422195") + + depends_on("pcre2")