guix-patches
[Top][All Lists]
Advanced

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

[bug#67902] [PATCH 81/95] gnu: Add php-symfony-service-contracts.


From: Nicolas Graves
Subject: [bug#67902] [PATCH 81/95] gnu: Add php-symfony-service-contracts.
Date: Tue, 19 Dec 2023 14:58:02 +0100

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

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 1e00b2e84d..b2be6b259c 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2210,3 +2210,29 @@ (define-public php-symfony-polyfill-uuid
     (home-page "https://symfony.com";)
     (license license:expat)))
 
+(define-public php-symfony-service-contracts
+  (package
+    (name "php-symfony-service-contracts")
+    (version "3.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/symfony/service-contracts";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01ilvij609w7mlrif68fc5vs3dw69pmwyci0gp8nh0wljbp9fw5c"))))
+    (build-system composer-build-system)
+    (arguments
+     `(#:test-flags '("--bootstrap" "vendor/autoload.php" "Test")))
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (inputs
+     (list php-psr-container))
+    (synopsis "PHP abstractions related to writing services")
+    (description "This package provides generic abstractions related to
+writing PHP services.")
+    (home-page "https://symfony.com";)
+    (license license:expat)))
+
-- 
2.41.0






reply via email to

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