guix-patches
[Top][All Lists]
Advanced

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

[bug#50021] [PATCH 1/7] gnu: Add python-phply.


From: Vinicius Monego
Subject: [bug#50021] [PATCH 1/7] gnu: Add python-phply.
Date: Thu, 12 Aug 2021 01:31:17 +0000

* gnu/packages/python-xyz.scm (python-phply): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ea4b8482ec..6cdfc94fc2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17707,6 +17707,28 @@ current test, while only declaring the test-specific 
fields")
 (define-public python2-factory-boy
   (package-with-python2 python-factory-boy))
 
+(define-public python-phply
+  (package
+    (name "python-phply")
+    (version "1.2.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "phply" version))
+       (sha256
+        (base32 "0gwz4j0pp479bwg6iwk7kcdbr1s4x9fikqri0b4ddn7vi198fibx"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (propagated-inputs
+     `(("python-ply" ,python-ply)))
+    (home-page "https://github.com/viraptor/phply";)
+    (synopsis "Lexer and parser for PHP source implemented using PLY")
+    (description
+     "@code{phply} is a parser for the PHP programming language written using
+PLY, a Lex/YACC-style parser generator toolkit for Python.")
+    (license license:bsd-3)))
+
 (define-public python-translate-toolkit
   (package
     (name "python-translate-toolkit")
-- 
2.30.2






reply via email to

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