diff mbox series

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

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

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

Patch

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