summary refs log tree commit diff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2022-01-25 18:47:09 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2022-01-25 18:47:09 +0100
commita58bcf927c02f17c5b24fc935393932096127c4a (patch)
tree5c17cc6b37a1861c38a78da63ee7b33f179488c2
parent605cb7b4bea032efc77e02b12108af9bc5061a72 (diff)
downloadguix-a58bcf927c02f17c5b24fc935393932096127c4a.tar.gz
gnu: Add python-esprima.
* gnu/packages/python-xyz.scm (python-esprima): New variable.
-rw-r--r--gnu/packages/python-xyz.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8bd5f655ba..c8ba314d38 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28768,3 +28768,21 @@ implementation, so that it supports any Galois field higher than 2^3,
 but not binary streams.")
     (license license:public-domain)))
 
+(define-public python-esprima
+  (package
+    (name "python-esprima")
+    (version "4.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "esprima" version))
+        (sha256
+          (base32 "1vi32g991lxcxzmncfiszh8m9bwkh4887szskkdi0a9wdn3imnq8"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/Kronuz/esprima-python")
+    (synopsis
+      "ECMAScript parsing infrastructure for analysis in Python")
+    (description
+      "This package provides ECMAScript parsing infrastructure for
+multipurpose analysis in Python.")
+    (license license:bsd-3)))