diff mbox series

[bug#67902,v3,30/96] gnu: Add php-phpunit-php-text-template.

Message ID 20241007000046.25625-30-ngraves@ngraves.fr
State New
Headers show
Series [bug#67902,v3,01/96] gnu: Add abnfgen. | expand

Commit Message

Nicolas Graves Oct. 6, 2024, 11:59 p.m. UTC
* gnu/packages/php-xyz.scm (php-phpunit-php-text-template): New variable.

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

Patch

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 4544a0904c..0abc8e4278 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -779,3 +779,24 @@  (define-public php-phpunit-php-timer
     (home-page "https://github.com/sebastianbergmann/php-timer/")
     (license license:bsd-3)))
 
+(define-public php-phpunit-php-text-template
+  (package
+    (name "php-phpunit-php-text-template")
+    (version "3.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sebastianbergmann/php-text-template")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0q7wpi398sxwrzx7gsakk7vg2v9wv62bglbnd4w9m7svksriwn4a"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Simple template engine")
+    (description "This package contains a library for a simple templating engine.")
+    (home-page "https://github.com/sebastianbergmann/php-text-template/")
+    (license license:bsd-3)))
+