diff mbox series

[bug#67902,v4,80/98] gnu: Add php-symfony-polyfill-mbstring.

Message ID 20241007214530.4420-80-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-polyfill-mbstring): New variable.

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 4d3b5c11d0..e49c7589e0 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2163,3 +2163,23 @@  (define-public php-symfony-polyfill-intl-normalizer
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-polyfill-mbstring
+  (package
+    (name "php-symfony-polyfill-mbstring")
+    (version "1.28.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/polyfill-mbstring")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0845szanlrflafgjf7zy7624h9j5gxfdyrriv28443g932xd8dzr"))))
+    (build-system composer-build-system)
+    (synopsis "Polyfill for PHPs Mbstring extension")
+    (description "This package provides a partial, native PHP implementation
+for the Mbstring extension.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+