From 071bd6b65358d59ea9813b55e399c7c2eb8a278a Mon Sep 17 00:00:00 2001 From: nixo Date: Thu, 10 Oct 2019 17:58:32 +0200 Subject: [PATCH] gnu: Add julia-compat. * gnu/packages/julia-xyz.scm (julia-compat-2.1.0): 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 5792f97f83..9ba6af5fa9 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -51,3 +51,25 @@ (description "@code{julia-inifile} is a julia package that defines an Inifile type that allows to interface with @file{.ini} files.") (license license:expat))) + +(define-public julia-compat + (package + (name "julia-compat") + (version "2.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaLang/Compat.jl") + (commit (string-append "v" version)))) + (file-name "Compat") + (sha256 + (base32 "024gqvhabranf398hwhb4m2w3a42kdg9zqj8s4pmjvaal14grw70")))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaLang/Compat.jl") + (synopsis "Compatibility across Julia versions") + (description "The Compat package is designed to ease interoperability +between older and newer versions of the Julia language. The Compat package +provides a macro that lets you use the latest syntax in a backwards-compatible +way.") + (license license:expat)))