diff mbox series

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

Message ID 20241007214530.4420-83-ngraves@ngraves.fr
State New
Headers show
Series [bug#67902,v4,01/98] gnu: Add abnfgen. | expand

Commit Message

Nicolas Graves Oct. 7, 2024, 9:44 p.m. UTC
* 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 mbox series

Patch

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)))
+