From 67c353f506bd25c0ed0dfead6fb927f6ca99bc23 Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 15:03:32 +0200 Subject: [PATCH] gnu: Add julia-macrotools. * gnu/packages/julia-xyz.scm (julia-macrotools-0.5.1): New variable. --- gnu/packages/julia-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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)))