guix-commits
[Top][All Lists]
Advanced

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

02/04: gnu: Add python-js2py.


From: guix-commits
Subject: 02/04: gnu: Add python-js2py.
Date: Tue, 30 Nov 2021 14:52:39 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 1a139682107582e663adf38ae217fc0029b10888
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Nov 30 20:48:34 2021 +0100

    gnu: Add python-js2py.
    
    * gnu/packages/python-web.scm (python-js2py): New variable.
---
 gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9939a1b..fcc2ed6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5960,6 +5960,29 @@ using a pure Python implementation.")
 esprima.js)")
     (license license:expat)))
 
+(define-public python-js2py
+  (package
+    (name "python-js2py")
+    (version "0.71")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Js2Py" version))
+       (sha256
+        (base32 "1kkzkys6dfcbdv51vqxr9cmak350ab4mmykb8dysx60lvl4i06x4"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #false)) ; none included
+    (propagated-inputs
+     `(("python-pyjsparser" ,python-pyjsparser)
+       ("python-six" ,python-six)
+       ("python-tzlocal" ,python-tzlocal)))
+    (home-page "https://github.com/PiotrDabkowski/Js2Py";)
+    (synopsis "JavaScript to Python translator")
+    (description
+     "This package provides a JavaScript to Python translator and a JavaScript
+interpreter written in pure Python.")
+    (license license:expat)))
+
 (define-public python-http-ece
   (package
     (name "python-http-ece")



reply via email to

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