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

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

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

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 45e20c9fd9..192f4e5f5b 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -182,3 +182,25 @@ (define-public php-doctrine-event-manager
 system that was built to be used with the various Doctrine projects.")
     (home-page "https://www.doctrine-project.org/projects/event-manager")
     (license license:expat)))
+
+(define-public php-doctrine-instantiator
+  (package
+    (name "php-doctrine-instantiator")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/doctrine/instantiator")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1y8ajlwdzrw92lx6bnc5p7lwgrgbf602lqlyxfrsff7x538as73n"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Utility for instantiating PHP objects")
+    (description "This package provides a small, lightweight utility to
+instantiate objects in PHP without invoking their constructors.")
+    (home-page "https://www.doctrine-project.org/projects/instantiator")
+    (license license:expat)))
-- 
2.46.0