From ff6dfea9b9466e493bda8c7c3cc040b7af3a2324 Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Fri, 28 Mar 2025 05:06:27 -0400 Subject: [PATCH] difftastic: new package (#49708) --- .../builtin/packages/difftastic/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/difftastic/package.py diff --git a/var/spack/repos/builtin/packages/difftastic/package.py b/var/spack/repos/builtin/packages/difftastic/package.py new file mode 100644 index 00000000000..ef452783420 --- /dev/null +++ b/var/spack/repos/builtin/packages/difftastic/package.py @@ -0,0 +1,20 @@ +# Copyright Spack Project Developers. See COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class Difftastic(CargoPackage): + """Difftastic is a structural diff tool that compares files based on their syntax.""" + + homepage = "https://difftastic.wilfred.me.uk/" + url = "https://github.com/Wilfred/difftastic/archive/refs/tags/0.63.0.tar.gz" + + maintainers("alecbcs") + + license("MIT") + + version("0.63.0", sha256="f96bcf4fc961921d52cd9fe5aa94017924abde3d5a3b5a4727b103e9c2d4b416") + + depends_on("rust@0.64.0:", type="build")