1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
3 ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages julia-xyz)
21 #:use-module ((guix licenses) #:prefix license:)
22 #:use-module (guix packages)
23 #:use-module (guix git-download)
24 #:use-module (guix build-system julia)
25 #:use-module (gnu packages tls))
27 (define-public julia-abstractffts
29 (name "julia-abstractffts")
35 (url "https://github.com/JuliaMath/AbstractFFTS.jl")
36 (commit (string-append "v" version))))
37 (file-name (git-file-name name version))
39 (base32 "0083pwdyxjb04i330ir9pc8kmp4bwk59lx1jgc9qi05y8j7xzbp0"))))
40 (build-system julia-build-system)
41 (inputs ;required for tests
42 `(("julia-unitful" ,julia-unitful)))
43 (home-page "https://github.com/JuliaGPU/Adapt.jl")
44 (synopsis "General framework for fast Fourier transforms (FFTs)")
45 (description "This package allows multiple FFT packages to co-exist with
46 the same underlying @code{fft(x)} and @code{plan_fft(x)} interface. It is
47 mainly not intended to be used directly. Instead, developers of packages that
48 implement FFTs (such as @code{FFTW.jl} or @code{FastTransforms.jl}) extend the
49 types/functions defined in AbstractFFTs.")
50 (license license:expat)))
52 (define-public julia-adapt
60 (url "https://github.com/JuliaGPU/Adapt.jl")
61 (commit (string-append "v" version))))
62 (file-name (git-file-name name version))
64 (base32 "1lks6k3a1gvwlplld47nh6xfy3nnlpc0vhkzg6zg0qn33qdmavrg"))))
65 (build-system julia-build-system)
66 (home-page "https://github.com/JuliaGPU/Adapt.jl")
67 (synopsis "Package providing the @code{adapt} function, similar to @code{convert}")
68 (description "This Julia package provides the @code{adapt(T, x)} function
69 acts like @code{convert(T, x)}, but without the restriction of returning a
70 @code{T}. This allows you to \"convert\" wrapper types like @code{Adjoint} to
71 be GPU compatible without throwing away the wrapper.")
72 (license license:expat)))
74 (define-public julia-benchmarktools
76 (name "julia-benchmarktools")
82 (url "https://github.com/JuliaCI/BenchmarkTools.jl")
83 (commit (string-append "v" version))))
84 (file-name (git-file-name name version))
86 (base32 "0nsx21m3i5h22lkgyrmfj6r085va6ag40khwssqs8y7l0wz98lvp"))))
87 (build-system julia-build-system)
88 (propagated-inputs `(("julia-json" ,julia-json)))
89 (home-page "https://github.com/JuliaCI/BenchmarkTools.jl")
90 (synopsis "Benchmarking framework for the Julia language")
91 (description "@code{BenchmarkTools.jl} makes performance tracking of Julia
92 code easy by supplying a framework for writing and running groups of
93 benchmarks as well as comparing benchmark results.")
94 (license license:expat)))
96 (define-public julia-bufferedstreams
98 (name "julia-bufferedstreams")
104 (url "https://github.com/BioJulia/BufferedStreams.jl")
105 (commit (string-append "v" version))))
106 (file-name (git-file-name name version))
108 (base32 "0sf4sxbq55mg2pwxyxf0c839z1lk0yxg8nmb7617bfbvw31cp88z"))))
109 (build-system julia-build-system)
110 ;; The package is old and tests are using undefined functions. They also
112 ;; https://travis-ci.org/BioJulia/BufferedStreams.jl/jobs/491050182
115 #:julia-package-name "BufferedStreams"))
116 (propagated-inputs `(("julia-compat" ,julia-compat)))
117 (home-page "https://github.com/BioJulia/BufferedStreams.jl")
118 (synopsis "Fast composable IO streams")
119 (description "@code{BufferedStreams.jl} provides buffering for IO
120 operations. It can wrap any @code{IO} type automatically making incremental
121 reading and writing faster.")
122 (license license:expat)))
124 (define-public julia-calculus
126 (name "julia-calculus")
132 (url "https://github.com/JuliaMath/Calculus.jl")
133 (commit (string-append "v" version))))
134 (file-name (git-file-name name version))
136 (base32 "0xh0ak2ycsjw2h86ja24ch3kn2d18zx3frrds78aimwdnqb1gdc2"))))
137 (build-system julia-build-system)
138 (home-page "https://github.com/JuliaMath/Calculus.jl")
139 (synopsis "Common utilities for automatic differentiation")
140 (description "This package provides tools for working with the basic
141 calculus operations of differentiation and integration. The @code{Calculus}
142 package produces approximate derivatives by several forms of finite
143 differencing or produces exact derivative using symbolic differentiation. It
144 can also be used to compute definite integrals by different numerical
146 (license license:expat)))
148 (define-public julia-chainrulescore
150 (name "julia-chainrulescore")
156 (url "https://github.com/JuliaDiff/ChainRulesCore.jl")
157 (commit (string-append "v" version))))
158 (file-name (git-file-name name version))
160 (base32 "1k0iayw39n1ikkkhvyi4498vsnzc94skqs41gnd15632gxjfvki4"))))
161 (build-system julia-build-system)
162 (inputs ;required for tests
163 `(("julia-benchmarktools" ,julia-benchmarktools)
164 ("julia-staticarrays" ,julia-staticarrays)))
166 `(("julia-compat" ,julia-compat)))
167 (home-page "https://github.com/JuliaDiff/ChainRulesCore.jl")
168 (synopsis "Common utilities used by downstream automatic differentiation tools")
169 (description "The package provides a light-weight dependency for defining
170 sensitivities for functions without the need to depend on ChainRules itself.")
171 (license license:expat)))
173 (define-public julia-chainrulestestutils
175 (name "julia-chainrulestestutils")
181 (url "https://github.com/JuliaDiff/ChainRulesTestUtils.jl")
182 (commit (string-append "v" version))))
183 (file-name (git-file-name name version))
185 (base32 "1pzs947adnb3cx1qd0cxp2fidk9szz0zsqbas90z1lhydykkvkil"))))
186 (build-system julia-build-system)
188 `(("julia-chainrulescore" ,julia-chainrulescore)
189 ("julia-compat" ,julia-compat)
190 ("julia-finitedifference" ,julia-finitedifferences)))
191 (home-page "https://github.com/JuliaDiff/ChainRulesTestUtils.jl")
192 (synopsis "Common utilities used by downstream automatic differentiation tools")
193 (description "This package is designed to help in testing
194 @code{ChainRulesCore.frule} and @code{ChainRulesCore.rrule} methods. The main
195 entry points are @code{ChainRulesTestUtils.frule_test},
196 @code{ChainRulesTestUtils.rrule_test}, and
197 @code{ChainRulesTestUtils.test_scalar}. Currently this is done via testing the
198 rules against numerical differentiation (using @code{FiniteDifferences.jl}).
200 @code{ChainRulesTestUtils.jl} is separated from @code{ChainRulesCore.jl} so that it
201 can be a test-only dependency, allowing it to have potentially heavy
202 dependencies, while keeping @code{ChainRulesCore.jl} as light-weight as possible.")
203 (license license:expat)))
205 (define-public julia-colors
207 (name "julia-colors")
213 (url "https://github.com/JuliaGraphics/Colors.jl")
214 (commit (string-append "v" version))))
215 (file-name (git-file-name name version))
217 (base32 "156zsszgwh6bmznsan0zyha6yvcxw3c5mvc5vr2qfsgxbyh36ln6"))))
218 (build-system julia-build-system)
220 `(("julia-colortypes" ,julia-colortypes)
221 ("julia-fixedpointnumbers" ,julia-fixedpointnumbers)
222 ("julia-reexport" ,julia-reexport)))
223 (home-page "https://github.com/JuliaGraphics/Colors.jl")
224 (synopsis "Tools for dealing with color")
225 (description "This package provides a wide array of functions for dealing
226 with color. This includes conversion between colorspaces, measuring distance
227 between colors, simulating color blindness, parsing colors, and generating
228 color scales for graphics.")
229 (license license:expat)))
231 (define-public julia-colortypes
233 (name "julia-colortypes")
239 (url "https://github.com/JuliaGraphics/ColorTypes.jl")
240 (commit (string-append "v" version))))
241 (file-name (git-file-name name version))
243 (base32 "176hr3qbz7lncmykks2qaj3cqisnzim7wi5jwsca9ld26wwyvyqq"))))
245 '(#:tests? #f)) ;require Documenter, not packaged yet
246 (build-system julia-build-system)
248 `(("julia-fixedpointnumbers" ,julia-fixedpointnumbers)))
249 (home-page "https://github.com/JuliaGraphics/ColorTypes.jl")
250 (synopsis "Basic color types and constructor")
251 (description "This minimalistic package serves as the foundation for
252 working with colors in Julia. It defines basic color types and their
253 constructors, and sets up traits and show methods to make them easier to work
255 (license license:expat)))
257 (define-public julia-commonsubexpressions
259 (name "julia-commonsubexpressions")
265 (url "https://github.com/rdeits/CommonSubexpressions.jl")
266 (commit (string-append "v" version))))
267 (file-name (git-file-name name version))
269 (base32 "0mgy90kk8ksv3l720kkk04gnhn4aqhh2dj4sp3x8yy3limngfjay"))))
270 (build-system julia-build-system)
272 `(("julia-macrotools" ,julia-macrotools)))
273 (home-page "https://github.com/rdeits/CommonSubexpressions.jl")
274 (synopsis "Macro @code{@cse}")
275 (description "This package provides the @code{@cse} macro, which performs
276 common subexpression elimination.")
277 (license license:expat)))
279 (define-public julia-compat
281 (name "julia-compat")
287 (url "https://github.com/JuliaLang/Compat.jl")
288 (commit (string-append "v" version))))
289 (file-name (git-file-name name version))
291 (base32 "1m4r5i8mq29xjp3mllh6047n5a78sdyld57m15anrnsjgaapcgby"))))
292 (build-system julia-build-system)
293 (home-page "https://github.com/JuliaLang/Compat.jl")
294 (synopsis "Compatibility across Julia versions")
295 (description "The Compat package is designed to ease interoperability
296 between older and newer versions of the Julia language. The Compat package
297 provides a macro that lets you use the latest syntax in a backwards-compatible
299 (license license:expat)))
301 (define-public julia-constructionbase
302 (let ((commit "de77e2865b554f9b078fd8c35b593cce0554ae02"))
304 (name "julia-constructionbase")
305 (version "1.1.0") ;tag not created upstream
310 (url "https://github.com/JuliaObjects/ConstructionBase.jl")
312 (file-name (git-file-name name version))
314 (base32 "1y79sfj0rds1skl9j16p9161hwa9khm0xc2m4hgjcbh5zzvyr57v"))))
315 (build-system julia-build-system)
316 (home-page "https://juliaobjects.github.io/ConstructionBase.jl/dev/")
317 (synopsis "Primitive functions for construction of objects")
318 (description "This very lightweight package provides primitive functions
319 for construction of objects.")
320 (license license:expat))))
322 (define-public julia-datastructures
324 (name "julia-datastructures")
330 (url "https://github.com/JuliaCollections/DataStructures.jl")
331 (commit (string-append "v" version))))
332 (file-name (git-file-name name version))
334 (base32 "0hdqp8ipsqdw5bqqkdvz4j6n67x80sj5azr9vzyxwjfsgkfbnk2l"))))
336 `(("julia-compat" ,julia-compat)
337 ("julia-orderedcollections" ,julia-orderedcollections)))
338 (build-system julia-build-system)
339 (home-page "https://github.com/JuliaCollections/DataStructures.jl")
340 (synopsis "Julia module providing different data structures")
341 (description "This package implements a variety of data structures,
342 including, @code{CircularBuffer}, @code{Queue}, @code{Stack},
343 @code{Accumulators}, @code{LinkedLists}, @code{SortedDicts} and many others.")
344 (license license:expat)))
346 (define-public julia-diffresults
348 (name "julia-diffresults")
354 (url "https://github.com/JuliaDiff/DiffResults.jl")
355 (commit (string-append "v" version))))
356 (file-name (git-file-name name version))
358 (base32 "1w6p3yxajvclax5b9g7cr2jmbc7lvr5nk4gq0aljxdycdq1d2y3v"))))
360 `(("julia-staticarrays" ,julia-staticarrays)))
361 (build-system julia-build-system)
362 (home-page "https://github.com/JuliaDiff/DiffResults.jl")
363 (synopsis "In-place differentiation methods of primal values at multi-order")
364 (description "This package provides the @code{DiffResult} type, which can
365 be passed to in-place differentiation methods instead of an output buffer.")
366 (license license:expat)))
368 (define-public julia-difftests
370 (name "julia-difftests")
376 (url "https://github.com/JuliaDiff/DiffTests.jl")
377 (commit (string-append "v" version))))
378 (file-name (git-file-name name version))
380 (base32 "1rxpnd5zi3pxgdd38l5jm2sxc3q6p7g57fqgll2dsiin07y3my57"))))
381 (build-system julia-build-system)
382 (home-page "https://github.com/JuliaDiff/DiffTests.jl")
383 (synopsis "Common test functions for differentiation tools")
384 (description "This package contains a common suite of test functions for
385 stressing the robustness of differentiation tools.")
386 (license license:expat)))
388 (define-public julia-example
389 (let ((commit "f968c69dea24f851d0c7e686db23fa55826b5388"))
391 (name "julia-example")
392 (version "0.5.4") ;tag not created upstream
397 (url "https://github.com/JuliaLang/Example.jl")
399 (file-name (git-file-name name version))
401 (base32 "1v3z0d6gh6wfbypffy9m9rhh36px6fm5wjzq0y6rbmc95r0qpqlx"))))
402 (build-system julia-build-system)
403 (home-page "https://github.com/JuliaLang/Example.jl")
404 (synopsis "Module providing examples")
405 (description "This package provides various examples.")
406 (license license:expat))))
408 (define-public julia-fillarrays
410 (name "julia-fillarrays")
416 (url "https://github.com/JuliaArrays/FillArrays.jl")
417 (commit (string-append "v" version))))
418 (file-name (git-file-name name version))
420 (base32 "1q1qn9pb5dmppddnmf8gggdqyvivqh3ffvbblhn37smcf9r5sy7d"))))
421 (build-system julia-build-system)
422 (inputs ;required by tests
423 `(("julia-staticarrays" ,julia-staticarrays)))
424 (home-page "https://github.com/JuliaArrays/FillArrays.jl")
425 (synopsis "Lazy matrix representation")
426 (description "This package allows to lazily represent matrices filled with
427 a single entry, as well as identity matrices. This package exports the
428 following types: @code{Eye}, @code{Fill}, @code{Ones}, @code{Zeros},
429 @code{Trues} and @code{Falses}.")
430 (license license:expat)))
432 (define-public julia-finitedifferences
434 (name "julia-finitedifferences")
440 (url "https://github.com/JuliaDiff/FiniteDifferences.jl")
441 (commit (string-append "v" version))))
442 (file-name (git-file-name name version))
444 (base32 "0dcx34026xdpfmbjls3mrknl8ww62kxxfr77kfihbazsfg2gp5b4"))))
445 (build-system julia-build-system)
447 `(("julia-benchmarktools" ,julia-benchmarktools)))
449 `(("julia-chainrulescore" ,julia-chainrulescore)
450 ("julia-richardson" ,julia-richardson)
451 ("julia-staticarrays" ,julia-staticarrays)))
452 (home-page "https://github.com/JuliaDiff/FiniteDifferences.jl")
453 (synopsis "Estimates derivatives with finite differences")
454 (description "This package calculates approximate derivatives numerically
455 using finite difference.")
456 (license license:expat)))
458 (define-public julia-fixedpointnumbers
460 (name "julia-fixedpointnumbers")
466 (url "https://github.com/JuliaMath/FixedPointNumbers.jl")
467 (commit (string-append "v" version))))
468 (file-name (git-file-name name version))
470 (base32 "0j0n40n04q9sk68wh9jq90m6c67k4ws02k41djjzkrqmpzv4rcdi"))))
471 (build-system julia-build-system)
474 (modify-phases %standard-phases
475 (add-after 'unpack 'disable-failing-test
476 (lambda* (#:key outputs #:allow-other-keys)
477 (substitute* "test/fixed.jl"
478 ;; A deprecation warning is not thrown
479 (("@test_logs.*:warn" all) (string-append "# " all)))
481 (propagated-inputs `(("julia-compat" ,julia-compat)))
482 (home-page "https://github.com/JuliaMath/FixedPointNumbers.jl")
483 (synopsis "Fixed point types for Julia")
484 (description "@code{FixedPointNumbers.jl} implements fixed-point number
485 types for Julia. A fixed-point number represents a fractional, or
486 non-integral, number. In contrast with the more widely known floating-point
487 numbers, with fixed-point numbers the decimal point doesn't \"float\":
488 fixed-point numbers are effectively integers that are interpreted as being
489 scaled by a constant factor. Consequently, they have a fixed number of
490 digits (bits) after the decimal (radix) point.")
491 (license license:expat)))
493 (define-public julia-http
501 (url "https://github.com/JuliaWeb/HTTP.jl")
502 (commit (string-append "v" version))))
503 (file-name (git-file-name name version))
505 (base32 "0ij0yci13c46p92m4zywvcs02nn8pm0abyfffiyhxvva6hq48lyl"))))
506 (build-system julia-build-system)
509 (modify-phases %standard-phases
510 (add-before 'install 'disable-network-tests
512 (substitute* "test/runtests.jl"
513 (("\"async.jl") "# \"async.jl")
514 (("\"client.jl") "# \"client.jl"))
515 (substitute* "test/aws4.jl"
516 (("@testset.*HTTP.request with AWS authentication.*" all)
517 (string-append all "return\n")))
518 (substitute* "test/insert_layers.jl"
519 (("@testset.*Inserted final layer runs handler.*" all)
520 (string-append all "return\n")))
521 (substitute* "test/multipart.jl"
522 (("@testset \"Setting of Content-Type.*" all)
523 (string-append all "return\n"))
524 (("@testset \"Deprecation of .*" all)
525 (string-append all "return\n")))
526 (substitute* "test/websockets.jl"
527 (("@testset.*External Host.*" all)
528 (string-append all "return\n")))
529 (substitute* "test/messages.jl"
530 (("@testset.*Read methods.*" all)
531 (string-append all "return\n"))
532 (("@testset.*Body - .*" all)
533 (string-append all "return\n"))
534 (("@testset.*Write to file.*" all)
535 (string-append all "return\n")))
538 `(("julia-inifile" ,julia-inifile)
539 ("julia-mbedtls" ,julia-mbedtls)
540 ("julia-uris" ,julia-uris)))
541 ;; required for tests
543 `(("julia-json" ,julia-json)
544 ("julia-bufferedstreams" ,julia-bufferedstreams)))
545 (home-page "https://juliaweb.github.io/HTTP.jl/")
546 (synopsis "HTTP support for Julia")
547 (description "@code{HTTP.jl} is a Julia library for HTTP Messages,
548 implementing both a client and a server.")
549 (license license:expat)))
551 (define-public julia-inifile
553 (name "julia-inifile")
559 (url "https://github.com/JuliaIO/IniFile.jl")
560 (commit "8ba59958495fa276d6489d2c3903e765d75e0bc0")))
561 (file-name (git-file-name name version))
563 (base32 "11h6f99jpbg729lplw841m68jprka7q3n8yw390bndlmcdsjabpd"))))
564 (build-system julia-build-system)
565 (home-page "https://github.com/JuliaIO/IniFile.jl")
566 (synopsis "Reading Windows-style INI files")
567 (description "This is a Julia package that defines an IniFile type that
568 allows to interface with @file{.ini} files.")
569 (license license:expat)))
571 (define-public julia-irtools
573 (name "julia-irtools")
579 (url "https://github.com/FluxML/IRTools.jl")
580 (commit (string-append "v" version))))
581 (file-name (git-file-name name version))
583 (base32 "0wwzy77jcdnffnd5fr6xan7162g4wydz67igrq82wflwnrhlcx5y"))))
585 '(#:tests? #f)) ;require Documenter, not packaged yet
586 (build-system julia-build-system)
588 `(("julia-macrotools" ,julia-macrotools)))
589 (home-page "https://github.com/FluxML/IRTools.jl")
590 (synopsis "Simple and flexible IR format")
591 (description "This package provides a simple and flexible IR format,
592 expressive enough to work with both lowered and typed Julia code, as well as
593 external IRs. It can be used with Julia metaprogramming tools such as
595 (license license:expat)))
597 (define-public julia-jllwrappers
599 (name "julia-jllwrappers")
605 (url "https://github.com/JuliaPackaging/JLLWrappers.jl")
606 (commit (string-append "v" version))))
607 (file-name (git-file-name name version))
609 (base32 "1sj3mi2dcc13apqfpy401wic5n0pgbck1p98b2g3zw0mln9s83m4"))))
611 ;; Wants to download stuff
614 (modify-phases %standard-phases
615 (add-after 'unpack 'custom-override-path
616 (lambda* (#:key inputs #:allow-other-keys)
617 ;; Make @generate_wrapper_header take an optional argument that
618 ;; guix packagers can pass to override the default "override"
619 ;; binary path. This won't be needed when something like
620 ;; https://github.com/JuliaPackaging/JLLWrappers.jl/pull/27
622 (substitute* "src/wrapper_generators.jl"
623 (("generate_wrapper_header.*")
624 "generate_wrapper_header(src_name, override_path = nothing)\n")
625 (("pkg_dir = .*" all)
627 all "\n" "override = something(override_path,"
628 "joinpath(dirname(pkg_dir), \"override\"))\n"))
629 (("@static if isdir.*") "@static if isdir($override)\n")
630 (("return joinpath.*") "return $override\n"))
632 (build-system julia-build-system)
633 (home-page "https://github.com/JuliaPackaging/JLLWrappers.jl")
634 (synopsis "Julia macros used by JLL packages")
635 (description "This package contains Julia macros that enable JLL packages
636 to generate themselves. It is not intended to be used by users, but rather is
637 used in autogenerated packages via @code{BinaryBuilder.jl}.")
638 (license license:expat)))
640 (define-public julia-json
648 (url "https://github.com/JuliaIO/JSON.jl")
649 (commit (string-append "v" version))))
650 (file-name (git-file-name name version))
652 (base32 "1f9k613kbknmp4fgjxvjaw4d5sfbx8a5hmcszmp1w9rqfqngjx9m"))))
653 (build-system julia-build-system)
655 `(("julia-datastructures" ,julia-datastructures)
656 ("julia-fixedpointnumbers" ,julia-fixedpointnumbers)
657 ("julia-parsers" ,julia-parsers)
658 ("julia-offsetarrays" ,julia-offsetarrays)))
659 (home-page "https://github.com/JuliaIO/JSON.jl")
660 (synopsis "JSON parsing and printing library for Julia")
661 (description "@code{JSON.jl} is a pure Julia module which supports parsing
662 and printing JSON documents.")
663 (license license:expat)))
665 (define-public julia-macrotools
667 (name "julia-macrotools")
673 (url "https://github.com/FluxML/MacroTools.jl")
674 (commit (string-append "v" version))))
675 (file-name (git-file-name name version))
677 (base32 "0k4z2hyasd9cwxf4l61zk3w4ajs44k69wx6z1ghdn8f5p8xy217f"))))
678 (build-system julia-build-system)
679 (home-page "https://fluxml.ai/MacroTools.jl")
680 (synopsis "Tools for working with Julia code and expressions")
681 (description "This library provides tools for working with Julia code and
682 expressions. This includes a template-matching system and code-walking tools
683 that let you do deep transformations of code.")
684 (license license:expat)))
686 (define-public julia-mbedtls
688 (name "julia-mbedtls")
694 (url "https://github.com/JuliaLang/MbedTLS.jl")
695 (commit (string-append "v" version))))
696 (file-name (git-file-name name version))
698 (base32 "0zjzf2r57l24n3k0gcqkvx3izwn5827iv9ak0lqix0aa5967wvfb"))))
699 (build-system julia-build-system)
702 (modify-phases %standard-phases
703 (add-before 'install 'disable-network-tests
704 ;; Tries to connect to httpbin.org
706 (substitute* "test/runtests.jl"
707 (("testhost =") "return #"))
709 (propagated-inputs `(("julia-mbedtls-jll" ,julia-mbedtls-jll)))
710 (home-page "https://github.com/JuliaLang/MbedTLS.jl")
711 (synopsis "Apache's mbed TLS library wrapper")
712 (description "@code{MbedTLS.jl} provides a wrapper around the @code{mbed
713 TLS} and cryptography C libary for Julia.")
714 (license license:expat)))
716 (define-public julia-mbedtls-jll
718 (name "julia-mbedtls-jll")
719 ;; version 2.25.0+0 is not compatible with current mbedtls 2.23.0,
720 ;; upgrade this when mbedtls is updated in guix
726 (url "https://github.com/JuliaBinaryWrappers/MbedTLS_jll.jl")
727 (commit (string-append "MbedTLS-v" version))))
728 (file-name (git-file-name name version))
730 (base32 "0kk9dlxdh7yms21npgrdfmjbj8q8ng6kdhrzw3jr2d7rp696kp99"))))
731 (build-system julia-build-system)
733 '(#:tests? #f ; No runtests.jl
735 (modify-phases %standard-phases
736 (add-after 'unpack 'override-binary-path
737 (lambda* (#:key inputs #:allow-other-keys)
741 (("generate_wrapper_header.*")
743 "generate_wrapper_header(\"MbedTLS\", \""
744 (assoc-ref inputs "mbedtls-apache") "\")\n"))))
745 ;; There's a Julia file for each platform, override them all
746 (find-files "src/wrappers/" "\\.jl$"))
748 (inputs `(("mbedtls-apache" ,mbedtls-apache)))
749 (propagated-inputs `(("julia-jllwrappers" ,julia-jllwrappers)))
750 (home-page "https://github.com/JuliaBinaryWrappers/MbedTLS_jll.jl")
751 (synopsis "Apache's mbed TLS binary wrappers")
752 (description "This Julia module provides @code{mbed TLS} libraries and
754 (license license:expat)))
756 (define-public julia-nanmath
758 (name "julia-nanmath")
764 (url "https://github.com/mlubin/NaNMath.jl")
765 (commit (string-append "v" version))))
766 (file-name (git-file-name name version))
768 (base32 "1hczhz00qj99w63vp627kwk02l2sr2qmzc2rkwwkdwvzy670p25q"))))
769 (build-system julia-build-system)
770 (home-page "https://github.com/mlubin/NaNMath.jl")
771 (synopsis "Implementations of basic math functions")
772 (description "Implementations of basic math functions which return
773 @code{NaN} instead of throwing a @code{DomainError}.")
774 (license license:expat)))
776 (define-public julia-orderedcollections
778 (name "julia-orderedcollections")
784 (url "https://github.com/JuliaCollections/OrderedCollections.jl")
785 (commit (string-append "v" version))))
786 (file-name (git-file-name name version))
788 (base32 "0sfip1ixghsz91q2s7d62rgzw3gppg42fg6bccxlplqa3hfmbycf"))))
789 (build-system julia-build-system)
790 (home-page "https://github.com/JuliaCollections/OrderedCollections.jl")
791 (synopsis "Associative containers that preserve insertion order")
792 (description "This package implements @code{OrderedDicts} and
793 @code{OrderedSets}, which are similar to containers in base Julia. However,
794 during iteration the @code{Ordered*} containers return items in the order in
795 which they were added to the collection.")
796 (license license:expat)))
798 (define-public julia-offsetarrays
800 (name "julia-offsetarrays")
806 (url "https://github.com/JuliaArrays/OffsetArrays.jl")
807 (commit (string-append "v" version))))
808 (file-name (git-file-name name version))
810 (base32 "1y3fnssw2hzyghrk6jfcxslab0f8sjkjszh482snfq4k6mkrhy77"))))
811 (build-system julia-build-system)
813 `(("julia-adapt" ,julia-adapt)))
814 ;; CatIndices depends on OffsetArrays, introducing a recursive dependency
815 (arguments '(#:tests? #f))
816 (home-page "https://juliaarrays.github.io/OffsetArrays.jl/stable/")
817 (synopsis "Fortran-like arrays with arbitrary, zero or negative indices")
818 (description "@code{OffsetArrays.jl} provides Julia users with arrays that
819 have arbitrary indices, similar to those found in some other programming
820 languages like Fortran.")
821 (license license:expat)))
823 (define-public julia-parsers
825 (name "julia-parsers")
831 (url "https://github.com/JuliaData/Parsers.jl")
832 (commit (string-append "v" version))))
833 (file-name (git-file-name name version))
835 (base32 "16iffl6l28kspgqch48mhi1s8qhspr3cpqcwsph3rqi72lbfqygx"))))
836 (build-system julia-build-system)
837 (home-page "https://github.com/JuliaData/Parsers.jl")
838 (synopsis "Fast parsing machinery for basic types in Julia")
839 (description "@code{Parsers.jl} is a collection of type parsers and
840 utilities for Julia.")
841 (license license:expat)))
843 (define-public julia-reexport
845 (name "julia-reexport")
851 (url "https://github.com/simonster/Reexport.jl")
853 (file-name (git-file-name name version))
855 (base32 "1yhhja1zz6dy5f4fd19bdwd6jwgj7q4w3avzgyg1hjhmdl8jrh0s"))))
856 (build-system julia-build-system)
857 (home-page "https://github.com/simonster/Reexport.jl")
858 (synopsis "Re-export modules and symbols")
859 (description "This package provides tools to re-export modules and symbols.")
860 (license license:expat)))
862 (define-public julia-requires
864 (name "julia-requires")
870 (url "https://github.com/JuliaPackaging/Requires.jl/")
871 (commit (string-append "v" version))))
872 (file-name (git-file-name name version))
874 (base32 "03hyfy7c0ma45b0y756j76awi3az2ii4bz4s8cxm3xw9yy1z7b01"))))
875 (build-system julia-build-system)
876 (inputs ;required for test
877 `(("julia-example" ,julia-example)))
879 `(("julia-colors" ,julia-colors)))
880 (home-page "https://github.com/JuliaPackaging/Requires.jl/")
881 (synopsis "Faster package loader")
882 (description "This package make loading packages faster, maybe. It
883 supports specifying glue code in packages which will load automatically when
884 another package is loaded, so that explicit dependencies (and long load times)
886 (license license:expat)))
888 (define-public julia-richardson
890 (name "julia-richardson")
896 (url "https://github.com/JuliaMath/Richardson.jl")
897 (commit (string-append "v" version))))
898 (file-name (git-file-name name version))
900 (base32 "06v9ii3d7hh41fsrfklaa8ap55z5s017f888mrd1c18y4fx9i4nx"))))
901 (build-system julia-build-system)
902 (home-page "https://juliapackages.com/p/richardson")
903 (synopsis "Extrapolate function using Richardson method")
904 (description "This package provides a function extrapolate that
905 extrapolates a given function @code{f(x)} to @code{f(x0)}, evaluating @code{f}
906 only at a geometric sequence of points @code{> x0} (or optionally @code{<
907 x0}). The key algorithm is Richardson extrapolation using a Neville–Aitken
908 tableau, which adaptively increases the degree of an extrapolation polynomial
909 until convergence is achieved to a desired tolerance (or convergence stalls
910 due to e.g. floating-point errors). This allows one to obtain @code{f(x0)} to
911 high-order accuracy, assuming that @code{f(x0+h)} has a Taylor series or some
912 other power series in @code{h}.")
913 (license license:expat)))
915 (define-public julia-staticarrays
917 (name "julia-staticarrays")
923 (url "https://github.com/JuliaArrays/StaticArrays.jl")
924 (commit (string-append "v" version))))
925 (file-name (git-file-name name version))
927 (base32 "01z8bcqwpfkp8p1h1r36pr5cc3798y76zkas7g3206pcsdhvlkz1"))))
928 (build-system julia-build-system)
930 `(("julia-benchmarktools" ,julia-benchmarktools)))
931 (home-page "https://github.com/JuliaArrays/StaticArrays.jl")
932 (synopsis "Statically sized arrays")
933 (description "This package provides a framework for implementing
934 statically sized arrays in Julia, using the abstract type
935 @code{StaticArray{Size,T,N} <: AbstractArray{T,N}}. Subtypes of
936 @code{StaticArray} will provide fast implementations of common array and
937 linear algebra operations.")
938 (license license:expat)))
940 (define-public julia-uris
948 (url "https://github.com/JuliaWeb/URIs.jl")
949 (commit (string-append "v" version))))
950 (file-name (git-file-name name version))
952 (base32 "0fqyagsqks5za7m0czafr34m2xh5501f689k9cn5x3npajdnh2r3"))))
953 (build-system julia-build-system)
955 '(#:julia-package-name "URIs" ;required to run tests
957 (modify-phases %standard-phases
958 (add-before 'check 'change-dir
959 ;; Tests must be run from the testdir
960 (lambda* (#:key source outputs #:allow-other-keys)
961 (let ((out (assoc-ref outputs "out")))
963 (string-append out "/share/julia/packages/URIs/test")))
965 ;; required for tests
966 (inputs `(("julia-json" ,julia-json)))
967 (home-page "https://github.com/JuliaWeb/URIs.jl")
968 (synopsis "URI parsing in Julia")
969 (description "@code{URIs.jl} is a Julia package that allows parsing and
970 working with @acronym{URIs,Uniform Resource Identifiers}, as defined in RFC
972 (license license:expat)))
974 (define-public julia-unitful
976 (name "julia-unitful")
982 (url "https://github.com/PainterQubits/Unitful.jl")
983 (commit (string-append "v" version))))
984 (file-name (git-file-name name version))
986 (base32 "0g5bhlvay9yk11c5dqwbzmb3q7lzj0cq5zchyk39d59fkvvmxvq3"))))
987 (build-system julia-build-system)
989 `(("julia-constructionbase" ,julia-constructionbase)))
990 (home-page "https://painterqubits.github.io/Unitful.jl/stable/")
991 (synopsis "Physical units in Julia")
992 (description "This package supports SI units and also many other unit
994 (license license:expat)))