Subject: [bug#67902] [PATCH v5 39/54] gnu: Add php-sebastian-diff.

From: Nicolas Graves <[email-masked]>
Date: Fri, 18 Oct 2024 01:06:02 +0200

* gnu/packages/php-bootstrap.scm (php-sebastian-diff): New variable.
---
 gnu/packages/php-bootstrap.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 4304c95880..e0b2f8eda5 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -940,3 +940,24 @@ (define-public php-sebastian-complexity
 complexity of PHP code units.")
     (home-page "https://github.com/sebastianbergmann/complexity")
     (license license:bsd-3)))
+
+(define-public php-sebastian-diff
+  (package
+    (name "php-sebastian-diff")
+    (version "4.0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/diff")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1pxy6g7q5q0nr3yiyimf2dbm0m80dx440mc8p2j2z2fccpyj85dd"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list git-minimal php-phpunit-phpunit php-symfony-process))
+    (synopsis "Diff implementation")
+    (description "This package contains a PHP implementation of a diff function.")
+    (home-page "https://github.com/sebastianbergmann/diff")
+    (license license:bsd-3)))
-- 
2.46.0