guix-patches
[Top][All Lists]
Advanced

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

[bug#67902] [PATCH v5 10/54] gnu: Add php-doctrine-lexer.


From: Nicolas Graves
Subject: [bug#67902] [PATCH v5 10/54] gnu: Add php-doctrine-lexer.
Date: Fri, 18 Oct 2024 01:05:33 +0200

* gnu/packages/php-bootstrap.scm (php-doctrine-lexer): New variable.
---
 gnu/packages/php-bootstrap.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 192f4e5f5b..f55f0d6360 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -204,3 +204,26 @@ (define-public php-doctrine-instantiator
 instantiate objects in PHP without invoking their constructors.")
     (home-page "https://www.doctrine-project.org/projects/instantiator";)
     (license license:expat)))
+
+(define-public php-doctrine-lexer
+  (package
+    (name "php-doctrine-lexer")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/doctrine/lexer";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1kxwq8s9i7gndg66i1c5h6f21w8fc4smd8nj6sg2p0vzrg4m2l43"))))
+    (build-system composer-build-system)
+    (native-inputs
+     (list php-phpunit-phpunit))
+    (synopsis "PHP Doctrine Lexer parser library")
+    (description
+     "This package provides a Doctrine Lexer parser library that can be used
+in Top-Down, Recursive Descent Parsers in PHP.")
+    (home-page "https://www.doctrine-project.org/projects/lexer";)
+    (license license:expat)))
-- 
2.46.0






reply via email to

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