summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Graves via Guix-patches via <guix-patches@gnu.org>2023-02-24 17:58:53 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-03-16 00:10:51 +0100
commit96801c11c80729add8ee5bcb4552c03f06081314 (patch)
treea81ed4796f52840d18b3cfba3f6d14904e60eb75
parent834440f65a900b83f1d0ea613c88a9192c64689e (diff)
downloadguix-96801c11c80729add8ee5bcb4552c03f06081314.tar.gz
gnu: Add julia-tokenize.
* gnu/packages/julia-xyz.scm (julia-tokenize): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/julia-xyz.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index a77d700129..cc17eb42cf 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -6240,6 +6240,26 @@ standard named test images and example images for the internal usage in
 package.")
     (license license:expat)))
 
+(define-public julia-tokenize
+  (package
+    (name "julia-tokenize")
+    (version "0.5.24")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/JuliaLang/Tokenize.jl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1l3dy6nad0viavzy26lfnhzpd3gcxgaq7yvm7h1ja280xsh60p3i"))))
+    (build-system julia-build-system)
+    (home-page "https://github.com/JuliaGPU/Tokenize.jl")
+    (synopsis "Tokenize a string or buffer containing Julia code")
+    (description "This package takes a string or buffer containing Julia code,
+performs lexical analysis and returns a stream of tokens.")
+    (license license:expat)))
+
 (define-public julia-tracker
   (package
     (name "julia-tracker")