Subject: [PATCH v3 72/96] gnu: Add php-symfony-mime.

From: Nicolas Graves <[email-masked]>
Date: Mon, 7 Oct 2024 02:00:07 +0200

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

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index d7ed935a79..e9a6a0e0d3 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1913,3 +1913,36 @@ (define-public php-symfony-lock
     (home-page "https://symfony.com")
     (license license:expat)))
 
+(define-public php-symfony-mime
+  (package
+    (name "php-symfony-mime")
+    (version "6.3.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/mime")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zx83vii3kdj51kbdg515a7plq4rwfnfa7b4590ry2lrv0ryxvjp"))))
+    (build-system composer-build-system)
+    (arguments
+     '(#:test-flags '("--exclude" "network")
+       #:tests? #f))  ; TODO package php-symfony-serializer
+    (inputs
+     (list php-symfony-polyfill-intl-idn
+           php-symfony-deprecation-contracts
+           php-symfony-polyfill-mbstring))
+    (native-inputs
+     (list php-phpunit-phpunit
+           php-egulias-email-validator
+           php-symfony-dependency-injection
+           php-symfony-phpunit-bridge
+           php-symfony-property-info))
+    (synopsis "Manipulate MIME messages with PHP")
+    (description
+     "This package provides utilities to manipulate MIME messages in PHP.")
+    (home-page "https://symfony.com")
+    (license license:expat)))
+
-- 
2.46.0