Subject: [bug#67902] [PATCH v5 07/54] gnu: Add php-doctrine-deprecations.

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

* gnu/packages/php-bootstrap.scm (php-doctrine-deprecations): New variable.
---
 gnu/packages/php-bootstrap.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 3c6776c37e..2e263109cc 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -135,3 +135,27 @@ (define-public php-doctrine-common
 projects depend on such as better reflection support, proxies and much more.")
     (home-page "https://www.doctrine-project.org/projects/common")
     (license license:expat)))
+
+(define-public php-doctrine-deprecations
+  (package
+    (name "php-doctrine-deprecations")
+    (version "1.1.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/doctrine/deprecations")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0h6j374ayv67nga54ms16hk8ss6lsf2xhiyshnmhsgl2xw41lb2j"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-doctrine-lexer php-psr-cache))
+    (native-inputs
+     (list php-phpunit-phpunit php-psr-log))
+    (synopsis "Thin library around PHP deprecation strategies")
+    (description "This package provides a layer on top of PHP deprecations
+strategies, with no side-effects by default and customization options.")
+    (home-page "https://github.com/doctrine/deprecations")
+    (license license:expat)))
-- 
2.46.0