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 #953 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 19/54] gnu: Add php-phpdocumentor-reflection-docblock.
Date: Fri, 18 Oct 2024 01:05:42 +0200
* gnu/packages/php-bootstrap.scm (php-phpdocumentor-reflection-docblock): New variable.
---
 gnu/packages/php-bootstrap.scm | 35 ++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index bf0c7f6ca0..bf9005f307 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -455,3 +455,38 @@ (define-public php-phpdocumentor-reflection-common
 to analyze the code structure.")
     (home-page "http://www.phpdoc.org")
     (license license:expat)))
+
+(define-public php-phpdocumentor-reflection-docblock
+  (package
+    (name "php-phpdocumentor-reflection-docblock")
+    (version "5.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/phpDocumentor/ReflectionDocBlock")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0d7j45b84191f0z8fn5a9fmfjfc3apa9g02pbm4b27w4yybfaqjj"))))
+    (build-system composer-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'phpunit-point-to-right-listener
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "phpunit.xml.dist"
+               (("vendor\
+(/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener\\.php)" a file)
+                (search-input-file
+                 inputs (string-append "share/web" file)))))))))
+    (native-inputs
+     (list php-phpunit-phpunit php-mockery-mockery))
+    (inputs (list php-webmozart-assert
+                  php-phpdocumentor-reflection-common
+                  php-phpdocumentor-type-resolver))
+    (synopsis "Library for retrieving documentation in code from the code")
+    (description "This package provides PHP support for annotations via
+DocBlocks or otherwise retrieve information that is embedded in a DocBlock.")
+    (home-page "https://github.com/phpDocumentor/ReflectionDocBlock")
+    (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.