From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 61762@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#61762] [PATCH 3/4] gnu: Add julia-cstparser.
Date: Fri, 24 Feb 2023 17:58:54 +0100 [thread overview]
Message-ID: <20230224165855.962-3-ngraves@ngraves.fr> (raw)
In-Reply-To: <20230224165855.962-1-ngraves@ngraves.fr>
* 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
next prev parent reply other threads:[~2023-02-24 17:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 16:56 [bug#61762] [PATCH 0/4] Fixing emacs-julia-snail Nicolas Graves via Guix-patches via
2023-02-24 16:58 ` [bug#61762] [PATCH 1/4] gnu: emacs-julia-snail: Update include list Nicolas Graves via Guix-patches via
2023-02-24 16:58 ` [bug#61762] [PATCH 2/4] gnu: Add julia-tokenize Nicolas Graves via Guix-patches via
2023-02-24 16:58 ` Nicolas Graves via Guix-patches via [this message]
2023-02-24 16:58 ` [bug#61762] [PATCH 4/4] gnu: emacs-julia-snail: Update propagated-inputs Nicolas Graves via Guix-patches via
2023-03-15 23:27 ` bug#61762: [PATCH 1/4] gnu: emacs-julia-snail: Update include list Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230224165855.962-3-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=61762@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).