guix-patches
[Top][All Lists]
Advanced

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

[bug#67902] [PATCH 91/95] gnu: Add php-doctrine-dbal.


From: Nicolas Graves
Subject: [bug#67902] [PATCH 91/95] gnu: Add php-doctrine-dbal.
Date: Tue, 19 Dec 2023 14:58:12 +0100

* gnu/packages/php-xyz.scm (php-doctrine-dbal): New variable.

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

diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 2b246dee1e..125b9d0069 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -2478,3 +2478,39 @@ (define-public php-doctrine-annotations
     (home-page "https://www.doctrine-project.org/projects/annotations";)
     (license license:expat)))
 
+;; This package is placed here because it needs to be defined after
+;; php-symfony-cache due to package inheritance.
+(define-public php-doctrine-dbal
+  (package
+    (name "php-doctrine-dbal")
+    (version "3.7.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/doctrine/dbal";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0fj68qx0bsczc0hh5y86zk9a5p693lx0sav8lidrz5nagqjhlnf2"))))
+    (build-system composer-build-system)
+    (arguments
+     '(#:test-flags '("--bootstrap" "vendor/autoload.php")))
+    (inputs
+     (list php-doctrine-deprecations php-psr-cache php-psr-log))
+    (native-inputs
+     (list php-phpunit-phpunit
+           php-doctrine-cache
+           php-doctrine-event-manager
+           php-fig-log-test
+           (package/inherit php-symfony-cache
+             (arguments '(#:tests? #f))
+             (native-inputs '()))
+           php-symfony-console))
+    (synopsis "Handle databases in PHP")
+    (description
+     "This package provides a PHP database abstraction layer (DBAL) with many
+features for database schema introspection and management.")
+    (home-page "https://www.doctrine-project.org/projects/dbal";)
+    (license license:expat)))
+
-- 
2.41.0






reply via email to

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