diff mbox series

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

Message ID 20241007214530.4420-86-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-uid): New variable.

Change-Id: If448a44102c6afef02b388c4cc6b8cbf6dfa7df2
---
 gnu/packages/php-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 8bec5088e1..0449cbb6cc 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2302,3 +2302,27 @@  (define-public php-symfony-translation-contracts
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-uid
+  (package
+    (name "php-symfony-uid")
+    (version "6.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/uid")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "117xpazf9i5vkl961lr2b4d2245gka7xb5nnjw6x99aykv9hx640"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-symfony-polyfill-uuid))
+    (native-inputs
+     (list php-phpunit-phpunit php-symfony-console php-symfony-phpunit-bridge))
+    (synopsis "PHP API to generate UIDs")
+    (description "This package provides an object-oriented API to generate and
+represent UIDs.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+