GNU bug report logs - #67902
[PATCH 00/95] PHP package chain.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 19 Dec 2023 13:48:02 UTC

Severity: normal

Tags: patch

Full log


Message #908 received at 67902 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 67902 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH v5 04/54] gnu: Add php-doctrine-annotations.
Date: Fri, 18 Oct 2024 01:05:27 +0200
* gnu/packages/php-bootstrap.scm (php-doctrine-annotations): New variable.
---
 gnu/packages/php-bootstrap.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index d5672aacbb..1c9da52a55 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -57,3 +57,27 @@ (define-public composer-classloader
 build its autoloading feature.  This package is used by the composer-build-system
 to build its own store-aware autoloading feature.")
     (license license:expat)))
+
+(define-public php-doctrine-annotations
+  (package
+    (name "php-doctrine-annotations")
+    (version "2.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/doctrine/annotations")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04hsykqcigvmv6rvwjay5scvjji6rcqzwdw9clzfa3xx50mbz38n"))))
+    (build-system composer-build-system)
+    ;; Native-inputs would make us include the whole symfony package chain.
+    (arguments (list #:tests? #f))
+    (inputs
+     (list php-doctrine-lexer php-psr-cache))
+    (synopsis "Docblock PHP Annotations Parser")
+    (description
+     "This package provides a Docblock PHP Annotations Parser.")
+    (home-page "https://www.doctrine-project.org/projects/annotations")
+    (license license:expat)))
-- 
2.46.0





This bug report was last modified 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.