From 617c787f70863c66f59a5fbcb5d4d41743c54262 Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 15:02:04 +0200 Subject: [PATCH] gnu: Add julia-cstparser. * gnu/packages/julia-xyz.scm (julia-cstparser-0.6.2): New variable. --- gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 50e6c8e0f9..244c06bde3 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -869,3 +869,25 @@ The goals of this package is to be: @end enumerate ") (license license:expat))) + +(define-public julia-cstparser + (package + (name "julia-cstparser") + (version "0.6.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/julia-vscode/CSTParser.jl") + (commit (string-append "v" version)))) + (file-name "CSTParser") + (sha256 + (base32 "04g9k646zv5adps5491mkksa71lfzrnvmd8qi8j6gpl1cd4as3qi")))) + (propagated-inputs `(("julia-tokenize" ,julia-tokenize))) + (build-system julia-build-system) + (home-page "https://github.com/julia-vscode/CSTParser.jl") + (synopsis "Concrete syntax tree parser for Julia") + (description "Parser for Julia using Tokenize that aims to extend the +built-in parser by providing additional meta information along with the +resultant AST.") + (license license:expat)))