From 682ee10985c39ccb20cd934a2f20ce53c14b0fc6 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 15 Sep 2025 11:05:57 +0200 Subject: [PATCH] gnu: Add elixir-text-diff. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/elixir-xyz.scm (elixir-text-diff): New variable. Change-Id: Ifc1d8e732a7e97a45f15f341fabb7dd5f61be40a Signed-off-by: Ludovic Courtès --- gnu/packages/elixir-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index c4334ae4702..60e12751100 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -719,6 +719,24 @@ parser for Elixir.") (home-page "https://hexdocs.pm/spitfire/") (license license:expat))) +(define-public elixir-text-diff + (package + (name "elixir-text-diff") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "text_diff" version)) + (sha256 + (base32 "1myvc8rym843amsygb21j1jf0xzq6pj85akdgcslk3ikmgnamzyi")))) + (build-system mix-build-system) + (synopsis "Returns a formatted diff between two strings") + (description + "This package provides @code{TextDiff}, an Elixir library that returns a +formatted diff between two strings.") + (home-page "https://hexdocs.pm/text_diff/") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar