Subject: [PATCH v5 50/54] gnu: Add php-symfony-polyfill-ctype.

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

* gnu/packages/php-bootstrap.scm (php-symfony-polyfill-ctype): New variable.
---
 gnu/packages/php-bootstrap.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index d4942d8d18..446ceda012 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -1209,3 +1209,23 @@ (define-public php-sebastian-version
 number of Git-hosted PHP projects.")
     (home-page "https://github.com/sebastianbergmann/version")
     (license license:bsd-3)))
+
+(define-public php-symfony-polyfill-ctype
+  (package
+    (name "php-symfony-polyfill-ctype")
+    (version "1.31.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/polyfill-ctype")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0dgyc67k9qvq33w0k78vn0pcd67s1yibil1sk6hcx57db59bmnp8"))))
+    (build-system composer-build-system)
+    (synopsis "Ctype functions for older PHP versions")
+    (description "This component provides @code{ctype_*} functions to users
+who run php versions without the ctype extension.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
-- 
2.46.0