diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 244c06bde3..d1d5e8624f 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -891,3 +891,30 @@ The goals of this package is to be: built-in parser by providing additional meta information along with the resultant AST.") (license license:expat))) + +(define-public julia-macrotools + (package + (name "julia-macrotools") + (version "0.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/MikeInnes/MacroTools.jl") + (commit (string-append "v" version)))) + (file-name "MacroTools") + (sha256 + (base32 "0sspp8na3cj7pni1b3dqzzpv2mkzln4f5w0n0wrh2jvn8rz1fjjx")))) + (propagated-inputs `(("julia-compat" ,julia-compat) + ("julia-tokenize" ,julia-tokenize) + ("julia-datastructures" ,julia-datastructures) + ("julia-cstparser" ,julia-cstparser))) + (build-system julia-build-system) + (home-page "https://mikeinnes.github.io/MacroTools.jl/stable/") + (synopsis "MacroTools provides a library for working with Julia code and +expressions") + (description "MacroTools provides a library of tools for working with +Julia code and expressions. This includes a powerful template-matching system +and code-walking tools that let you do deep transformations of code in a few +lines.Julia code and expressions.") + (license license:expat)))