GNU bug report logs -
#38546
Update Julia to 1.3.1.
Previous Next
Reported by: nixo <anothersms <at> gmail.com>
Date: Mon, 9 Dec 2019 13:58:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
Message #53 received at 38546 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/julia-xyz.scm (julia-binaryprovider): New variable.
---
gnu/packages/julia-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 92ffde58e7..0f8e04b4d1 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -68,3 +68,36 @@ allows to interface with @file{.ini} files")
function takes in either an @code{Array{UInt8}}, a @code{ByteString} or an
@code{IO} object.")
(license license:expat)))
+
+(define-public julia-binaryprovider
+ (package
+ (name "julia-binaryprovider")
+ (version "0.5.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaPackaging/BinaryProvider.jl")
+ (commit (string-append "v" version))))
+ (file-name "BinaryProvider")
+ (sha256
+ (base32 "174jmg4w8ncgfhdvfnm0p4cnlayw31j4s9sksqlwz1sipywqvww7"))))
+ (propagated-inputs `(("julia-sha" ,julia-sha)))
+ ;; We don't really need BinaryProvider (as guix provides the binaries) but
+ ;; since it's a dependency of other packages we want to precompile it.
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-engine-probe
+ (lambda _
+ (substitute* "src/BinaryProvider.jl"
+ ;; Precompilation tries to download things from the internet,
+ ;; disable the download part
+ (("probe_platform_engines") "# probe_platform_engines"))
+ #t)))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/JuliaPackaging/BinaryProvider.jl")
+ (synopsis "Reliable Binary provider for Julia")
+ (description "@code{BinaryProvider.jl} simplifies the installation of
+binaries required by julia packages.")
+ (license license:expat)))
--
2.24.1
This bug report was last modified 5 years and 45 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.