Subject: [bug#67902] [PATCH v4 83/98] gnu: Add php-symfony-stopwatch.

From: Nicolas Graves <[email-masked]>
Date: Mon, 7 Oct 2024 23:44:51 +0200

* gnu/packages/php-xyz.scm (php-symfony-stopwatch): New variable.

Change-Id: I71387577b53c9b91233e46177f7b93015f659af5
---
 gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 982de29656..ec9ebff50e 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2228,3 +2228,26 @@ (define-public php-symfony-service-contracts
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-stopwatch
+  (package
+    (name "php-symfony-stopwatch")
+    (version "6.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/stopwatch")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1q65jbmnshq9dcjm7kx25kymxqgpqds0bcbf8fjmdmp2sxbvzjxr"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-symfony-service-contracts))
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Profile PHP code")
+    (description "This package provides a way to profile code.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+
-- 
2.46.0