GNU bug report logs -
#61762
[PATCH 0/4] Fixing emacs-julia-snail.
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 24 Feb 2023 16:57:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 61762 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/julia-xyz.scm (julia-cstparser): New variable.
---
gnu/packages/julia-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index ea2c9aa704..c5ecb21d80 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1252,6 +1252,40 @@ (define-public julia-crayons
styles available to terminals.")
(license license:expat)))
+(define-public julia-cstparser
+ (package
+ (name "julia-cstparser")
+ (version "3.3.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/julia-vscode/CSTParser.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "162jpcdph26ybg7rajbvfcbpnngygybpzk5bry4c4ppda3m1dl1i"))))
+ (build-system julia-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-or-ignore-tests
+ (lambda _
+ (substitute* "test/iterate.jl"
+ (("parser.jl")
+ (string-append #$output "/share/julia/loadpath/CSTParser/test/parser.jl"))
+ (("../src")
+ (string-append #$output "/share/julia/loadpath/CSTParser/src")))
+ (substitute* "test/check_base.jl"
+ (("testset.*" all)
+ (string-append all "return\n"))))))))
+ (inputs (list julia-tokenize))
+ (home-page "https://github.com/julia-vscode/CSTParser.jl")
+ (synopsis "Parser for Julia")
+ (description "This package provides a parser for Julia code.")
+ (license license:expat)))
+
(define-public julia-csv
(package
(name "julia-csv")
--
2.39.1
This bug report was last modified 2 years and 72 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.