guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67902] [PATCH 23/95] gnu: Add php-phpspec-prophecy.


From: Nicolas Graves
Subject: [bug#67902] [PATCH 23/95] gnu: Add php-phpspec-prophecy.
Date: Tue, 19 Dec 2023 14:57:04 +0100

* gnu/packages/php-xyz.scm (php-phpspec-prophecy): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 9c7230d1d3..590c352c72 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -620,3 +620,30 @@ (define-public php-phpdocumentor-type-resolver
     (home-page "http://www.phpdoc.org";)
     (license license:expat)))
 
+(define-public php-phpspec-prophecy
+  (package
+    (name "php-phpspec-prophecy")
+    (version "1.17.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/phpspec/prophecy";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1hl6n7y0f68hlsw174izqjph2y7f195dggr4n8sfzffw3iqya0w5"))))
+    (build-system composer-build-system)
+    (inputs
+     (list php-sebastian-recursion-context
+           php-doctrine-instantiator
+           php-sebastian-comparator
+           php-phpdocumentor-reflection-docblock))
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "Mocking framework for PHP 5.3+")
+    (description "This package contains a mocking framework for testing PHP
+5.3+ projects.")
+    (home-page "https://github.com/phpspec/prophecy";)
+    (license license:expat)))
+
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]