import: texlive: Update error message.
[jackhill/guix/guix.git] / gnu / packages / julia-xyz.scm
CommitLineData
a1315b7f 1;;; GNU Guix --- Functional package management for GNU
f7a98af0 2;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
35044d3e 3;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
69b13cd4 4;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
9cc167fe 5;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
2eca48e3 6;;; Copyright © 2021 jgart <jgart@dismail.de>
a1315b7f 7;;;
8;;; This file is part of GNU Guix.
9;;;
10;;; GNU Guix is free software; you can redistribute it and/or modify it
11;;; under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 3 of the License, or (at
13;;; your option) any later version.
14;;;
15;;; GNU Guix is distributed in the hope that it will be useful, but
16;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;;; GNU General Public License for more details.
19;;;
20;;; You should have received a copy of the GNU General Public License
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22
23(define-module (gnu packages julia-xyz)
24 #:use-module ((guix licenses) #:prefix license:)
7975a64b 25 #:use-module (gnu packages)
7b59508c 26 #:use-module (guix utils)
a1315b7f 27 #:use-module (guix packages)
28 #:use-module (guix git-download)
3291e4ba 29 #:use-module (guix build-system julia)
277fef20 30 #:use-module (gnu packages gcc)
3893f136
EF
31 #:use-module (gnu packages julia-jll)
32 #:use-module (gnu packages python)
7b59508c
EF
33 #:use-module (gnu packages python-xyz)
34 #:use-module (gnu packages version-control))
a1315b7f 35
651a5573 36(define-public julia-abstractffts
37 (package
38 (name "julia-abstractffts")
39 (version "1.0.1")
40 (source
41 (origin
42 (method git-fetch)
43 (uri (git-reference
44 (url "https://github.com/JuliaMath/AbstractFFTS.jl")
45 (commit (string-append "v" version))))
46 (file-name (git-file-name name version))
47 (sha256
48 (base32 "0083pwdyxjb04i330ir9pc8kmp4bwk59lx1jgc9qi05y8j7xzbp0"))))
49 (build-system julia-build-system)
50 (inputs ;required for tests
8394619b 51 (list julia-unitful))
651a5573 52 (home-page "https://github.com/JuliaGPU/Adapt.jl")
53 (synopsis "General framework for fast Fourier transforms (FFTs)")
54 (description "This package allows multiple FFT packages to co-exist with
55the same underlying @code{fft(x)} and @code{plan_fft(x)} interface. It is
56mainly not intended to be used directly. Instead, developers of packages that
57implement FFTs (such as @code{FFTW.jl} or @code{FastTransforms.jl}) extend the
58types/functions defined in AbstractFFTs.")
59 (license license:expat)))
60
64c1c497 61(define-public julia-abstracttrees
62 (package
63 (name "julia-abstracttrees")
64 (version "0.3.4")
65 (source
66 (origin
67 (method git-fetch)
68 (uri (git-reference
69 (url "https://github.com/JuliaCollections/AbstractTrees.jl")
70 (commit (string-append "v" version))))
71 (file-name (git-file-name name version))
72 (sha256
73 (base32 "16is5n2qa69cci34vfazxsa7ik6q0hbnnqrbrhkq8frh142f1xs8"))))
74 (build-system julia-build-system)
75 (home-page "https://juliacollections.github.io/AbstractTrees.jl/stable/")
76 (synopsis "Abstract Julia interfaces for working with trees")
77 (description "This Julia package provides several utilities for working
78with tree-like data structures. Most importantly, it defines the
79@code{children} method that any package that contains such a data structure
80may import and extend in order to take advantage of any generic tree algorithm
81in this package.")
82 (license license:expat)))
83
20767b9b 84(define-public julia-adapt
85 (package
86 (name "julia-adapt")
963ae006 87 (version "3.3.1")
20767b9b 88 (source
89 (origin
90 (method git-fetch)
91 (uri (git-reference
92 (url "https://github.com/JuliaGPU/Adapt.jl")
93 (commit (string-append "v" version))))
81d45a66 94 (file-name (git-file-name name version))
20767b9b 95 (sha256
963ae006 96 (base32 "009fj59fzhvfsyw35kakllsh36k3xlwyzq8qa5f5k598i3pq14i7"))))
20767b9b 97 (build-system julia-build-system)
98 (home-page "https://github.com/JuliaGPU/Adapt.jl")
99 (synopsis "Package providing the @code{adapt} function, similar to @code{convert}")
100 (description "This Julia package provides the @code{adapt(T, x)} function
101acts like @code{convert(T, x)}, but without the restriction of returning a
102@code{T}. This allows you to \"convert\" wrapper types like @code{Adjoint} to
103be GPU compatible without throwing away the wrapper.")
104 (license license:expat)))
105
60d3484f
EF
106(define-public julia-ansicoloredprinters
107 (package
108 (name "julia-ansicoloredprinters")
109 (version "0.0.1")
110 (source
111 (origin
112 (method git-fetch)
113 (uri (git-reference
114 (url "https://github.com/JuliaDocs/ANSIColoredPrinters.jl")
115 (commit (string-append "v" version))))
116 (file-name (git-file-name name version))
117 (sha256
118 (base32 "0dp5agljr0g50s5gn0pr70wrz01ggck6pb40ay3l4szhswq7mqzf"))))
119 (build-system julia-build-system)
120 (home-page "https://github.com/JuliaDocs/ANSIColoredPrinters.jl")
121 (synopsis "ANSI escape code translator")
122 (description "@code{ANSIColoredPrinters.jl} converts a text qualified by
123ANSI escape codes to another format.")
124 (license license:expat)))
125
130c13c8
EF
126(define-public julia-aqua
127 (package
128 (name "julia-aqua")
f126ac00 129 (version "0.5.1")
130c13c8
EF
130 (source
131 (origin
132 (method git-fetch)
133 (uri (git-reference
134 (url "https://github.com/JuliaTesting/Aqua.jl")
135 (commit (string-append "v" version))))
136 (file-name (git-file-name name version))
137 (sha256
f126ac00 138 (base32 "1g0kyzcdykgs247j72jpc2qqall696jwgb3hnn4cxmbi8bkf7wpk"))))
130c13c8 139 (build-system julia-build-system)
017f9a35 140 (arguments
141 `(#:parallel-tests? #f))
130c13c8
EF
142 (home-page "https://github.com/JuliaTesting/Aqua.jl")
143 (synopsis "Automated quality assurance for Julia packages")
144 (description "@acronym{Aqua.jl, Auto QUality Assurance for Julia packages},
145provides functions to run a few automatable checks for Julia packages.")
146 (license license:expat)))
147
ef159514
EF
148(define-public julia-arrayinterface
149 (package
150 (name "julia-arrayinterface")
70671112 151 (version "3.1.19")
ef159514
EF
152 (source
153 (origin
154 (method git-fetch)
155 (uri (git-reference
156 (url "https://github.com/JuliaArrays/ArrayInterface.jl")
157 (commit (string-append "v" version))))
158 (file-name (git-file-name name version))
159 (sha256
70671112 160 (base32 "0cmldnzvdgmfnrnrzgj6v1mfr2rvk5096392rwmhd3iyx7v0pq33"))))
ef159514 161 (build-system julia-build-system)
e3c15b0b 162 (arguments
163 ;; XXXX: Unexpected failures for i686, e.g.,
164 ;; Expression: @inferred(ArrayInterface.size(Rnr)) === (StaticInt(4),)
165 ;; Evaluated: (static(2),) === (static(4),)
166 ;; Disable as stopgap.
167 `(#:tests? ,(not (target-x86-32?))))
ef159514 168 (propagated-inputs
8394619b 169 (list julia-ifelse julia-requires julia-static))
ef159514 170 (native-inputs
8394619b
LC
171 (list julia-aqua
172 julia-bandedmatrices
173 julia-blockbandedmatrices
174 julia-ifelse
175 julia-offsetarrays
176 julia-staticarrays))
ef159514
EF
177 (home-page "https://github.com/JuliaArrays/ArrayInterface.jl")
178 (synopsis "Base array interface primitives")
179 (description "The purpose of this library is to solidify extensions to the
180current @code{AbstractArray} interface, which are put to use in package
181ecosystems like @code{DifferentialEquations.jl}. Since these libraries are
182live, this package will serve as a staging ground for ideas before they are
183merged into Base Julia. For this reason, no functionality is exported so that
184if such functions are added and exported in a future Base Julia, there will be
185no issues with the upgrade.")
186 (license license:expat)))
187
6dd2634d
EF
188(define-public julia-arraylayouts
189 (package
190 (name "julia-arraylayouts")
20246050 191 (version "0.7.6")
6dd2634d
EF
192 (source
193 (origin
194 (method git-fetch)
195 (uri (git-reference
196 (url "https://github.com/JuliaMatrices/ArrayLayouts.jl")
197 (commit (string-append "v" version))))
198 (file-name (git-file-name name version))
199 (sha256
20246050 200 (base32 "05q62pks8j23pgbrfny072rrwzrz6q19l68srnjxxv39ncmdmrvg"))))
6dd2634d
EF
201 (build-system julia-build-system)
202 (propagated-inputs
8394619b 203 (list julia-fillarrays))
6dd2634d
EF
204 (home-page "https://github.com/JuliaMatrices/ArrayLayouts.jl")
205 (synopsis "Array layouts and general fast linear algebra")
206 (description "This package implements a trait-based framework for describing
207array layouts such as column major, row major, etc. that can be dispatched to
208appropriate BLAS or optimised Julia linear algebra routines. This supports a
209much wider class of matrix types than Julia's in-built @code{StridedArray}.")
210 (license license:expat)))
3fed0af9
EF
211
212(define-public julia-axisalgorithms
213 (package
214 (name "julia-axisalgorithms")
215 (version "1.0.0")
216 (source
217 (origin
218 (method git-fetch)
219 (uri (git-reference
220 (url "https://github.com/timholy/AxisAlgorithms.jl")
221 (commit (string-append "v" version))))
222 (file-name (git-file-name name version))
223 (sha256
224 (base32 "00x85lnfln7xkfnirpplzyi8r6q92nfqwya8il156bf7b1pa20gk"))))
225 (build-system julia-build-system)
226 (propagated-inputs
8394619b 227 (list julia-woodburymatrices))
3fed0af9
EF
228 (home-page "https://github.com/timholy/AxisAlgorithms.jl")
229 (synopsis "Filtering and linear algebra routines for multidimensional arrays")
230 (description "@code{AxisAlgorithms} is a collection of filtering and linear
231algebra algorithms for multidimensional arrays. For algorithms that would
232typically apply along the columns of a matrix, you can instead pick an arbitrary
233axis (dimension).")
234 (license license:expat)))
6dd2634d 235
cb66e4ae
EF
236(define-public julia-axisarrays
237 (package
238 (name "julia-axisarrays")
af369949 239 (version "0.4.4")
cb66e4ae
EF
240 (source
241 (origin
242 (method git-fetch)
243 (uri (git-reference
244 (url "https://github.com/JuliaArrays/AxisArrays.jl")
245 (commit (string-append "v" version))))
246 (file-name (git-file-name name version))
247 (sha256
af369949 248 (base32 "03kzan1lm4fxfhzv1xjg3ysf6y7nagcc61vfz15kvdrp1dqxlynk"))))
cb66e4ae
EF
249 (build-system julia-build-system)
250 (propagated-inputs
8394619b 251 (list julia-rangearrays julia-intervalsets julia-itertools))
cb66e4ae 252 (native-inputs
8394619b 253 (list julia-offsetarrays julia-unitful))
cb66e4ae
EF
254 (home-page "http://juliaarrays.github.io/AxisArrays.jl/latest/")
255 (synopsis "Arrays where each dimension can have a named axis with values")
256 (description "This package for the Julia language provides an array type
257(the AxisArray) that knows about its dimension names and axis values. This
258allows for indexing by name without incurring any runtime overhead. This
259permits one to implement algorithms that are oblivious to the storage order of
260the underlying arrays. AxisArrays can also be indexed by the values along their
261axes, allowing column names or interval selections.")
262 (license license:expat)))
263
48b9f37a
EF
264(define-public julia-bandedmatrices
265 (package
266 (name "julia-bandedmatrices")
5d45f7b1 267 (version "0.16.10")
48b9f37a
EF
268 (source
269 (origin
270 (method git-fetch)
271 (uri (git-reference
272 (url "https://github.com/JuliaMatrices/BandedMatrices.jl")
273 (commit (string-append "v" version))))
274 (file-name (git-file-name name version))
275 (sha256
5d45f7b1 276 (base32 "0rlfj9gr9ss621v5kw5b06206yaak21s2vq9vk7r8a7p2ylncism"))))
48b9f37a
EF
277 (build-system julia-build-system)
278 (propagated-inputs
8394619b 279 (list julia-arraylayouts julia-fillarrays))
48b9f37a 280 (native-inputs
8394619b 281 (list julia-genericlinearalgebra))
48b9f37a
EF
282 (home-page "https://github.com/JuliaMatrices/BandedMatrices.jl")
283 (synopsis "Julia package for representing banded matrices")
284 (description "This package supports representing banded matrices by only
285the entries on the bands.")
286 (license license:expat)))
287
03010d5d 288(define-public julia-benchmarktools
289 (package
290 (name "julia-benchmarktools")
ad8c4040 291 (version "1.1.1")
03010d5d 292 (source
293 (origin
294 (method git-fetch)
295 (uri (git-reference
296 (url "https://github.com/JuliaCI/BenchmarkTools.jl")
297 (commit (string-append "v" version))))
298 (file-name (git-file-name name version))
299 (sha256
ad8c4040 300 (base32 "1xz3kdrphp4b158pg7dwkiry49phs2fjjpdvk1hjpww5ykxacks8"))))
03010d5d 301 (build-system julia-build-system)
2a749f34 302 (arguments
303 `(#:phases
304 ,@(if (target-x86-32?)
305 '((modify-phases %standard-phases
306 (add-after 'unpack 'remove-failing-tests-i686
307 (lambda _
308 (substitute* "test/GroupsTests.jl"
309 (("@test sprint\\(show, g1\\)")
310 "@test_broken sprint(show, g1)")
311 (("@test sprint\\(show, g1; context = :boundto => 1\\)")
312 "@test_broken sprint(show, g1; context = :boundto => 1)")
313 (("@test sprint\\(show, g1; context = :limit => false\\)")
314 "@test_broken sprint(show, g1; context = :limit => false)")
315 (("@test @test_deprecated") "@test_broken"))
316 (substitute* "test/ExecutionTests.jl"
317 ;; Evaluated: 12 == 8
318 (("@test @ballocated\\(Ref\\(1\\)\\)")
319 "@test_broken @ballocated(Ref(1))"))))))
320 '(%standard-phases))))
8394619b 321 (propagated-inputs (list julia-json))
03010d5d 322 (home-page "https://github.com/JuliaCI/BenchmarkTools.jl")
323 (synopsis "Benchmarking framework for the Julia language")
324 (description "@code{BenchmarkTools.jl} makes performance tracking of Julia
325code easy by supplying a framework for writing and running groups of
326benchmarks as well as comparing benchmark results.")
327 (license license:expat)))
328
567fa057
EF
329(define-public julia-blockarrays
330 (package
331 (name "julia-blockarrays")
d0381960 332 (version "0.16.8")
567fa057
EF
333 (source
334 (origin
335 (method git-fetch)
336 (uri (git-reference
337 (url "https://github.com/JuliaArrays/BlockArrays.jl")
338 (commit (string-append "v" version))))
339 (file-name (git-file-name name version))
340 (sha256
d0381960 341 (base32 "1by26036fk9mawmcgqxpwizgbs398v9p6vrbsgg7h6llqn3q9iw1"))))
567fa057 342 (build-system julia-build-system)
dcd7c950 343 (arguments
344 `(#:phases
345 ,@(if (target-64bit?)
346 '(%standard-phases)
347 '((modify-phases %standard-phases
348 (add-after 'unpack 'fix-tests-int32-i686
349 (lambda _
350 (substitute* "test/test_blockarrays.jl"
351 (("Int64") "Int32")))))))))
567fa057 352 (propagated-inputs
8394619b 353 (list julia-arraylayouts julia-fillarrays))
567fa057 354 (native-inputs
8394619b 355 (list julia-lazyarrays julia-offsetarrays julia-staticarrays))
567fa057
EF
356 (home-page "https://github.com/JuliaArrays/BlockArrays.jl")
357 (synopsis "BlockArrays for Julia")
358 (description "A block array is a partition of an array into blocks or
359subarrays. This package has two purposes. Firstly, it defines an interface for
360an @code{AbstractBlockArray} block arrays that can be shared among types
361representing different types of block arrays. The advantage to this is that it
362provides a consistent API for block arrays.
363Secondly, it also implements two different type of block arrays that follow the
364@code{AbstractBlockArray} interface. The type @code{BlockArray} stores each
365block contiguously while the type @code{PseudoBlockArray} stores the full matrix
366contiguously. This means that @code{BlockArray} supports fast non copying
367extraction and insertion of blocks while @code{PseudoBlockArray} supports fast
368access to the full matrix to use in in for example a linear solver.")
369 (license license:expat)))
370
30699854
EF
371(define-public julia-blockbandedmatrices
372 (package
373 (name "julia-blockbandedmatrices")
b5df9174 374 (version "0.10.7")
30699854
EF
375 (source
376 (origin
377 (method git-fetch)
378 (uri (git-reference
379 (url "https://github.com/JuliaMatrices/BlockBandedMatrices.jl")
380 (commit (string-append "v" version))))
381 (file-name (git-file-name name version))
382 (sha256
b5df9174 383 (base32 "10n1r6kmmv2wa307jfg9y2m6p16j8hngjp3fjavpbdy1r5haasm9"))))
30699854
EF
384 (build-system julia-build-system)
385 (propagated-inputs
8394619b
LC
386 (list julia-arraylayouts julia-bandedmatrices julia-blockarrays
387 julia-fillarrays julia-matrixfactorizations))
30699854
EF
388 (home-page "https://github.com/JuliaMatrices/BlockBandedMatrices.jl")
389 (synopsis "Block-banded matrices and banded-block-banded matrices")
390 (description "This package supports representing block-banded and
391banded-block-banded matrices by only storing the entries in the non-zero bands.
392A @code{BlockBandedMatrix} is a subtype of @code{BlockMatrix} of
393@code{BlockArrays.jl} whose layout of non-zero blocks is banded.")
394 (license license:expat)))
395
4ea3215d
EF
396(define-public julia-bson
397 (package
398 (name "julia-bson")
399 (version "0.3.3")
400 (source
401 (origin
402 (method git-fetch)
403 (uri (git-reference
404 (url "https://github.com/JuliaIO/BSON.jl")
405 (commit (string-append "v" version))))
406 (file-name (git-file-name name version))
407 (sha256
408 (base32 "1l5608ma2ys7v2gpcqbiv9mwfc6yrlqkihrfx1pf7fgv5llhd4fn"))))
409 (build-system julia-build-system)
410 (native-inputs
8394619b 411 (list julia-dataframes))
4ea3215d
EF
412 (home-page "https://github.com/JuliaIO/BSON.jl")
413 (synopsis "Binary JSON serialisation format")
414 (description "@code{BSON.jl} is a Julia package for working with the Binary
415JSON serialisation format. It can be used as a general store for Julia data
416structures.")
417 (license license:expat)))
418
52d09b1f 419(define-public julia-bufferedstreams
420 (package
421 (name "julia-bufferedstreams")
422 (version "1.0.0")
423 (source
424 (origin
425 (method git-fetch)
426 (uri (git-reference
427 (url "https://github.com/BioJulia/BufferedStreams.jl")
428 (commit (string-append "v" version))))
429 (file-name (git-file-name name version))
430 (sha256
431 (base32 "0sf4sxbq55mg2pwxyxf0c839z1lk0yxg8nmb7617bfbvw31cp88z"))))
432 (build-system julia-build-system)
433 ;; The package is old and tests are using undefined functions. They also
434 ;; freeze, see
435 ;; https://travis-ci.org/BioJulia/BufferedStreams.jl/jobs/491050182
436 (arguments
437 '(#:tests? #f
3af351a7
JBV
438 #:julia-package-name "BufferedStreams"
439 #:julia-package-uuid "e1450e63-4bb3-523b-b2a4-4ffa8c0fd77d"))
8394619b 440 (propagated-inputs (list julia-compat))
52d09b1f 441 (home-page "https://github.com/BioJulia/BufferedStreams.jl")
442 (synopsis "Fast composable IO streams")
443 (description "@code{BufferedStreams.jl} provides buffering for IO
444operations. It can wrap any @code{IO} type automatically making incremental
445reading and writing faster.")
446 (license license:expat)))
447
b91ad832 448(define-public julia-calculus
449 (package
450 (name "julia-calculus")
451 (version "0.5.1")
452 (source
453 (origin
454 (method git-fetch)
455 (uri (git-reference
456 (url "https://github.com/JuliaMath/Calculus.jl")
457 (commit (string-append "v" version))))
458 (file-name (git-file-name name version))
459 (sha256
460 (base32 "0xh0ak2ycsjw2h86ja24ch3kn2d18zx3frrds78aimwdnqb1gdc2"))))
461 (build-system julia-build-system)
462 (home-page "https://github.com/JuliaMath/Calculus.jl")
463 (synopsis "Common utilities for automatic differentiation")
464 (description "This package provides tools for working with the basic
465calculus operations of differentiation and integration. The @code{Calculus}
466package produces approximate derivatives by several forms of finite
467differencing or produces exact derivative using symbolic differentiation. It
468can also be used to compute definite integrals by different numerical
469methods.")
470 (license license:expat)))
471
9cc167fe
VM
472(define-public julia-categoricalarrays
473 (package
474 (name "julia-categoricalarrays")
475 (version "0.9.7")
476 (source
477 (origin
478 (method git-fetch)
479 (uri (git-reference
480 (url "https://github.com/JuliaData/CategoricalArrays.jl")
481 (commit (string-append "v" version))))
482 (file-name (git-file-name name version))
483 (sha256
484 (base32 "1bcfylxdaizgasnmlkjjkf4dgfvy2y9ycnphw2d0z6mm9vx3n04x"))))
485 (build-system julia-build-system)
486 (native-inputs
8394619b 487 (list julia-pooledarrays))
9cc167fe 488 (propagated-inputs
8394619b
LC
489 (list julia-dataapi
490 julia-json
491 julia-json3
492 julia-missings
493 julia-recipesbase
494 julia-structtypes))
9cc167fe
VM
495 (home-page "https://github.com/JuliaData/CategoricalArrays.jl")
496 (synopsis "Arrays for working with categorical data")
497 (description "This package provides tools for working with categorical
498variables, both with unordered (nominal variables) and ordered categories
499(ordinal variables), optionally with missing values.")
500 (license license:expat)))
501
397f8c48 502(define-public julia-chainrules
503 (package
504 (name "julia-chainrules")
4a79a39b 505 (version "1.1.0")
397f8c48 506 (source
507 (origin
508 (method git-fetch)
509 (uri (git-reference
510 (url "https://github.com/JuliaDiff/ChainRules.jl")
511 (commit (string-append "v" version))))
512 (file-name (git-file-name name version))
513 (sha256
4a79a39b 514 (base32 "0if93pd3b3scg2x3gmk1cbwjk0ax1n792vy8c38y3xl7jpd5cb70"))))
397f8c48 515 (build-system julia-build-system)
516 (inputs ;required for test
8394619b
LC
517 (list julia-chainrulestestutils julia-finitedifferences julia-nanmath
518 julia-specialfunctions))
397f8c48 519 (propagated-inputs
8394619b
LC
520 (list julia-chainrulescore julia-compat julia-reexport
521 julia-requires))
397f8c48 522 (home-page "https://github.com/JuliaDiff/ChainRules.jl")
523 (synopsis "Common utilities for automatic differentiation")
524 (description "The is package provides a variety of common utilities that
525can be used by downstream automatic differentiation (AD) tools to define and
526execute forward-, reverse-, and mixed-mode primitives.")
527 (license license:expat)))
528
bb1ca1f3 529(define-public julia-chainrulescore
530 (package
531 (name "julia-chainrulescore")
038a7dd5 532 (version "1.0.2")
bb1ca1f3 533 (source
534 (origin
535 (method git-fetch)
536 (uri (git-reference
537 (url "https://github.com/JuliaDiff/ChainRulesCore.jl")
538 (commit (string-append "v" version))))
539 (file-name (git-file-name name version))
540 (sha256
038a7dd5 541 (base32 "1866xv30h1bi7f2m993nljzf58wwmv8zlgn6ffn9j3wckch1nfpb"))))
bb1ca1f3 542 (build-system julia-build-system)
543 (inputs ;required for tests
8394619b 544 (list julia-benchmarktools julia-staticarrays))
bb1ca1f3 545 (propagated-inputs
8394619b 546 (list julia-compat))
bb1ca1f3 547 (home-page "https://github.com/JuliaDiff/ChainRulesCore.jl")
548 (synopsis "Common utilities used by downstream automatic differentiation tools")
549 (description "The package provides a light-weight dependency for defining
550sensitivities for functions without the need to depend on ChainRules itself.")
551 (license license:expat)))
552
9eb29396 553(define-public julia-chainrulestestutils
554 (package
555 (name "julia-chainrulestestutils")
58927767 556 (version "1.2.3")
9eb29396 557 (source
558 (origin
559 (method git-fetch)
560 (uri (git-reference
561 (url "https://github.com/JuliaDiff/ChainRulesTestUtils.jl")
562 (commit (string-append "v" version))))
563 (file-name (git-file-name name version))
564 (sha256
58927767 565 (base32 "1vlkyp72d514gyb4k3yhjl1g7f24ncmz61j56p4sdi9f76rk9fx9"))))
9eb29396 566 (build-system julia-build-system)
567 (propagated-inputs
e3196755 568 (list julia-chainrulescore julia-compat julia-finitedifferences))
9eb29396 569 (home-page "https://github.com/JuliaDiff/ChainRulesTestUtils.jl")
570 (synopsis "Common utilities used by downstream automatic differentiation tools")
571 (description "This package is designed to help in testing
572@code{ChainRulesCore.frule} and @code{ChainRulesCore.rrule} methods. The main
573entry points are @code{ChainRulesTestUtils.frule_test},
574@code{ChainRulesTestUtils.rrule_test}, and
575@code{ChainRulesTestUtils.test_scalar}. Currently this is done via testing the
576rules against numerical differentiation (using @code{FiniteDifferences.jl}).
577
578@code{ChainRulesTestUtils.jl} is separated from @code{ChainRulesCore.jl} so that it
579can be a test-only dependency, allowing it to have potentially heavy
580dependencies, while keeping @code{ChainRulesCore.jl} as light-weight as possible.")
581 (license license:expat)))
582
87a6109c 583(define-public julia-codeczlib
584 (package
585 (name "julia-codeczlib")
586 (version "0.7.0")
587 (source
588 (origin
589 (method git-fetch)
590 (uri (git-reference
591 (url "https://github.com/JuliaIO/CodecZlib.jl")
592 (commit (string-append "v" version))))
593 (file-name (git-file-name name version))
594 (sha256
595 (base32 "0xm603nylkwk4bzx66zv1g3syzrvn3jh9spdx7kvcvgszzyrrgh4"))))
596 (build-system julia-build-system)
597 (arguments
598 `(#:phases
599 (modify-phases %standard-phases
600 (add-before 'reset-gzip-timestamps 'make-files-writable
601 (lambda* (#:key outputs #:allow-other-keys)
602 (let ((out (assoc-ref outputs "out")))
603 (for-each make-file-writable
604 (find-files out "\\.gz$"))
605 #t))))))
606 (propagated-inputs
8394619b 607 (list julia-zlib-jll julia-transcodingstreams))
87a6109c 608 (home-page "https://github.com/JuliaIO/CodecZlib.jl")
609 (synopsis "Zlib codecs for @code{TranscodingStreams.jl}")
610 (description "This package provides zlib codecs for
611@code{TranscodingStreams.jl}.")
612 (license license:expat)))
613
13a8b866 614(define-public julia-colors
615 (package
616 (name "julia-colors")
d9856912 617 (version "0.12.8")
13a8b866 618 (source
619 (origin
620 (method git-fetch)
621 (uri (git-reference
622 (url "https://github.com/JuliaGraphics/Colors.jl")
623 (commit (string-append "v" version))))
624 (file-name (git-file-name name version))
625 (sha256
d9856912 626 (base32 "0kx3hq7rf8p5zx6ly9k5j90zijmc7yrwmy96cgkl2ibdfbnhmya3"))))
13a8b866 627 (build-system julia-build-system)
628 (propagated-inputs
8394619b 629 (list julia-colortypes julia-fixedpointnumbers julia-reexport))
13a8b866 630 (home-page "https://github.com/JuliaGraphics/Colors.jl")
631 (synopsis "Tools for dealing with color")
632 (description "This package provides a wide array of functions for dealing
633with color. This includes conversion between colorspaces, measuring distance
634between colors, simulating color blindness, parsing colors, and generating
635color scales for graphics.")
636 (license license:expat)))
637
a033f810
EF
638(define-public julia-colorschemes
639 (package
640 (name "julia-colorschemes")
9a24fc61 641 (version "3.15.0")
a033f810
EF
642 (source
643 (origin
644 (method git-fetch)
645 (uri (git-reference
646 (url "https://github.com/JuliaGraphics/ColorSchemes.jl")
647 (commit (string-append "v" version))))
648 (file-name (git-file-name name version))
649 (sha256
9a24fc61 650 (base32 "0kpjhmqd5cj8dh8bmh9b5g6bscyp7h23hzpr2s93pnrp57q1wvhq"))))
a033f810
EF
651 (build-system julia-build-system)
652 (propagated-inputs
8394619b
LC
653 (list julia-colors julia-colortypes julia-fixedpointnumbers
654 julia-staticarrays))
a033f810
EF
655 (home-page "https://github.com/JuliaGraphics/ColorSchemes.jl")
656 (synopsis "Colorschemes, colormaps, gradients, and palettes")
657 (description "This package provides a collection of colorschemes.")
658 (license license:expat)))
659
9b8b132e 660(define-public julia-colortypes
661 (package
662 (name "julia-colortypes")
2211f3af 663 (version "0.11.0")
9b8b132e 664 (source
665 (origin
666 (method git-fetch)
667 (uri (git-reference
668 (url "https://github.com/JuliaGraphics/ColorTypes.jl")
669 (commit (string-append "v" version))))
670 (file-name (git-file-name name version))
671 (sha256
2211f3af 672 (base32 "0n7h70caqv7yd0khjhn90iax62r73mcif8qzkwj5b4q46li1r8ih"))))
9b8b132e 673 (build-system julia-build-system)
674 (propagated-inputs
8394619b 675 (list julia-fixedpointnumbers))
78f48af0 676 (native-inputs
8394619b 677 (list julia-documenter))
9b8b132e 678 (home-page "https://github.com/JuliaGraphics/ColorTypes.jl")
679 (synopsis "Basic color types and constructor")
680 (description "This minimalistic package serves as the foundation for
681working with colors in Julia. It defines basic color types and their
682constructors, and sets up traits and show methods to make them easier to work
683with.")
684 (license license:expat)))
685
495df0b0
EF
686(define-public julia-colorvectorspace
687 (package
688 (name "julia-colorvectorspace")
e538d868 689 (version "0.9.7")
495df0b0
EF
690 (source
691 (origin
692 (method git-fetch)
693 (uri (git-reference
694 (url "https://github.com/JuliaGraphics/ColorVectorSpace.jl")
695 (commit (string-append "v" version))))
696 (file-name (git-file-name name version))
697 (sha256
e538d868 698 (base32 "02gk7f5g5wjxdasbjf8bvv1m7clksh7mw1xmygjdirjz1q0d6dwi"))))
495df0b0
EF
699 (build-system julia-build-system)
700 (propagated-inputs
8394619b 701 (list julia-colortypes julia-specialfunctions julia-tensorcore))
495df0b0 702 (native-inputs
8394619b 703 (list julia-colors))
495df0b0
EF
704 (home-page "https://github.com/JuliaGraphics/ColorVectorSpace.jl")
705 (synopsis "Treat colors as n-vectors for the purposes of arithmetic")
706 (description "This package is an add-on to @code{ColorTypes.jl} and provides
707fast mathematical operations for objects with types such as RGB and Gray.
708Specifically, with this package both grayscale and RGB colors are treated as if
709they are points in a normed vector space.")
710 (license license:expat)))
711
2405fcb4
EF
712(define-public julia-combinatorics
713 (package
714 (name "julia-combinatorics")
715 (version "1.0.2")
716 (source
717 (origin
718 (method git-fetch)
719 (uri (git-reference
720 (url "https://github.com/JuliaMath/Combinatorics.jl")
721 (commit (string-append "v" version))))
722 (file-name (git-file-name name version))
723 (sha256
724 (base32 "0gafqkqi874zfm9h99akw9q95lk3ih5gip2h8p12fj9h7rvyf4j5"))))
725 (build-system julia-build-system)
726 (home-page "https://github.com/JuliaMath/Combinatorics.jl")
727 (synopsis "Combinatorics library for Julia")
728 (description "This package provides a combinatorics library for Julia,
729focusing mostly (as of now) on enumerative combinatorics and permutations.")
730 (license license:expat)))
731
2ca38ee4 732(define-public julia-commonsubexpressions
733 (package
734 (name "julia-commonsubexpressions")
735 (version "0.3.0")
736 (source
737 (origin
738 (method git-fetch)
739 (uri (git-reference
740 (url "https://github.com/rdeits/CommonSubexpressions.jl")
741 (commit (string-append "v" version))))
742 (file-name (git-file-name name version))
743 (sha256
744 (base32 "0mgy90kk8ksv3l720kkk04gnhn4aqhh2dj4sp3x8yy3limngfjay"))))
745 (build-system julia-build-system)
746 (propagated-inputs
8394619b 747 (list julia-macrotools))
2ca38ee4 748 (home-page "https://github.com/rdeits/CommonSubexpressions.jl")
f233bb17
LC
749 (synopsis "@code{@@cse} macro for Julia")
750 (description "This package provides the @code{@@cse} macro, which performs
2ca38ee4 751common subexpression elimination.")
752 (license license:expat)))
753
a1315b7f 754(define-public julia-compat
755 (package
756 (name "julia-compat")
ad970a21 757 (version "3.39.0")
a1315b7f 758 (source
759 (origin
760 (method git-fetch)
761 (uri (git-reference
762 (url "https://github.com/JuliaLang/Compat.jl")
763 (commit (string-append "v" version))))
54721e7e 764 (file-name (git-file-name name version))
a1315b7f 765 (sha256
ad970a21 766 (base32 "0qzvaqi5gqgc747fnajbvvf5vqbh6cwykwky00c7glvmvdsgk3z0"))))
a1315b7f 767 (build-system julia-build-system)
768 (home-page "https://github.com/JuliaLang/Compat.jl")
769 (synopsis "Compatibility across Julia versions")
770 (description "The Compat package is designed to ease interoperability
771between older and newer versions of the Julia language. The Compat package
772provides a macro that lets you use the latest syntax in a backwards-compatible
773way.")
774 (license license:expat)))
eccd448c 775
50026532
EF
776(define-public julia-configurations
777 (package
778 (name "julia-configurations")
779 (version "0.16.4")
780 (source
781 (origin
782 (method git-fetch)
783 (uri (git-reference
784 (url "https://github.com/Roger-luo/Configurations.jl")
785 (commit (string-append "v" version))))
786 (file-name (git-file-name name version))
787 (sha256
788 (base32 "1b23p0zk8dx2sf01cnw177mqci7qd81b9s32ixz9clsh0r0icl1b"))))
789 (build-system julia-build-system)
790 (arguments
791 `(#:phases
792 (modify-phases %standard-phases
3af351a7 793 (add-after 'link-depot 'fix-tests
50026532
EF
794 (lambda _
795 (substitute* "test/runtests.jl"
dbad3334 796 (("option.toml") "test/option.toml"))))
3af351a7 797 (add-after 'link-depot 'dont-use-exproniconlite
50026532
EF
798 (lambda _
799 (substitute* '("Project.toml"
800 "src/Configurations.jl"
801 "test/runtests.jl")
802 (("ExproniconLite") "Expronicon"))
803 (substitute* "Project.toml"
804 (("55351af7-c7e9-48d6-89ff-24e801d99491")
dbad3334 805 "6b7a57c9-7cc1-4fdf-b7f5-e857abae3636"))))
806 ,@(if (target-64bit?)
807 '()
808 '((add-after 'unpack 'fix-tests-int32-i686
809 (lambda _
810 (substitute* "test/runtests.jl"
811 (("Int64") "Int32")))))))))
50026532 812 (propagated-inputs
8394619b 813 (list julia-crayons julia-expronicon julia-orderedcollections))
50026532
EF
814 (home-page "https://configurations.rogerluo.dev/stable/")
815 (synopsis "Tools for options and configurations in Julia")
816 (description "@code{Configurations.jl} provides a macro @code{@@option} to
817let you define @code{structs} to represent options/configurations, and serialize
818between different option/configuration file formats such as @code{TOML}.")
819 (license license:expat)))
820
35044d3e 821(define-public julia-constructionbase
b694fd4b
EF
822 (package
823 (name "julia-constructionbase")
57e5c907 824 (version "1.3.0")
b694fd4b
EF
825 (source
826 (origin
827 (method git-fetch)
828 (uri (git-reference
829 (url "https://github.com/JuliaObjects/ConstructionBase.jl")
830 (commit (string-append "v" version))))
831 (file-name (git-file-name name version))
832 (sha256
57e5c907 833 (base32 "1jk3h446vkv4yaavgm1hf1az7cwhppvhklvr08s49hhg02cm750q"))))
b694fd4b
EF
834 (build-system julia-build-system)
835 (home-page "https://juliaobjects.github.io/ConstructionBase.jl/dev/")
836 (synopsis "Primitive functions for construction of objects")
837 (description "This very lightweight package provides primitive functions
35044d3e 838for construction of objects.")
b694fd4b 839 (license license:expat)))
35044d3e 840
9e21a2a1
EF
841(define-public julia-coordinatetransformations
842 (package
843 (name "julia-coordinatetransformations")
844 (version "0.6.1")
845 (source
846 (origin
847 (method git-fetch)
848 (uri (git-reference
849 (url "https://github.com/JuliaGeometry/CoordinateTransformations.jl")
850 (commit (string-append "v" version))))
851 (file-name (git-file-name name version))
852 (sha256
853 (base32 "15zbkn32v7xlz7559s0r5a0vkwmjwsswxaqpzijly4lky4jnp33d"))))
854 (build-system julia-build-system)
9e21a2a1 855 (propagated-inputs
8394619b 856 (list julia-staticarrays))
8ee9516a 857 (native-inputs
8394619b 858 (list julia-documenter julia-forwarddiff julia-unitful))
9e21a2a1
EF
859 (home-page "https://github.com/JuliaGeometry/CoordinateTransformations.jl")
860 (synopsis "Coordinate transformations in Julia")
861 (description "@code{CoordinateTransformations} is a Julia package to manage
862simple or complex networks of coordinate system transformations.
863Transformations can be easily applied, inverted, composed, and differentiated
864(both with respect to the input coordinates and with respect to transformation
865parameters such as rotation angle). Transformations are designed to be
866light-weight and efficient enough for, e.g., real-time graphical applications,
867while support for both explicit and automatic differentiation makes it easy to
868perform optimization and therefore ideal for computer vision applications such
869as SLAM (simultaneous localization and mapping).")
870 (license license:expat)))
871
a9db2df4
EF
872(define-public julia-crayons
873 (package
874 (name "julia-crayons")
875 (version "4.0.4")
876 (source
877 (origin
878 (method git-fetch)
879 (uri (git-reference
880 (url "https://github.com/KristofferC/Crayons.jl")
881 (commit (string-append "v" version))))
882 (file-name (git-file-name name version))
883 (sha256
884 (base32 "0v3zhjlnb2914bxcj4myl8pgb7m31p77aj2k1bckmqs96jdph10z"))))
885 (build-system julia-build-system)
886 (home-page "https://github.com/KristofferC/Crayons.jl")
887 (synopsis "Colored and styled strings for terminals")
888 (description "Crayons is a package that makes it simple to write strings in
889different colors and styles to terminals. It supports the 16 system colors,
890both the 256 color and 24 bit true color extensions, and the different text
891styles available to terminals.")
892 (license license:expat)))
893
ccbf9c45
EF
894(define-public julia-dataapi
895 (package
896 (name "julia-dataapi")
e076ed6e 897 (version "1.7.0")
ccbf9c45
EF
898 (source
899 (origin
900 (method git-fetch)
901 (uri (git-reference
902 (url "https://github.com/JuliaData/DataAPI.jl")
903 (commit (string-append "v" version))))
904 (file-name (git-file-name name version))
905 (sha256
e076ed6e 906 (base32 "0swk31p83fycz5cdj4fg6b0wfqj473lnx94q2fl7ybxkkc6afba7"))))
ccbf9c45
EF
907 (build-system julia-build-system)
908 (home-page "https://github.com/JuliaData/DataAPI.jl")
909 (synopsis "Data-focused namespace for packages to share functions")
910 (description "This package provides a namespace for data-related generic
911function definitions to solve the optional dependency problem; packages wishing
912to share and/or extend functions can avoid depending directly on each other by
913moving the function definition to DataAPI.jl and each package taking a
914dependency on it.")
915 (license license:expat)))
916
bfde12f7
EF
917(define-public julia-dataframes
918 (package
919 (name "julia-dataframes")
920 (version "1.2.2")
921 (source
922 (origin
923 (method git-fetch)
924 (uri (git-reference
925 (url "https://github.com/JuliaData/DataFrames.jl")
926 (commit (string-append "v" version))))
927 (file-name (git-file-name name version))
928 (sha256
929 (base32 "1bk0amrghgjrkyn1mm4ac23swwbgszl1d0qyl9137qj5zvv9dasp"))))
930 (build-system julia-build-system)
931 (arguments
932 `(#:phases
933 (modify-phases %standard-phases
3af351a7 934 (add-after 'link-depot 'skip-failing-test
bfde12f7
EF
935 (lambda _
936 ;; Tests with non-standard colors.
937 (substitute* "test/show.jl"
938 (("test (sprint\\(show, df, context=:color=>true)" _ test)
939 (string-append "test_nowarn " test)))
940 (substitute* "test/io.jl"
941 (("testset \\\"improved.*" all)
942 (string-append all "return\n")))
943 (substitute* "test/join.jl"
944 (("test (levels\\(outerjoin\\(B)" _ test)
945 (string-append "test_nowarn " test)))
946 #t)))))
947 (propagated-inputs
8394619b
LC
948 (list julia-dataapi
949 julia-invertedindices
950 julia-iteratorinterfaceextensions
951 julia-missings
952 julia-pooledarrays
953 julia-prettytables
954 julia-reexport
955 julia-sortingalgorithms
956 julia-tables
957 julia-tabletraits))
bfde12f7 958 (native-inputs
8394619b
LC
959 (list julia-categoricalarrays
960 julia-combinatorics
961 julia-datastructures
962 julia-datavalues
963 julia-offsetarrays
964 julia-unitful))
bfde12f7
EF
965 (home-page "https://dataframes.juliadata.org/stable/")
966 (synopsis "In-memory tabular data")
967 (description "This package provides a set of tools for working with tabular
968data in Julia. Its design and functionality are similar to those of Pandas from
969Python or @code{data.frame}, @code{data.table} and @code{dplyr} from R, making
970it a great general purpose data science tool, especially for those coming to
971Julia from R or Python.")
972 (license license:expat)))
973
6545cef5 974(define-public julia-datastructures
975 (package
976 (name "julia-datastructures")
977 (version "0.18.9")
978 (source
979 (origin
980 (method git-fetch)
981 (uri (git-reference
982 (url "https://github.com/JuliaCollections/DataStructures.jl")
983 (commit (string-append "v" version))))
984 (file-name (git-file-name name version))
985 (sha256
986 (base32 "0hdqp8ipsqdw5bqqkdvz4j6n67x80sj5azr9vzyxwjfsgkfbnk2l"))))
987 (propagated-inputs
8394619b 988 (list julia-compat julia-orderedcollections))
6545cef5 989 (build-system julia-build-system)
7fee8a46 990 (arguments
991 `(#:phases
992 ,@(if (target-x86-32?)
993 '((modify-phases %standard-phases
994 (add-after 'unpack 'remove-failing-test-i686
995 (lambda _
996 ;; The evaluation returns the correct value,
997 ;; Evaluated: "Accumulator(1 => 3, 3 => 4)"
998 ;; but, for some reasons, is considered as failed.
999 (substitute* "test/test_accumulator.jl"
1000 (("@test sprint\\(show,Accumulator\\(1 => 3, 3 => 4\\)\\)")
1001 "@test_broken sprint(show, Accumulator(1 => 3, 3 => 4))"))))))
1002 '(%standard-phases))))
6545cef5 1003 (home-page "https://github.com/JuliaCollections/DataStructures.jl")
1004 (synopsis "Julia module providing different data structures")
1005 (description "This package implements a variety of data structures,
1006including, @code{CircularBuffer}, @code{Queue}, @code{Stack},
1007@code{Accumulators}, @code{LinkedLists}, @code{SortedDicts} and many others.")
1008 (license license:expat)))
1009
21df298e
EF
1010(define-public julia-datavalueinterfaces
1011 (package
1012 (name "julia-datavalueinterfaces")
1013 (version "1.0.0")
1014 (source
1015 (origin
1016 (method git-fetch)
1017 (uri (git-reference
1018 (url "https://github.com/queryverse/DataValueInterfaces.jl")
1019 (commit (string-append "v" version))))
1020 (file-name (git-file-name name version))
1021 (sha256
1022 (base32 "0g2wj6q7jj956nx6g7dk8x7w1c4l2xcmnr1kq5x8s8fild9kslg8"))))
1023 (build-system julia-build-system)
1024 (home-page "https://github.com/queryverse/DataValueInterfaces.jl")
1025 (synopsis "Interface for DataValues.jl")
1026 (description "This package allows a few \"forward\" definitions for the
1027@code{DataValues.jl} package that other packages can utilize for integration
1028without having to take direct dependencies.")
1029 (license license:expat)))
1030
e886181b
EF
1031(define-public julia-datavalues
1032 (package
1033 (name "julia-datavalues")
1034 (version "0.4.13")
1035 (source
1036 (origin
1037 (method git-fetch)
1038 (uri (git-reference
1039 (url "https://github.com/queryverse/DataValues.jl")
1040 (commit (string-append "v" version))))
1041 (file-name (git-file-name name version))
1042 (sha256
1043 (base32 "15j3hrqq6nazn533bfsvg32xznacbzsl303j1qs48av59ppnvhhv"))))
1044 (build-system julia-build-system)
1045 (arguments
21747ffa
EF
1046 `(#:tests? #f ; Tests need upgrading with newer Julia version.
1047 #:phases
e886181b 1048 (modify-phases %standard-phases
3af351a7 1049 (add-after 'link-depot 'skip-known-failing-tests
e886181b
EF
1050 (lambda _
1051 ;; See upstream report:
1052 ;; https://github.com/queryverse/DataValues.jl/issues/83
1053 (substitute* "test/array/test_reduce.jl"
1054 ((".*DataValue\\(mapreduce.*") "")
1055 ((".*DataValue\\(method\\(f.*") ""))
1056 #t)))))
1057 (propagated-inputs
8394619b 1058 (list julia-datavalueinterfaces))
e886181b
EF
1059 (home-page "https://github.com/queryverse/DataValues.jl")
1060 (synopsis "Missing values for Julia")
1061 (description "This package provides the type @code{DataValue} that is used
1062to represent missing data.")
1063 (license license:expat)))
1064
52811a76
EF
1065(define-public julia-deepdiffs
1066 (package
1067 (name "julia-deepdiffs")
1068 (version "1.2.0")
1069 (source
1070 (origin
1071 (method git-fetch)
1072 (uri (git-reference
1073 (url "https://github.com/ssfrr/DeepDiffs.jl")
1074 (commit (string-append "v" version))))
1075 (file-name (git-file-name name version))
1076 (sha256
1077 (base32 "1gsbxb1d67g05h5bvzz3swdfih6404jrydy724a8dvbdgqvm3sds"))))
1078 (build-system julia-build-system)
1079 (home-page "https://github.com/ssfrr/DeepDiffs.jl")
1080 (synopsis "Compute and pretty-print diffs for data structures")
1081 (description "@code{DeepDiffs.jl} provides the @code{deepdiff} function,
1082which finds and displays differences (diffs) between Julia data structures. It
1083supports @code{Vectors}, @code{Dicts}, and @code{String}s. When diffing
1084dictionaries where values associated with a particular key may change,
1085@code{deepdiff} will recurse into value to provide a more detailed diff.")
1086 (license license:expat)))
1087
f74305a0
EF
1088(define-public julia-dictionaries
1089 (package
1090 (name "julia-dictionaries")
23dbed6f 1091 (version "0.3.10")
f74305a0
EF
1092 (source
1093 (origin
1094 (method git-fetch)
1095 (uri (git-reference
1096 (url "https://github.com/andyferris/Dictionaries.jl")
1097 (commit (string-append "v" version))))
1098 (file-name (git-file-name name version))
1099 (sha256
23dbed6f 1100 (base32 "1mm43hm8hd6sgmkkpqhbqhvap7mpkjwzmz5algxi6manp580gkr5"))))
f74305a0
EF
1101 (build-system julia-build-system)
1102 (propagated-inputs
8394619b 1103 (list julia-indexing))
f74305a0
EF
1104 (home-page "https://github.com/andyferris/Dictionaries.jl")
1105 (synopsis "Alternative interface for dictionaries in Julia")
1106 (description "This package provides an alternative interface for
1107dictionaries in Julia, for improved productivity and performance.")
1108 (license license:expat)))
1109
6ee82f63
EF
1110(define-public julia-distances
1111 (package
1112 (name "julia-distances")
1113 (version "0.10.3")
1114 (source
1115 (origin
1116 (method git-fetch)
1117 (uri (git-reference
1118 (url "https://github.com/JuliaStats/Distances.jl")
1119 (commit (string-append "v" version))))
1120 (file-name (git-file-name name version))
1121 (sha256
1122 (base32 "1yqd9wg4z15k42mrp4y14j2x0sq7yrjhm5zpqklrw6w6j1c367ig"))))
1123 (build-system julia-build-system)
1124 (arguments
1125 `(#:phases
1126 (modify-phases %standard-phases
3af351a7 1127 (add-after 'link-depot 'skip-flakey-tests
6ee82f63 1128 (lambda _
c20c9e16
EF
1129 ;; Some combination of these tests fail nondeterministically
1130 ;; each of the times this package is built.
6ee82f63
EF
1131 (substitute* "test/test_dists.jl"
1132 (("test dyz ≥") "test_nowarn dyz ≥")
1133 (("test dist\\(y, x") "test_nowarn dist(y, x")
c20c9e16
EF
1134 (("test dist\\(z, x") "test_nowarn dist(z, x")
1135 (("test dist\\(z, y") "test_nowarn dist(z, y")))))))
6ee82f63 1136 (propagated-inputs
8394619b 1137 (list julia-statsapi))
6ee82f63 1138 (native-inputs
8394619b 1139 (list julia-offsetarrays julia-unitful))
6ee82f63
EF
1140 (home-page "https://github.com/JuliaStats/Distances.jl")
1141 (synopsis "Julia package for evaluating distances (metrics) between vectors")
1142 (description "A Julia package for evaluating distances(metrics) between
1143vectors. This package also provides optimized functions to compute column-wise
1144and pairwise distances, which are often substantially faster than a
1145straightforward loop implementation.")
1146 (license license:expat)))
1147
9e77eb58
EF
1148(define-public julia-docstringextensions
1149 (package
1150 (name "julia-docstringextensions")
96ebbd45 1151 (version "0.8.5")
9e77eb58
EF
1152 (source
1153 (origin
1154 (method git-fetch)
1155 (uri (git-reference
1156 (url "https://github.com/JuliaDocs/DocStringExtensions.jl")
1157 (commit (string-append "v" version))))
1158 (file-name (git-file-name name version))
1159 (sha256
96ebbd45 1160 (base32 "0fy4kfnfacyfmlly6nqxn77dk2gqw80b69zb4m1i0i39zv3cpqfb"))))
9e77eb58 1161 (build-system julia-build-system)
fcc900bd
EF
1162 (arguments
1163 `(#:tests? #f)) ; Tests try to read SSL certificates.
9e77eb58
EF
1164 (home-page "https://juliadocs.github.io/DocStringExtensions.jl/latest/")
1165 (synopsis "Extensions for Julia's docsystem")
1166 (description "This package provides a collection of useful extensions for
1167Julia's built-in docsystem. These are features that are not yet mature enough
1168to be considered for inclusion in Base, or that have sufficiently niche use
1169cases that including them with the default Julia installation is not seen as
1170valuable enough at this time.")
1171 (license license:expat)))
1172
7b59508c
EF
1173;; By removing all the javascript and css downloads any HTML documentation
1174;; produced by this package will not be very useful.
1175(define-public julia-documenter
1176 (package
1177 (name "julia-documenter")
1178 (version "0.27.7")
1179 (source
1180 (origin
1181 (method git-fetch)
1182 (uri (git-reference
1183 (url "https://github.com/JuliaDocs/Documenter.jl")
1184 (commit (string-append "v" version))))
1185 (file-name (git-file-name name version))
1186 (sha256
1187 (base32 "00ai3c24i3fkn5plmavampcxm0ijhwk0v5cn9xwm7rvbjnnvaaam"))))
1188 (build-system julia-build-system)
1189 (arguments
1190 `(#:phases
1191 (modify-phases %standard-phases
3af351a7 1192 (add-after 'link-depot 'patch-source
7b59508c
EF
1193 (lambda* (#:key inputs #:allow-other-keys)
1194 (substitute* "src/Deps.jl"
1195 (("pip install")
1196 (string-append (assoc-ref inputs "python")
1197 "/bin/pip install")))
1198 #t))
3af351a7 1199 (add-after 'link-depot 'remove-javascript-downloads
7b59508c
EF
1200 (lambda _
1201 (substitute* "src/Writers/HTMLWriter.jl"
1202 (("cdnjs.cloudflare.com") "example.com"))
1203 ;; Removing the javascript downloads causes these tests fail.
1204 (substitute* "test/examples/tests.jl"
1205 ((".*Main\\.examples_html_doc.*") "")
1206 ((".*Main\\.examples_html_mathjax3_doc.*") ""))
1207 #t)))))
1208 (propagated-inputs
8394619b
LC
1209 (list julia-ansicoloredprinters julia-docstringextensions
1210 julia-iocapture julia-json))
7b59508c
EF
1211 (inputs
1212 `(("python" ,python-wrapper)))
1213 (native-inputs
1214 `(("git" ,git-minimal)
1215 ("julia-documentermarkdown" ,julia-documentermarkdown)
1216 ("julia-documentertools" ,julia-documentertools)))
1217 (home-page "https://juliadocs.github.io/Documenter.jl")
1218 (synopsis "Documentation generator for Julia")
1219 (description "This package provides a documentation generator for Julia.")
1220 (license license:expat)))
1221
1222(define julia-documenter-bootstrap
1223 (package
1224 (inherit julia-documenter)
1225 (name "julia-documenter-bootstrap")
1226 (arguments
1227 (substitute-keyword-arguments (package-arguments julia-documenter)
1228 ((#:phases phases)
1229 `(modify-phases ,phases
1230 (delete 'patch-source)))
1231 ;; Not all dependencies available in bootstrap version.
1232 ((#:tests? _ #f) #f)))
1233 (inputs `())
1234 (native-inputs `())))
1235
1236(define-public julia-documentermarkdown
1237 (package
1238 (name "julia-documentermarkdown")
1239 (version "0.2.2")
1240 (source
1241 (origin
1242 (method git-fetch)
1243 (uri (git-reference
1244 (url "https://github.com/JuliaDocs/DocumenterMarkdown.jl")
1245 (commit (string-append "v" version))))
1246 (file-name (git-file-name name version))
1247 (sha256
1248 (base32 "0sx89hi5p2f8zi2rp5qrv06m270d90pxj5d2y5cxls1spax7wqx8"))))
1249 (build-system julia-build-system)
1250 (inputs
1251 ;; We don't want to propagate the bootstrap version.
1252 ;; Cycle with Documenter.jl in later versions.
e3196755 1253 (list julia-documenter-bootstrap))
7b59508c
EF
1254 (home-page "https://github.com/JuliaDocs/DocumenterMarkdown.jl")
1255 (synopsis "Documenter's Markdown")
1256 (description "This package enables the Markdown / MkDocs backend of
1257@code{Documenter.jl}.")
1258 (license license:expat)))
1259
1260(define-public julia-documentertools
1261 (package
1262 (name "julia-documentertools")
1263 (version "0.1.13")
1264 (source
1265 (origin
1266 (method git-fetch)
1267 (uri (git-reference
1268 (url "https://github.com/JuliaDocs/DocumenterTools.jl")
1269 (commit (string-append "v" version))))
1270 (file-name (git-file-name name version))
1271 (sha256
1272 (base32 "05p57p8xlkn42m1lv9gq4hl96vp7hpj19d51p828ai1rbpcpi3a6"))))
1273 (build-system julia-build-system)
1274 (arguments
1275 `(#:tests? #f)) ; Tests require network.
1276 (inputs
1277 ;; We don't want to propagate the bootstrap version.
1278 ;; Cycle with Documenter.jl in later versions.
1279 `(("julia-documenter" ,julia-documenter-bootstrap)))
1280 (propagated-inputs
8394619b 1281 (list julia-docstringextensions julia-gumbo julia-sass))
7b59508c 1282 (native-inputs
8394619b 1283 (list julia-example))
7b59508c
EF
1284 (home-page "https://github.com/JuliaDocs/DocumenterTools.jl")
1285 (synopsis "Extra tools for setting up Documenter.jl")
1286 (description "This package contains utilities for setting up documentation
1287generation with @code{Documenter.jl}.")
1288 (license license:expat)))
1289
7bf791ee 1290(define-public julia-diffresults
1291 (package
1292 (name "julia-diffresults")
1293 (version "1.0.3")
1294 (source
1295 (origin
1296 (method git-fetch)
1297 (uri (git-reference
1298 (url "https://github.com/JuliaDiff/DiffResults.jl")
1299 (commit (string-append "v" version))))
1300 (file-name (git-file-name name version))
1301 (sha256
1302 (base32 "1w6p3yxajvclax5b9g7cr2jmbc7lvr5nk4gq0aljxdycdq1d2y3v"))))
1303 (propagated-inputs
8394619b 1304 (list julia-staticarrays))
7bf791ee 1305 (build-system julia-build-system)
1306 (home-page "https://github.com/JuliaDiff/DiffResults.jl")
1307 (synopsis "In-place differentiation methods of primal values at multi-order")
1308 (description "This package provides the @code{DiffResult} type, which can
1309be passed to in-place differentiation methods instead of an output buffer.")
1310 (license license:expat)))
1311
33e5152a 1312(define-public julia-diffrules
1313 (package
1314 (name "julia-diffrules")
1315 (version "1.0.2")
1316 (source
1317 (origin
1318 (method git-fetch)
1319 (uri (git-reference
1320 (url "https://github.com/JuliaDiff/DiffRules.jl")
1321 (commit (string-append "v" version))))
1322 (file-name (git-file-name name version))
1323 (sha256
1324 (base32 "0cwjvj4gma7924fm3yas0nf0jlnwwx4v7fi79ii3s290lkdldzfl"))))
1325 (propagated-inputs
8394619b 1326 (list julia-nanmath julia-specialfunctions))
33e5152a 1327 (build-system julia-build-system)
1328 (home-page "https://github.com/JuliaDiff/DiffRules.jl")
1329 (synopsis "Primitive differentiation rules")
1330 (description "This package provides primitive differentiation rules that
1331can be composed via various formulations of the chain rule. Using
1332@code{DiffRules}, new differentiation rules can defined, query whether or not
1333a given rule exists, and symbolically apply rules to simple Julia expressions.")
1334 (license license:expat)))
1335
df4be2e9 1336(define-public julia-difftests
1337 (package
1338 (name "julia-difftests")
1339 (version "0.1.1")
1340 (source
1341 (origin
1342 (method git-fetch)
1343 (uri (git-reference
1344 (url "https://github.com/JuliaDiff/DiffTests.jl")
1345 (commit (string-append "v" version))))
1346 (file-name (git-file-name name version))
1347 (sha256
1348 (base32 "1rxpnd5zi3pxgdd38l5jm2sxc3q6p7g57fqgll2dsiin07y3my57"))))
1349 (build-system julia-build-system)
1350 (home-page "https://github.com/JuliaDiff/DiffTests.jl")
1351 (synopsis "Common test functions for differentiation tools")
1352 (description "This package contains a common suite of test functions for
1353stressing the robustness of differentiation tools.")
1354 (license license:expat)))
ae131820
EF
1355
1356(define-public julia-dualnumbers
1357 (package
1358 (name "julia-dualnumbers")
1359 (version "0.6.5")
1360 (source
1361 (origin
1362 (method git-fetch)
1363 (uri (git-reference
1364 (url "https://github.com/JuliaDiff/DualNumbers.jl")
1365 (commit (string-append "v" version))))
1366 (file-name (git-file-name name version))
1367 (sha256
1368 (base32 "05vr5wbzqpchnb96b3pmn67x196mbfnkv7r9bdlz3gm56if4awk5"))))
1369 (build-system julia-build-system)
1370 (arguments
1371 `(#:phases
1372 (modify-phases %standard-phases
3af351a7 1373 (add-after 'link-depot 'adjust-test-suite
ae131820
EF
1374 (lambda _
1375 (substitute* "test/runtests.jl"
1376 ;; Seems to not play nicely with SpecialFunctions
1377 ((".*isempty.*") "")))))))
1378 (propagated-inputs
8394619b 1379 (list julia-calculus julia-nanmath julia-specialfunctions))
ae131820
EF
1380 (home-page "https://github.com/JuliaDiff/DualNumbers.jl")
1381 (synopsis "Represent dual numbers and for perform dual algebra")
1382 (description "The @code{DualNumbers} Julia package defines the @code{Dual}
1383type to represent dual numbers, and supports standard mathematical operations on
1384them. Conversions and promotions are defined to allow performing operations on
1385combinations of dual numbers with predefined Julia numeric types.")
1386 (license license:expat)))
df4be2e9 1387
25ece40e
EF
1388(define-public julia-ellipsisnotation
1389 (package
1390 (name "julia-ellipsisnotation")
1391 (version "1.1.0")
1392 (source
1393 (origin
1394 (method git-fetch)
1395 (uri (git-reference
1396 (url "https://github.com/ChrisRackauckas/EllipsisNotation.jl")
1397 (commit (string-append "v" version))))
1398 (file-name (git-file-name name version))
1399 (sha256
1400 (base32 "0py46kxl702r8pw3v7x4cqllf7yc91b0dr7vb60xh2qi7d6y3jc7"))))
1401 (build-system julia-build-system)
0f15f774
EF
1402 (arguments
1403 `(#:phases
1404 (modify-phases %standard-phases
3af351a7 1405 (add-after 'link-depot 'adjust-test-suite
0f15f774
EF
1406 (lambda _
1407 (substitute* "test/runtests.jl"
1408 ;; Seems to not play nicely with Julia-1.6.
1409 ((".*basic.jl.*") "")))))))
25ece40e 1410 (propagated-inputs
8394619b 1411 (list julia-arrayinterface))
25ece40e
EF
1412 (home-page "https://github.com/ChrisRackauckas/EllipsisNotation.jl")
1413 (synopsis "Elipsis notation implementation")
1414 (description "This implements the notation @code{..} for indexing arrays.
1415It's similar to the Python @code{...} in that it means \"all of the columns
1416before (or after)\".")
1417 (license license:expat)))
1418
fffb1e72 1419(define-public julia-example
1420 (let ((commit "f968c69dea24f851d0c7e686db23fa55826b5388"))
1421 (package
1422 (name "julia-example")
1423 (version "0.5.4") ;tag not created upstream
1424 (source
1425 (origin
1426 (method git-fetch)
1427 (uri (git-reference
1428 (url "https://github.com/JuliaLang/Example.jl")
1429 (commit commit)))
1430 (file-name (git-file-name name version))
1431 (sha256
1432 (base32 "1v3z0d6gh6wfbypffy9m9rhh36px6fm5wjzq0y6rbmc95r0qpqlx"))))
1433 (build-system julia-build-system)
1434 (home-page "https://github.com/JuliaLang/Example.jl")
1435 (synopsis "Module providing examples")
1436 (description "This package provides various examples.")
1437 (license license:expat))))
1438
5ba67ed6
EF
1439;; ExproniconLite.jl is autogenerated from this package.
1440(define-public julia-expronicon
1441 (package
1442 (name "julia-expronicon")
1443 (version "0.6.10")
1444 (source
1445 (origin
1446 (method git-fetch)
1447 (uri (git-reference
1448 (url "https://github.com/Roger-luo/Expronicon.jl")
1449 (commit (string-append "v" version))))
1450 (file-name (git-file-name name version))
1451 (sha256
1452 (base32 "0h8aaynqlxrkn8575k5vqmhzil4vvxchhf0bcxa6zwawp558gj2y"))))
1453 (build-system julia-build-system)
1454 (arguments
1455 `(#:phases
1456 (modify-phases %standard-phases
3af351a7 1457 (add-after 'link-depot 'skip-network-tests
5ba67ed6
EF
1458 (lambda _
1459 (substitute* "test/runtests.jl"
1460 ;; This test tries to access the Julia package registry.
1461 ((".*expand\\.jl.*") "")))))))
1462 (propagated-inputs
8394619b 1463 (list julia-mlstyle))
5ba67ed6 1464 (native-inputs
8394619b 1465 (list julia-documenter))
5ba67ed6
EF
1466 (home-page "https://expronicon.rogerluo.dev/dev/")
1467 (synopsis "Collective tools for metaprogramming on Julia Expr")
1468 (description "This package provides a collection of tools for
1469metaprogramming on Julia Expr, the meta programming standard library for
1470@code{MLStyle}.")
1471 (license license:expat)))
1472
73b6f78c
EF
1473(define-public julia-exprtools
1474 (package
1475 (name "julia-exprtools")
231387c3 1476 (version "0.1.6")
73b6f78c
EF
1477 (source
1478 (origin
1479 (method git-fetch)
1480 (uri (git-reference
1481 (url "https://github.com/invenia/ExprTools.jl")
1482 (commit (string-append "v" version))))
1483 (file-name (git-file-name name version))
1484 (sha256
231387c3 1485 (base32 "058ax5d96jpym5w3g37ah1c4xq3fskwpjdhchakzax15vqzy7ab4"))))
73b6f78c
EF
1486 (build-system julia-build-system)
1487 (home-page "https://github.com/invenia/ExprTools.jl")
1488 (synopsis "Light-weight expression manipulation tools")
1489 (description "@code{ExprTools} provides tooling for working with Julia
1490expressions during metaprogramming. This package aims to provide light-weight
1491performant tooling without requiring additional package dependencies.")
1492 (license license:expat)))
1493
0c1b3444
EF
1494(define-public julia-ffmpeg
1495 (package
1496 (name "julia-ffmpeg")
bef5db80 1497 (version "0.4.1")
0c1b3444
EF
1498 (source
1499 (origin
1500 (method git-fetch)
1501 (uri (git-reference
1502 (url "https://github.com/JuliaIO/FFMPEG.jl")
1503 (commit (string-append "v" version))))
1504 (file-name (git-file-name name version))
1505 (sha256
bef5db80 1506 (base32 "1ldxbp0kq3ip67x7sp82dz56aq4p5i0chspbgx2zgskr6jcbjj1b"))))
0c1b3444
EF
1507 (build-system julia-build-system)
1508 (propagated-inputs
8394619b 1509 (list julia-ffmpeg-jll julia-x264-jll))
0c1b3444
EF
1510 (home-page "https://github.com/JuliaIO/FFMPEG.jl")
1511 (synopsis "Julia Package for ffmpeg")
1512 (description "This package is made to be included into packages that just
1513need the ffmpeg binaries + executables, and don't want the overhead of
1514@code{VideoIO.jl}.")
1515 (license license:expat)))
1516
9810337b
EF
1517(define-public julia-fileio
1518 (package
1519 (name "julia-fileio")
1520 (version "1.9.1")
1521 (source
1522 (origin
1523 (method git-fetch)
1524 (uri (git-reference
1525 (url "https://github.com/JuliaIO/FileIO.jl")
1526 (commit (string-append "v" version))))
1527 (file-name (git-file-name name version))
1528 (sha256
1529 (base32 "1b18x43i737g5q41n9818xbnc2pgd98q1m6yw3h29yri0clg4gfx"))))
1530 (build-system julia-build-system)
1531 (arguments
1532 `(#:phases
1533 (modify-phases %standard-phases
1534 (delete 'reset-gzip-timestamps)
3af351a7 1535 (add-after 'link-depot 'skip-network-tests
9810337b
EF
1536 (lambda _
1537 ;; These tests try to download audio/video files.
1538 (substitute* "test/query.jl"
1539 (("testset.*(MP4|OGG|MATROSKA).*" all)
1540 (string-append all "return\n")))
1541 (substitute* "test/loadsave.jl"
1542 (("testset.*CSVFiles.*" all)
1543 (string-append all "return\n")))
1544 ;; This test tries to download a Julia package.
1545 (substitute* "test/error_handling.jl"
1546 (("testset.*Not installed.*" all)
1547 (string-append all "return\n")))
1548 ;; This test tries to write to the store.
1549 ;; (Error says can't find User 0)
1550 (substitute* "test/runtests.jl"
1551 ((".*test_mimesave.*") "")))))))
1552 (propagated-inputs
8394619b 1553 (list julia-requires))
9810337b 1554 (native-inputs
8394619b 1555 (list julia-colortypes julia-filepathsbase julia-http))
9810337b
EF
1556 (home-page "https://github.com/JuliaIO/FileIO.jl")
1557 (synopsis "Main Package for IO, loading all different kind of files")
1558 (description "@code{FileIO} aims to provide a common framework for detecting
1559file formats and dispatching to appropriate readers/writers. The two core
1560functions in this package are called @code{load} and @code{save}, and offer
1561high-level support for formatted files (in contrast with Julia's low-level
1562@code{read} and @code{write}).")
1563 (license license:expat)))
1564
08ad8d69
EF
1565(define-public julia-filepathsbase
1566 (package
1567 (name "julia-filepathsbase")
1568 (version "0.9.10")
1569 (source
1570 (origin
1571 (method git-fetch)
1572 (uri (git-reference
1573 (url "https://github.com/rofinn/FilePathsBase.jl")
1574 (commit (string-append "v" version))))
1575 (file-name (git-file-name name version))
1576 (sha256
1577 (base32 "136wm4ik6isrdanmpi4gdr1qw0qhr15i925qzjxbawk5hnyzwng9"))))
1578 (build-system julia-build-system)
1579 (arguments
1580 `(#:tests? #f)) ; Cycle with JLSO.jl
1581 (home-page "https://github.com/rofinn/FilePathsBase.jl")
1582 (synopsis "Filesystem path types in Julia")
1583 (description "@code{FilePathsBase.jl} provides a type based approach to
1584working with filesystem paths in Julia.")
1585 (license license:expat)))
1586
a0d3a73f 1587(define-public julia-fillarrays
1588 (package
1589 (name "julia-fillarrays")
d13e8acb 1590 (version "0.12.6")
a0d3a73f 1591 (source
1592 (origin
1593 (method git-fetch)
1594 (uri (git-reference
1595 (url "https://github.com/JuliaArrays/FillArrays.jl")
1596 (commit (string-append "v" version))))
1597 (file-name (git-file-name name version))
1598 (sha256
d13e8acb 1599 (base32 "1sx96pzrgyh8k7x2w8vmyi6cazlmp7rg1n7wbl47qfzqjggka6kz"))))
a0d3a73f 1600 (build-system julia-build-system)
1601 (inputs ;required by tests
8394619b 1602 (list julia-staticarrays))
a0d3a73f 1603 (home-page "https://github.com/JuliaArrays/FillArrays.jl")
1604 (synopsis "Lazy matrix representation")
239f0259 1605 (description "This package lazily represents matrices filled with
a0d3a73f 1606a single entry, as well as identity matrices. This package exports the
1607following types: @code{Eye}, @code{Fill}, @code{Ones}, @code{Zeros},
1608@code{Trues} and @code{Falses}.")
1609 (license license:expat)))
1610
9f9d887e
EF
1611(define-public julia-finitediff
1612 (package
1613 (name "julia-finitediff")
f7d79b96 1614 (version "2.8.1")
9f9d887e
EF
1615 (source
1616 (origin
1617 (method git-fetch)
1618 (uri (git-reference
1619 (url "https://github.com/JuliaDiff/FiniteDiff.jl")
1620 (commit (string-append "v" version))))
1621 (file-name (git-file-name name version))
1622 (sha256
f7d79b96 1623 (base32 "105f6r0hq97n9mxf1nacmz94dpca66vzqj5p3zh4h0brshmggqnq"))))
9f9d887e
EF
1624 (build-system julia-build-system)
1625 (arguments
1626 `(#:phases
1627 (modify-phases %standard-phases
1628 (add-before 'check 'pre-check
1629 (lambda _
1630 ;; We don't want to run all the tests; the Downstream tests
1631 ;; try to download the package registry.
1632 (setenv "GROUP" "Core")
1633 #t)))))
1634 (propagated-inputs
8394619b 1635 (list julia-arrayinterface julia-requires julia-staticarrays))
9f9d887e 1636 (native-inputs
8394619b
LC
1637 (list julia-bandedmatrices julia-blockbandedmatrices
1638 julia-safetestsets))
9f9d887e
EF
1639 (home-page "https://github.com/JuliaDiff/FiniteDiff.jl")
1640 (synopsis "Calculations of gradients, Jacobians, and Hessians")
1641 (description "This package is for calculating derivatives, gradients,
1642Jacobians, Hessians, etc. numerically. This library is for maximizing speed
1643while giving a usable interface to end users in a way that specializes on array
1644types and sparsity.")
1645 (license license:expat)))
1646
f6c5a898 1647(define-public julia-finitedifferences
1648 (package
1649 (name "julia-finitedifferences")
071f0366 1650 (version "0.12.17")
f6c5a898 1651 (source
1652 (origin
1653 (method git-fetch)
1654 (uri (git-reference
1655 (url "https://github.com/JuliaDiff/FiniteDifferences.jl")
1656 (commit (string-append "v" version))))
1657 (file-name (git-file-name name version))
1658 (sha256
071f0366 1659 (base32 "09nsf9cgk49yrvprflnhd9h5rrgs280rgj8sad3csghxdx6jqk5c"))))
f6c5a898 1660 (build-system julia-build-system)
a31a4517 1661 (arguments
1662 `(#:phases
1663 ,@(if (target-x86-32?)
1664 '((modify-phases %standard-phases
1665 (add-after 'unpack 'remove-failing-test-i686
1666 (lambda _
1667 ;; Machine Precision incorrectly handled
1668 (substitute* "test/methods.jl"
1669 (("@test central_fdm\\(15, 5, adapt=2\\)\\(exp, 1.0\\)")
1670 "@test_broken central_fdm(15, 5, adapt=2)(exp, 1.0)"))))))
1671 '(%standard-phases))))
f6c5a898 1672 (inputs
8394619b 1673 (list julia-benchmarktools))
f6c5a898 1674 (propagated-inputs
8394619b 1675 (list julia-chainrulescore julia-richardson julia-staticarrays))
f6c5a898 1676 (home-page "https://github.com/JuliaDiff/FiniteDifferences.jl")
1677 (synopsis "Estimates derivatives with finite differences")
1678 (description "This package calculates approximate derivatives numerically
1679using finite difference.")
1680 (license license:expat)))
1681
50f99cc5 1682(define-public julia-fixedpointnumbers
1683 (package
1684 (name "julia-fixedpointnumbers")
1685 (version "0.8.4")
1686 (source
1687 (origin
1688 (method git-fetch)
1689 (uri (git-reference
1690 (url "https://github.com/JuliaMath/FixedPointNumbers.jl")
1691 (commit (string-append "v" version))))
1692 (file-name (git-file-name name version))
1693 (sha256
1694 (base32 "0j0n40n04q9sk68wh9jq90m6c67k4ws02k41djjzkrqmpzv4rcdi"))))
1695 (build-system julia-build-system)
1696 (arguments
1697 `(#:phases
1698 (modify-phases %standard-phases
3af351a7 1699 (add-after 'link-depot 'disable-failing-test
50f99cc5 1700 (lambda* (#:key outputs #:allow-other-keys)
1701 (substitute* "test/fixed.jl"
1702 ;; A deprecation warning is not thrown
1703 (("@test_logs.*:warn" all) (string-append "# " all)))
1704 #t)))))
8394619b 1705 (propagated-inputs (list julia-compat))
50f99cc5 1706 (home-page "https://github.com/JuliaMath/FixedPointNumbers.jl")
1707 (synopsis "Fixed point types for Julia")
1708 (description "@code{FixedPointNumbers.jl} implements fixed-point number
1709types for Julia. A fixed-point number represents a fractional, or
1710non-integral, number. In contrast with the more widely known floating-point
1711numbers, with fixed-point numbers the decimal point doesn't \"float\":
1712fixed-point numbers are effectively integers that are interpreted as being
1713scaled by a constant factor. Consequently, they have a fixed number of
1714digits (bits) after the decimal (radix) point.")
1715 (license license:expat)))
d4987a50 1716
9bb2e649
EF
1717(define-public julia-formatting
1718 (package
1719 (name "julia-formatting")
1720 (version "0.4.2")
1721 (source
1722 (origin
1723 (method git-fetch)
1724 (uri (git-reference
1725 (url "https://github.com/JuliaIO/Formatting.jl")
1726 (commit (string-append "v" version))))
1727 (file-name (git-file-name name version))
1728 (sha256
1729 (base32 "0ma3q9my51rr38bb5712xkc4h3rq0wsfjb4ac6mdh9ywn8rqvrmh"))))
1730 (build-system julia-build-system)
1731 (home-page "https://github.com/JuliaIO/Formatting.jl")
1732 (synopsis "Julia package to provide Python-like formatting support")
1733 (description "This package offers Python-style general formatting and
1734c-style numerical formatting.")
1735 (license license:expat)))
1736
57e034d5 1737(define-public julia-forwarddiff
1738 (package
1739 (name "julia-forwarddiff")
3beb0b80 1740 (version "0.10.18")
57e034d5 1741 (source
1742 (origin
1743 (method git-fetch)
1744 (uri (git-reference
1745 (url "https://github.com/JuliaDiff/ForwardDiff.jl")
1746 (commit (string-append "v" version))))
1747 (file-name (git-file-name name version))
1748 (sha256
3beb0b80 1749 (base32 "1vb46x8mcn61g1l14qrk22c043khg2ml4q1ci7h4k2v34f2ak5fs"))))
57e034d5 1750 (build-system julia-build-system)
bd746917 1751 (arguments
1752 ;; XXXX: Unexpected and non-deterministic failures for i686, e.g.,
1753 ;; Expression: dual_isapprox(FDNUM ^ PRIMAL, exp(PRIMAL * log(FDNUM)))
1754 ;; ERROR: LoadError: LoadError: There was an error during testing
1755 ;; Disable as stopgap.
1756 `(#:tests? ,(not (target-x86-32?))))
57e034d5 1757 (inputs ;required for tests
8394619b 1758 (list julia-calculus julia-difftests))
57e034d5 1759 (propagated-inputs
8394619b
LC
1760 (list julia-commonsubexpressions
1761 julia-diffresults
1762 julia-diffrules
1763 julia-nanmath
1764 julia-specialfunctions
1765 julia-staticarrays))
57e034d5 1766 (home-page "https://github.com/JuliaDiff/ForwardDiff.jl")
1767 (synopsis "Methods to take multidimensional derivatives")
1768 (description "This package implements methods to take derivatives,
1769gradients, Jacobians, Hessians, and higher-order derivatives of native Julia
1770functions (or any callable object, really) using forward mode automatic
1771differentiation (AD).")
1772 (license license:expat)))
cc7c1f90 1773
f9f98a2f
EF
1774(define-public julia-functionwrappers
1775 (package
1776 (name "julia-functionwrappers")
1777 (version "1.1.2")
1778 (source
1779 (origin
1780 (method git-fetch)
1781 (uri (git-reference
1782 (url "https://github.com/yuyichao/FunctionWrappers.jl")
1783 (commit (string-append "v" version))))
1784 (file-name (git-file-name name version))
1785 (sha256
1786 (base32 "02jilpjr7px6138dx2w7ixricvfgsxqdk84d9dgviranibhnjcxa"))))
1787 (build-system julia-build-system)
1788 (arguments
1789 `(#:phases
1790 (modify-phases %standard-phases
3af351a7 1791 (add-after 'link-depot 'adjust-tests
f9f98a2f
EF
1792 (lambda _
1793 (substitute* "test/runtests.jl"
1794 (("testset \\\"Abstract.*" all)
1795 (string-append all "return\n"))))))))
1796 (home-page "https://github.com/yuyichao/FunctionWrappers.jl")
1797 (synopsis "Type stable and efficient wrapper of arbitrary functions")
1798 (description "This package provides a type stable and efficient wrapper of
1799arbitrary functions.")
1800 (license license:expat)))
1801
4b7b94ca 1802(define-public julia-functors
1803 (package
1804 (name "julia-functors")
1805 (version "0.2.7")
1806 (source
1807 (origin
1808 (method git-fetch)
1809 (uri (git-reference
1810 (url "https://github.com/FluxML/Functors.jl")
1811 (commit (string-append "v" version))))
1812 (file-name (git-file-name name version))
1813 (sha256
1814 (base32 "03ry1wn1y2jssq65l29bi6q4ki041aa6gl1nd2w6cgl00k2mrxf3"))))
1815 (build-system julia-build-system)
1816 (home-page "https://fluxml.ai/Functors.jl/stable/")
1817 (synopsis "Design pattern for structures as in machine learning")
1818 (description "This package provides tools to express a design pattern for
1819dealing with large/ nested structures, as in machine learning and
1820optimisation. For large machine learning models it can be cumbersome or
1821inefficient to work with parameters as one big, flat vector, and structs help
1822in managing complexity; but it is also desirable to easily operate over all
1823parameters at once, e.g. for changing precision or applying an optimiser
1824update step.")
1825 (license license:expat)))
1826
ced47448
EF
1827(define-public julia-fuzzycompletions
1828 (package
1829 (name "julia-fuzzycompletions")
1830 (version "0.4.1")
1831 (source
1832 (origin
1833 (method git-fetch)
1834 (uri (git-reference
1835 (url "https://github.com/JunoLab/FuzzyCompletions.jl")
1836 (commit (string-append "v" version))))
1837 (file-name (git-file-name name version))
1838 (sha256
1839 (base32 "07sv88c472n6w4x7diy952igbcfm1s104ysnnvprld83312siw06"))))
1840 (build-system julia-build-system)
226af89e
EF
1841 (arguments
1842 `(#:phases
1843 (modify-phases %standard-phases
3af351a7 1844 (add-after 'link-depot 'skip-failing-test
226af89e
EF
1845 (lambda _
1846 (substitute* "test/runtests.jl"
1847 ((".*RPLE.*") "")))))))
ced47448
EF
1848 (home-page "https://github.com/JunoLab/FuzzyCompletions.jl")
1849 (synopsis "Fuzzy completion provider for Julia")
1850 (description
1851 "FuzzyCompletions provides fuzzy completions for a Julia runtime session.")
1852 (license license:expat)))
1853
2ea20cde
EF
1854(define-public julia-genericlinearalgebra
1855 (package
1856 (name "julia-genericlinearalgebra")
1857 (version "0.2.5")
1858 (source
1859 (origin
1860 (method git-fetch)
1861 (uri (git-reference
1862 (url "https://github.com/JuliaLinearAlgebra/GenericLinearAlgebra.jl")
1863 (commit (string-append "v" version))))
1864 (file-name (git-file-name name version))
1865 (sha256
1866 (base32 "0ndwypa397z3pwzdgc3s9plaqlqf63g3d4px5pvym5psgr6lnm3l"))))
1867 (build-system julia-build-system)
1868 (arguments
1869 `(#:phases
1870 (modify-phases %standard-phases
3af351a7 1871 (add-after 'link-depot 'adjust-test-suite
2ea20cde
EF
1872 (lambda _
1873 (substitute* "test/runtests.jl"
1874 ((".*lapack.*") "")))))))
1875 (native-inputs
8394619b 1876 (list julia-quaternions))
2ea20cde
EF
1877 (home-page "https://github.com/JuliaLinearAlgebra/GenericLinearAlgebra.jl")
1878 (synopsis "Generic numerical linear algebra")
1879 (description "The purpose of this package is partly to extend linear algebra
1880functionality in base to cover generic element types, e.g. @code{BigFloat} and
1881@code{Quaternion}, and partly to be a place to experiment with fast linear
1882algebra routines written in Julia (except for optimized BLAS).")
1883 (license license:expat)))
1884
ba637c5c
EF
1885(define-public julia-genericschur
1886 (package
1887 (name "julia-genericschur")
92929c22 1888 (version "0.5.1")
ba637c5c
EF
1889 (source
1890 (origin
1891 (method git-fetch)
1892 (uri (git-reference
1893 (url "https://github.com/RalphAS/GenericSchur.jl")
1894 (commit (string-append "v" version))))
1895 (file-name (git-file-name name version))
1896 (sha256
92929c22 1897 (base32 "12x6lxzxm91y3k6s9dam46dq5hrby5sr0gy0fdfnp0xhjzdy2j0d"))))
ba637c5c
EF
1898 (build-system julia-build-system)
1899 (arguments
1900 `(#:phases
1901 (modify-phases %standard-phases
3af351a7 1902 (add-after 'link-depot 'adjust-test-suite
ba637c5c
EF
1903 (lambda _
1904 (substitute* "test/complex.jl"
1905 ;; expected Array{Int32,1}, got a value of type Array{Int64,1}
1906 (("A = _example") "#A = _example")
1907 (("schurtest\\(A,20\\)") ""))
1908 (substitute* "test/runtests.jl"
1909 ;; Test errors relating to liblapack.so
1910 ((".*complex\\.jl.*") "")
1911 ((".*real\\.jl.*") "")
1912 ;; GenericSVD is deprecated upstream
1913 ((".*gordschur\\.jl.*") "")))))))
1914 (home-page "https://github.com/RalphAS/GenericSchur.jl")
1915 (synopsis "Schur decomposition of matrices with generic element types")
1916 (description "The Schur decomposition is the workhorse for eigensystem
1917analysis of dense matrices. The diagonal eigen-decomposition of normal
1918(especially Hermitian) matrices is an important special case, but for non-normal
1919matrices the Schur form is often more useful.")
1920 (license license:expat)))
1921
caaf3a7b
EF
1922(define-public julia-geometrybasics
1923 (package
1924 (name "julia-geometrybasics")
1925 (version "0.4.1")
1926 (source
1927 (origin
1928 (method git-fetch)
1929 (uri (git-reference
1930 (url "https://github.com/JuliaGeometry/GeometryBasics.jl")
1931 (commit (string-append "v" version))))
1932 (file-name (git-file-name name version))
1933 (sha256
1934 (base32 "057j3hjpli3q5b98cqkpi4p10x2k9pyksrz62hjmv1kb5qzdvhsj"))))
1935 (build-system julia-build-system)
1936 (arguments
1937 `(#:phases
1938 (modify-phases %standard-phases
3af351a7 1939 (add-after 'link-depot 'remove-earcut
caaf3a7b
EF
1940 (lambda _
1941 (substitute* '("Project.toml"
1942 "src/GeometryBasics.jl")
82586916 1943 ((".*EarCut.*") ""))))
3af351a7 1944 (add-after 'link-depot 'skip-incompatible-test
caaf3a7b
EF
1945 (lambda _
1946 (substitute* "test/runtests.jl"
1947 (("@testset.*MetaT and heterogeneous data.*" all)
82586916 1948 (string-append all "return\n")))))
1949 ,@(if (target-64bit?)
1950 '()
1951 '((add-after 'unpack 'fix-tests-int32-i686
1952 (lambda _
1953 (substitute* "test/runtests.jl"
1954 (("Int64") "Int32")))))))))
caaf3a7b 1955 (propagated-inputs
8394619b
LC
1956 (list julia-itertools julia-staticarrays julia-structarrays
1957 julia-tables))
caaf3a7b 1958 (native-inputs
8394619b 1959 (list julia-offsetarrays))
caaf3a7b
EF
1960 (home-page "https://github.com/JuliaGeometry/GeometryBasics.jl")
1961 (synopsis "Basic Geometry Types")
1962 (description "This package aims to offer a standard set of Geometry types,
1963which easily work with metadata, query frameworks on geometries and different
1964memory layouts. The aim is to create a solid basis for Graphics/Plotting,
1965finite elements analysis, Geo applications, and general geometry manipulations
1966- while offering a Julian API, that still allows performant C-interop.")
1967 (license license:expat)))
1968
49996b27
EF
1969(define-public julia-gr
1970 (package
1971 (name "julia-gr")
1972 (version "0.58.1")
1973 (source
1974 (origin
1975 (method git-fetch)
1976 (uri (git-reference
1977 (url "https://github.com/jheinen/GR.jl")
1978 (commit (string-append "v" version))))
1979 (file-name (git-file-name name version))
1980 (sha256
1981 (base32 "18zxa1w2wmrf44c5l10qbh99zjdp7h94gxlymh47cf5kj5fc4xmx"))))
1982 (build-system julia-build-system)
1983 (propagated-inputs
8394619b 1984 (list julia-gr-jll))
49996b27
EF
1985 (home-page "https://github.com/jheinen/GR.jl")
1986 (synopsis "Plotting for Julia based on GR")
1987 (description "This module provides a Julia interface to GR, a framework for
1988visualisation applications.")
1989 (license license:expat)))
1990
2262f799
EF
1991(define-public julia-graphics
1992 (package
1993 (name "julia-graphics")
1994 (version "1.1.0")
1995 (source
1996 (origin
1997 (method git-fetch)
1998 (uri (git-reference
1999 (url "https://github.com/JuliaGraphics/Graphics.jl")
2000 (commit (string-append "v" version))))
2001 (file-name (git-file-name name version))
2002 (sha256
2003 (base32 "10h1s09v7qkvrjr6l678zamb1p248n8jv4rrwkf8g7d2bpfz9amn"))))
2004 (build-system julia-build-system)
2005 (propagated-inputs
8394619b 2006 (list julia-colors julia-nanmath))
2262f799
EF
2007 (home-page "https://github.com/JuliaGraphics/Graphics.jl")
2008 (synopsis "Base graphics in Julia")
2009 (description "@code{Graphics.jl} is an abstraction layer for graphical
2010operations in Julia.")
2011 (license license:expat)))
2012
cc7c1f90 2013(define-public julia-gumbo
2014 (package
2015 (name "julia-gumbo")
2016 (version "0.8.0")
2017 (source
2018 (origin
2019 (method git-fetch)
2020 (uri (git-reference
2021 (url "https://github.com/JuliaWeb/Gumbo.jl")
2022 (commit (string-append "v" version))))
2023 (file-name (git-file-name name version))
2024 (sha256
2025 (base32 "1g22dv3v7caakspv3pdahnqn937fzzsg9y87rj72hid9g8lxl1gm"))))
2026 (build-system julia-build-system)
2027 (propagated-inputs
8394619b 2028 (list julia-abstracttrees julia-gumbo-jll))
cc7c1f90 2029 (home-page "https://github.com/JuliaWeb/Gumbo.jl")
2030 (synopsis "Julia wrapper around Google's gumbo C library for parsing HTML")
2031 (description "@code{Gumbo.jl} is a Julia wrapper around Google's gumbo
2032library for parsing HTML.")
2033 (license license:expat)))
57e034d5 2034
d4987a50 2035(define-public julia-http
2036 (package
2037 (name "julia-http")
a9292cee 2038 (version "0.9.12")
d4987a50 2039 (source
2040 (origin
2041 (method git-fetch)
2042 (uri (git-reference
2043 (url "https://github.com/JuliaWeb/HTTP.jl")
2044 (commit (string-append "v" version))))
2045 (file-name (git-file-name name version))
2046 (sha256
a9292cee 2047 (base32 "1jsyk3mhnwj4h19cxclx26igdqdrw51fd3k1hgav0nm67dy4cxyk"))))
d4987a50 2048 (build-system julia-build-system)
2049 (arguments
2050 `(#:phases
2051 (modify-phases %standard-phases
2052 (add-before 'install 'disable-network-tests
2053 (lambda _
2054 (substitute* "test/runtests.jl"
2055 (("\"async.jl") "# \"async.jl")
2056 (("\"client.jl") "# \"client.jl"))
2057 (substitute* "test/aws4.jl"
2058 (("@testset.*HTTP.request with AWS authentication.*" all)
2059 (string-append all "return\n")))
2060 (substitute* "test/insert_layers.jl"
2061 (("@testset.*Inserted final layer runs handler.*" all)
2062 (string-append all "return\n")))
2063 (substitute* "test/multipart.jl"
2064 (("@testset \"Setting of Content-Type.*" all)
2065 (string-append all "return\n"))
2066 (("@testset \"Deprecation of .*" all)
2067 (string-append all "return\n")))
2068 (substitute* "test/websockets.jl"
2069 (("@testset.*External Host.*" all)
2070 (string-append all "return\n")))
2071 (substitute* "test/messages.jl"
2072 (("@testset.*Read methods.*" all)
2073 (string-append all "return\n"))
2074 (("@testset.*Body - .*" all)
2075 (string-append all "return\n"))
2076 (("@testset.*Write to file.*" all)
2077 (string-append all "return\n")))
2078 #t)))))
2079 (propagated-inputs
8394619b 2080 (list julia-inifile julia-mbedtls julia-uris))
d4987a50 2081 ;; required for tests
2082 (inputs
8394619b 2083 (list julia-json julia-bufferedstreams))
d4987a50 2084 (home-page "https://juliaweb.github.io/HTTP.jl/")
2085 (synopsis "HTTP support for Julia")
2086 (description "@code{HTTP.jl} is a Julia library for HTTP Messages,
2087implementing both a client and a server.")
2088 (license license:expat)))
673bd9a7 2089
7cb023cc
EF
2090(define-public julia-identityranges
2091 (package
2092 (name "julia-identityranges")
2093 (version "0.3.1")
2094 (source
2095 (origin
2096 (method git-fetch)
2097 (uri (git-reference
2098 (url "https://github.com/JuliaArrays/IdentityRanges.jl")
2099 (commit (string-append "v" version))))
2100 (file-name (git-file-name name version))
2101 (sha256
2102 (base32 "0jvl4xn8f8k70sn473li5q62wbiycl5qi25b5k456h3a0j1lbiml"))))
2103 (build-system julia-build-system)
2104 (propagated-inputs
8394619b 2105 (list julia-offsetarrays))
7cb023cc
EF
2106 (home-page "https://github.com/JuliaArrays/IdentityRanges.jl")
2107 (synopsis "Ranges that preserve indices of views")
2108 (description "@code{IdentityRanges} are Julia-language a helper type for
2109creating \"views\" of arrays. They are a custom type of AbstractUnitRange that
2110makes it easy to preserve the indices of array views. The key property of an
2111@code{IdentityRange r} is that @code{r[i] == i} (hence the name of the
2112type/package), and that they support arbitrary start/stop indices (i.e., not
2113just starting at 1).")
2114 (license license:expat)))
2115
673bd9a7
EF
2116(define-public julia-ifelse
2117 (package
2118 (name "julia-ifelse")
2119 (version "0.1.0")
2120 (source
2121 (origin
2122 (method git-fetch)
2123 (uri (git-reference
2124 (url "https://github.com/sciml/ifelse.jl")
2125 (commit (string-append "v" version))))
2126 (file-name (git-file-name name version))
2127 (sha256
2128 (base32 "1wrw842r8708fryf2ihp9mkmdrg27saa9nix2c31vs995k2fgr9w"))))
2129 (build-system julia-build-system)
2130 (home-page "https://github.com/sciml/ifelse.jl")
2131 (synopsis "Function form of the if-else conditional statement")
2132 (description "This package provides a convenient function form of the
2133conditional ifelse. It is similar to @code{Core.ifelse} but it is extendable.")
2134 (license license:expat)))
50f99cc5 2135
57860112
EF
2136(define-public julia-imageaxes
2137 (package
2138 (name "julia-imageaxes")
2139 (version "0.6.9")
2140 (source
2141 (origin
2142 (method git-fetch)
2143 (uri (git-reference
2144 (url "https://github.com/JuliaImages/ImageAxes.jl")
2145 (commit (string-append "v" version))))
2146 (file-name (git-file-name name version))
2147 (sha256
2148 (base32 "15zqxani1jjh8849s7rdps6b6prqdwv8yxx893y536vkpk7i07qd"))))
2149 (build-system julia-build-system)
2150 (propagated-inputs
8394619b
LC
2151 (list julia-axisarrays julia-imagecore julia-reexport
2152 julia-simpletraits))
57860112 2153 (native-inputs
8394619b 2154 (list julia-unitful))
57860112
EF
2155 (home-page "https://github.com/JuliaImages/ImageAxes.jl")
2156 (synopsis "Julia package for giving \"meaning\" to the axes of an image")
2157 (description "This small package supports the representation of images as
2158@code{AxisArrays} to endow the axes with \"meaning,\" and makes programming with
2159such arrays easy via traits.")
2160 (license license:expat)))
2161
e43c498b
EF
2162(define-public julia-imagebase
2163 (package
2164 (name "julia-imagebase")
2165 (version "0.1.1")
2166 (source
2167 (origin
2168 (method git-fetch)
2169 (uri (git-reference
2170 (url "https://github.com/JuliaImages/ImageBase.jl")
2171 (commit (string-append "v" version))))
2172 (file-name (git-file-name name version))
2173 (sha256
2174 (base32 "1n63f2zs6ail9pcl7rzgv3l0z8v1idjsaza3zgvgy7iacxsdpcj2"))))
2175 (build-system julia-build-system)
2176 (arguments
2177 `(#:tests? #f)) ; Cycle with ImageMagick.jl.
2178 (propagated-inputs
8394619b 2179 (list julia-imagecore julia-reexport))
e43c498b
EF
2180 ;(native-inputs
2181 ; `(("julia-imagemagick" ,julia-imagemagick)
2182 ; ("julia-offsetarrays" ,julia-offsetarrays)
2183 ; ("julia-testimages" ,julia-testimages)))
2184 (home-page "https://github.com/JuliaImages/ImageBase.jl")
2185 (synopsis "Wrapper package around ImageCore")
2186 (description "This is a twin package to @code{ImageCore} with functions that
2187are used among many of the packages in JuliaImages. The main purpose of this
2188package is to reduce unnecessary compilation overhead from external
2189dependencies.")
2190 (license license:expat)))
2191
87f27b0f
EF
2192(define-public julia-imagecore
2193 (package
2194 (name "julia-imagecore")
fa86b016 2195 (version "0.9.1")
87f27b0f
EF
2196 (source
2197 (origin
2198 (method git-fetch)
2199 (uri (git-reference
2200 (url "https://github.com/JuliaImages/ImageCore.jl")
2201 (commit (string-append "v" version))))
2202 (file-name (git-file-name name version))
2203 (sha256
fa86b016 2204 (base32 "0h9m3pl3wic1jrgaqkdifz24cya5vxd3m6qdmm37pxg2y2ii2vcq"))))
87f27b0f
EF
2205 (build-system julia-build-system)
2206 (arguments
2207 `(#:tests? #f)) ; Cycle with ImageMagick.jl.
2208 (propagated-inputs
8394619b
LC
2209 (list julia-abstractffts
2210 julia-colors
2211 julia-colorvectorspace
2212 julia-fixedpointnumbers
2213 julia-graphics
2214 julia-mappedarrays
2215 julia-mosaicviews
2216 julia-offsetarrays
2217 julia-paddedviews
2218 julia-reexport))
87f27b0f
EF
2219 ;(native-inputs
2220 ; `(("julia-aqua" ,julia-aqua)
2221 ; ("julia-colorvectorspace" ,julia-colorvectorspace)
2222 ; ("julia-documenter" ,julia-documenter)
2223 ; ("julia-fftw" ,julia-fftw)
2224 ; ("julia-imageinterminal" ,julia-imageinterminal)
2225 ; ("julia-imagemagick" ,julia-imagemagick)
2226 ; ("julia-referencetests" ,julia-referencetests)
2227 ; ("julia-statistics" ,julia-statistics)))
2228 (home-page "https://github.com/JuliaImages/ImageCore.jl")
2229 (synopsis "Julia types for representing images")
2230 (description "@code{ImageCore} is the lowest-level component of the system
2231of packages designed to support image processing and computer vision.")
2232 (license license:expat)))
2233
6669b005
EF
2234(define-public julia-imageinterminal
2235 (package
2236 (name "julia-imageinterminal")
6752fc15 2237 (version "0.4.7")
6669b005
EF
2238 (source
2239 (origin
2240 (method git-fetch)
2241 (uri (git-reference
2242 (url "https://github.com/JuliaImages/ImageInTerminal.jl")
2243 (commit (string-append "v" version))))
2244 (file-name (git-file-name name version))
2245 (sha256
6752fc15 2246 (base32 "0bbpzi7bv8jdiggq1wmcn67vnf96qagvwg0fk95s125wy5980xsl"))))
6669b005
EF
2247 (build-system julia-build-system)
2248 (arguments
2249 `(#:tests? #f)) ; Cycle with ReferenceTests.jl.
2250 (propagated-inputs
8394619b 2251 (list julia-crayons julia-imagebase julia-imagecore julia-requires))
6669b005
EF
2252 ;(native-inputs
2253 ; `(("julia-coordinatetransformations" ,julia-coordinatetransformations)
2254 ; ("julia-imagemagick" ,julia-imagemagick)
6752fc15 2255 ; ("julia-imagetransformations" ,julia-imagetransformations)
6669b005
EF
2256 ; ("julia-offsetarrays" ,julia-offsetarrays)
2257 ; ("julia-referencetests" ,julia-referencetests)
2258 ; ("julia-rotations" ,julia-rotations)
2259 ; ("julia-sparsearrays" ,julia-sparsearrays)
2260 ; ("julia-testimages" ,julia-testimages)))
2261 (home-page "https://github.com/JuliaImages/ImageInTerminal.jl")
2262 (synopsis "Julia package for displaying images in the terminal")
2263 (description "@code{ImageInTerminal.jl} is a drop-in package that once
2264imported changes a how a single @code{Colorant} and whole @code{Colorant} arrays
2265(i.e. Images) are displayed in the interactive REPL. The displayed images will
2266be downscaled to fit into the size of your active terminal session.")
2267 (license license:expat)))
2268
0ffa2521
EF
2269(define-public julia-imagemagick
2270 (package
2271 (name "julia-imagemagick")
2272 (version "1.2.1")
2273 (source
2274 (origin
2275 (method git-fetch)
2276 (uri (git-reference
2277 (url "https://github.com/JuliaIO/ImageMagick.jl")
2278 (commit (string-append "v" version))))
2279 (file-name (git-file-name name version))
2280 (sha256
2281 (base32 "05vzv4jsj3l9pv6yrix28hlw7wnag0mqdfjwv8shn4x71hcfxl1p"))))
2282 (build-system julia-build-system)
2283 (arguments
2284 `(#:phases
2285 (modify-phases %standard-phases
3af351a7 2286 (add-after 'link-depot 'skip-failing-test
0ffa2521
EF
2287 (lambda _
2288 ;; These tests try to download from the imagemagick.org
2289 (substitute* "test/runtests.jl"
2290 ((".*readremote\\.jl.*") ""))
2291 ;; Tests with the color gray are hard.
2292 (substitute* "test/constructed_images.jl"
2293 (("test (b == aa)" _ test) (string-append "test_nowarn " test))
2294 (("test (B == map)" _ test) (string-append "test_nowarn " test)))
2295 #t)))))
2296 (propagated-inputs
8394619b 2297 (list julia-fileio julia-imagecore julia-imagemagick-jll))
0ffa2521 2298 (native-inputs
8394619b
LC
2299 (list julia-colors
2300 julia-colorvectorspace
2301 julia-imagemetadata
2302 julia-imageshow
2303 julia-imagetransformations
2304 julia-indirectarrays
2305 julia-offsetarrays
2306 julia-zipfile))
0ffa2521
EF
2307 (home-page "https://github.com/JuliaIO/ImageMagick.jl")
2308 (synopsis "Thin wrapper for ImageMagick")
2309 (description "This package provides a wrapper around ImageMagick version 6.
2310It was split off from @code{Images.jl} to make image I/O more modular.")
2311 (license license:expat)))
2312
6eb1b1d8
EF
2313(define-public julia-imagemetadata
2314 (package
2315 (name "julia-imagemetadata")
2316 (version "0.9.6")
2317 (source
2318 (origin
2319 (method git-fetch)
2320 (uri (git-reference
2321 (url "https://github.com/JuliaImages/ImageMetadata.jl")
2322 (commit (string-append "v" version))))
2323 (file-name (git-file-name name version))
2324 (sha256
2325 (base32 "0iv154ms370xgcr56bwsjl13iwmy671cbxjl9ld5yfj85pclcwi1"))))
2326 (build-system julia-build-system)
2327 (propagated-inputs
8394619b
LC
2328 (list julia-axisarrays julia-imageaxes julia-imagecore
2329 julia-indirectarrays))
6eb1b1d8 2330 (native-inputs
8394619b 2331 (list julia-offsetarrays julia-simpletraits julia-unitful))
6eb1b1d8
EF
2332 (home-page "https://github.com/JuliaImages/ImageMetadata.jl")
2333 (synopsis "Julia package for images having metadata")
2334 (description "@code{ImageMetadata} is a simple package providing utilities
2335for working with images that have metadata attached. For example, you might
2336want to associate an image with the date on which the picture was taken, or an
2337MRI scan with patient data, or an astronomical image with sky coordinates and
2338information about the detector used to acquire the image.")
2339 (license license:expat)))
2340
f5de098c
EF
2341(define-public julia-imageshow
2342 (package
2343 (name "julia-imageshow")
2344 (version "0.3.2")
2345 (source
2346 (origin
2347 (method git-fetch)
2348 (uri (git-reference
2349 (url "https://github.com/JuliaImages/ImageShow.jl")
2350 (commit (string-append "v" version))))
2351 (file-name (git-file-name name version))
2352 (sha256
2353 (base32 "00wq3ab8y6nyhxwc5lpz9dnslsmcr1vg3cjdkh7wb7k6a8bw98mh"))))
2354 (build-system julia-build-system)
2355 (arguments
2356 `(#:tests? #f)) ; cycle with ImageMagick.jl.
2357 (propagated-inputs
8394619b
LC
2358 (list julia-fileio julia-imagebase julia-imagecore
2359 julia-offsetarrays julia-stackviews))
f5de098c
EF
2360 ;(native-inputs
2361 ; `(("julia-imagedistances" ,julia-imagedistances)
2362 ; ("julia-imagemagick" ,julia-imagemagick)
2363 ; ("julia-suppressor" ,julia-suppressor)
2364 ; ("julia-testimages" ,julia-testimages)))
2365 (home-page "https://github.com/JuliaImages/ImageShow.jl")
2366 (synopsis
2367 "Inline graphical display of images in Julia graphical environments")
2368 (description "This package implements image @code{show} methods suitable
2369for graphical platforms such as IJulia. It is intended to provide convenient
2370inline presentation of greyscale or color images.")
2371 (license license:expat)))
2372
f4e3a504
EF
2373(define-public julia-imagetransformations
2374 (package
2375 (name "julia-imagetransformations")
2376 (version "0.8.12")
2377 (source
2378 (origin
2379 (method git-fetch)
2380 (uri (git-reference
2381 (url "https://github.com/JuliaImages/ImageTransformations.jl")
2382 (commit (string-append "v" version))))
2383 (file-name (git-file-name name version))
2384 (sha256
2385 (base32 "0i8gw68hljshsy9wdl5mrpbb31irhmayqyglsxi7jwm88iy9pxhm"))))
2386 (build-system julia-build-system)
2387 (arguments
2388 `(#:tests? #f)) ; Cycle with ImageMagick.jl.
2389 (propagated-inputs
8394619b
LC
2390 (list julia-axisalgorithms
2391 julia-colorvectorspace
2392 julia-coordinatetransformations
2393 julia-identityranges
2394 julia-imagecore
2395 julia-interpolations
2396 julia-offsetarrays
2397 julia-rotations
2398 julia-staticarrays))
f4e3a504
EF
2399 ;(native-inputs
2400 ; `(("julia-imagemagick" ,julia-imagemagick)
2401 ; ("julia-referencetests" ,julia-referencetests)
2402 ; ("julia-testimages" ,julia-testimages)))
2403 (home-page "https://github.com/JuliaImages/ImageTransformations.jl")
2404 (synopsis "Geometric transformations on images for Julia")
2405 (description "This package provides support for image resizing, image
2406rotation, and other spatial transformations of arrays.")
2407 (license license:expat)))
2408
d54d21d0
EF
2409(define-public julia-indexing
2410 (package
2411 (name "julia-indexing")
2412 (version "1.1.1")
2413 (source
2414 (origin
2415 (method git-fetch)
2416 (uri (git-reference
2417 (url "https://github.com/andyferris/Indexing.jl")
2418 (commit (string-append "v" version))))
2419 (file-name (git-file-name name version))
2420 (sha256
2421 (base32 "1s7bz5aaj9sx753pcaixq83jgbk33adxgybpinjgzb9lzdv1ddgx"))))
2422 (build-system julia-build-system)
2423 (home-page "https://github.com/andyferris/Indexing.jl")
2424 (synopsis "Generalized indexing for Julia")
2425 (description "This package defines functions for getting multiple indices
2426out of dictionaries, tuples, etc, extending this ability beyond
2427@code{AbstractArray}.")
2428 (license license:expat)))
2429
4541cda7
EF
2430(define-public julia-indirectarrays
2431 (package
2432 (name "julia-indirectarrays")
2433 (version "0.5.1")
2434 (source
2435 (origin
2436 (method git-fetch)
2437 (uri (git-reference
2438 (url "https://github.com/JuliaArrays/IndirectArrays.jl")
2439 (commit (string-append "v" version))))
2440 (file-name (git-file-name name version))
2441 (sha256
2442 (base32 "0l0jq0jnr9z3k431ni82xycq7mqapgxrbrx4yyk6lycvi41ipm4s"))))
2443 (build-system julia-build-system)
2444 (native-inputs
8394619b 2445 (list julia-colors julia-fixedpointnumbers julia-mappedarrays))
4541cda7
EF
2446 (home-page "https://github.com/JuliaArrays/IndirectArrays.jl")
2447 (synopsis "Julia implementation of indexed arrays")
2448 (description "An @code{IndirectArray} is one that encodes data using a
2449combination of an @code{index} and a @code{value} table. Each element is
2450assigned its own index, which is used to retrieve the value from the
2451@code{value} table. Among other uses, @code{IndirectArrays} can represent
2452indexed images, sometimes called \"colormap images\" or \"paletted images.\"")
2453 (license license:expat)))
2454
9c3b2cf0
EF
2455(define-public julia-infinity
2456 (package
2457 (name "julia-infinity")
2458 (version "0.2.4")
2459 (source
2460 (origin
2461 (method git-fetch)
2462 (uri (git-reference
2463 (url "https://github.com/cjdoris/Infinity.jl")
2464 (commit (string-append "v" version))))
2465 (file-name (git-file-name name version))
2466 (sha256
2467 (base32 "1941lwvrdjnrynigzixxin3chpg1ba6xplvcwc89x0f6z658hwmm"))))
2468 (build-system julia-build-system)
2469 (arguments
2470 `(#:phases
2471 (modify-phases %standard-phases
3af351a7 2472 (add-after 'link-depot 'remove-timezones.jl
9c3b2cf0
EF
2473 (lambda _
2474 (substitute* "test/runtests.jl"
2475 (("using TimeZones.*") "")
2476 ((".*infextendedtime.*") ""))
2477 #t)))))
2478 (propagated-inputs
8394619b 2479 (list julia-requires))
9c3b2cf0 2480 (native-inputs
8394619b 2481 (list julia-compat))
9c3b2cf0
EF
2482 (home-page "https://docs.juliahub.com/Infinity/")
2483 (synopsis "Representation of infinity in Julia")
2484 (description "This package provides representations for infinity and
2485negative infinity in Julia.")
2486 (license license:expat)))
2487
fc781578 2488(define-public julia-inifile
2489 (package
2490 (name "julia-inifile")
2491 (version "0.5.0")
2492 (source
2493 (origin
2494 (method git-fetch)
2495 (uri (git-reference
2496 (url "https://github.com/JuliaIO/IniFile.jl")
2497 (commit "8ba59958495fa276d6489d2c3903e765d75e0bc0")))
2498 (file-name (git-file-name name version))
2499 (sha256
2500 (base32 "11h6f99jpbg729lplw841m68jprka7q3n8yw390bndlmcdsjabpd"))))
2501 (build-system julia-build-system)
2502 (home-page "https://github.com/JuliaIO/IniFile.jl")
2503 (synopsis "Reading Windows-style INI files")
2504 (description "This is a Julia package that defines an IniFile type that
969b80ef 2505interfaces with @file{.ini} files.")
fc781578 2506 (license license:expat)))
2507
fcc15a4a
EF
2508(define-public julia-interpolations
2509 (package
2510 (name "julia-interpolations")
bfd92c35 2511 (version "0.13.3")
fcc15a4a
EF
2512 (source
2513 (origin
2514 (method git-fetch)
2515 (uri (git-reference
2516 (url "https://github.com/JuliaMath/Interpolations.jl")
2517 (commit (string-append "v" version))))
2518 (file-name (git-file-name name version))
2519 (sha256
bfd92c35 2520 (base32 "1236c20k388qlh7k74mhf7hkbn0vf7ss8b1rgh1a6aj0234ayfnc"))))
fcc15a4a 2521 (build-system julia-build-system)
dfad64e7 2522 (arguments
28d530ea 2523 `(#:parallel-tests? #f
2524 ;; XXXX: Unexpected failures for i686, e.g.,
2525 ;; Got exception outside of a @test
2526 ;; OverflowError: 96908232 * 106943408 overflowed for type Int32
2527 ;; Disable as stopgap.
2528 #:tests? ,(not (target-x86-32?))))
fcc15a4a 2529 (propagated-inputs
8394619b
LC
2530 (list julia-axisalgorithms
2531 julia-offsetarrays
2532 julia-ratios
2533 julia-requires
2534 julia-staticarrays
2535 julia-woodburymatrices))
fcc15a4a 2536 (native-inputs
8394619b
LC
2537 (list julia-dualnumbers julia-forwarddiff julia-offsetarrays
2538 julia-unitful julia-zygote))
fcc15a4a
EF
2539 (home-page "https://github.com/JuliaMath/Interpolations.jl")
2540 (synopsis "Continuous interpolation of discrete datasets")
2541 (description "This package implements a variety of interpolation schemes for
2542the Julia language. It has the goals of ease-of-use, broad algorithmic support,
2543and exceptional performance.")
2544 (license license:expat)))
2545
736eecd5
EF
2546(define-public julia-intervalsets
2547 (package
2548 (name "julia-intervalsets")
2549 (version "0.5.3")
2550 (source
2551 (origin
2552 (method git-fetch)
2553 (uri (git-reference
2554 (url "https://github.com/JuliaMath/IntervalSets.jl")
2555 (commit (string-append "v" version))))
2556 (file-name (git-file-name name version))
2557 (sha256
2558 (base32 "0gsz89cd3iygbl5qr389k9vwpg7w1nk0s90g25nsmk34y9hifxag"))))
2559 (build-system julia-build-system)
828012ed 2560 (arguments
2561 `(#:phases
2562 ,@(if (target-x86-32?)
2563 '((modify-phases %standard-phases
2564 (add-after 'unpack 'remove-failing-test-i686
2565 (lambda _
2566 (substitute* "test/runtests.jl"
2567 ;; For some reason, the output is correct but the test
2568 ;; is considered as failed:
2569 ;; Expression: duration(ClosedInterval(A, B)) ≡ 60
2570 ;; Evaluated: 60 ≡ 60
2571 (("@test duration\\(ClosedInterval")
2572 "@test_broken duration(ClosedInterval"))))))
2573 '(%standard-phases))))
736eecd5 2574 (propagated-inputs
8394619b 2575 (list julia-ellipsisnotation))
736eecd5 2576 (native-inputs
8394619b 2577 (list julia-offsetarrays))
736eecd5
EF
2578 (home-page "https://github.com/JuliaMath/IntervalSets.jl")
2579 (synopsis "Interval Sets for Julia")
2580 (description "This package is intended to implement a \"minimal\" foundation
2581for intervals upon which other packages might build. In particular, we
2582encourage type-piracy for the reason that only one interval package can
2583unambiguously define the @code{..} and @code{±} operators.")
2584 (license license:expat)))
2585
114db2b9
EF
2586(define-public julia-invertedindices
2587 (package
2588 (name "julia-invertedindices")
2589 (version "1.0.0")
2590 (source
2591 (origin
2592 (method git-fetch)
2593 (uri (git-reference
2594 (url "https://github.com/mbauman/InvertedIndices.jl")
2595 (commit (string-append "v" version))))
2596 (file-name (git-file-name name version))
2597 (sha256
2598 (base32 "1179z20yxnkyziip7gn26wr1g3k3ssl1ci7pig3khc900f62di46"))))
2599 (build-system julia-build-system)
2600 (native-inputs
8394619b 2601 (list julia-offsetarrays))
114db2b9
EF
2602 (home-page "https://github.com/mbauman/InvertedIndices.jl")
2603 (synopsis "Index type that allows for inverted selections")
2604 (description "This package just exports one type: the @code{InvertedIndex},
2605or @code{Not} for short. It can wrap any supported index type and may be used
2606as an index into any @code{AbstractArray} subtype, including OffsetArrays.")
2607 (license license:expat)))
2608
fcc93efc
EF
2609(define-public julia-iocapture
2610 (package
2611 (name "julia-iocapture")
3e6ee9ee 2612 (version "0.2.2")
fcc93efc
EF
2613 (source
2614 (origin
2615 (method git-fetch)
2616 (uri (git-reference
2617 (url "https://github.com/JuliaDocs/IOCapture.jl")
2618 (commit (string-append "v" version))))
2619 (file-name (git-file-name name version))
2620 (sha256
3e6ee9ee 2621 (base32 "0v76wbvg80g9nx0rjbcna82zk61krly1y9yhyfrjv2pf7mcr4idb"))))
fcc93efc
EF
2622 (build-system julia-build-system)
2623 (home-page "https://github.com/JuliaDocs/IOCapture.jl")
2624 (synopsis "Capture standard output and error streams")
2625 (description "This package provides the @code{IOCapture.capture(f)}
2626function, which captures the standard output and standard error, and returns it
2627as a string together with the return value.")
2628 (license license:expat)))
2629
57653707 2630(define-public julia-irtools
2631 (package
2632 (name "julia-irtools")
4a69ab16 2633 (version "0.4.3")
57653707 2634 (source
2635 (origin
2636 (method git-fetch)
2637 (uri (git-reference
2638 (url "https://github.com/FluxML/IRTools.jl")
2639 (commit (string-append "v" version))))
2640 (file-name (git-file-name name version))
2641 (sha256
4a69ab16 2642 (base32 "11334fcg2slpwcj0raxf457brhf7pxglgxc6cy8q58ggrpxqfqql"))))
57653707 2643 (build-system julia-build-system)
2644 (propagated-inputs
8394619b 2645 (list julia-macrotools))
d36a4127 2646 (native-inputs
8394619b 2647 (list julia-documenter))
57653707 2648 (home-page "https://github.com/FluxML/IRTools.jl")
2649 (synopsis "Simple and flexible IR format")
2650 (description "This package provides a simple and flexible IR format,
2651expressive enough to work with both lowered and typed Julia code, as well as
2652external IRs. It can be used with Julia metaprogramming tools such as
2653Cassette.")
2654 (license license:expat)))
2655
43f26eae
EF
2656(define-public julia-iteratorinterfaceextensions
2657 (package
2658 (name "julia-iteratorinterfaceextensions")
2659 (version "1.0.0")
2660 (source
2661 (origin
2662 (method git-fetch)
2663 (uri (git-reference
2664 (url "https://github.com/queryverse/IteratorInterfaceExtensions.jl")
2665 (commit (string-append "v" version))))
2666 (file-name (git-file-name name version))
2667 (sha256
2668 (base32 "1slpay1dhja8f9gy6z7b3psgvgcknn963dvfqqakvg1grk9ppa09"))))
2669 (build-system julia-build-system)
2670 (home-page "https://github.com/queryverse/IteratorInterfaceExtensions.jl")
2671 (synopsis "Traits for Julia iterators")
2672 (description "IteratorInterfaceExtensions defines a small number of
2673extensions to the iterator interface.")
2674 (license license:expat)))
2675
503c2039
EF
2676(define-public julia-itertools
2677 (package
2678 (name "julia-itertools")
2679 (version "1.3.0")
2680 (source
2681 (origin
2682 (method git-fetch)
2683 (uri (git-reference
2684 (url "https://github.com/JuliaCollections/IterTools.jl")
2685 (commit (string-append "v" version))))
2686 (file-name (git-file-name name version))
2687 (sha256
2688 (base32 "0haf974kcqj6arv4if97ahs4w3dmvslh6ab3hl57r9s41ic36xdq"))))
2689 (build-system julia-build-system)
2690 (home-page "https://github.com/JuliaCollections/IterTools.jl")
2691 (synopsis "Common functional iterator patterns")
2692 (description
2693 "Common functional iterator patterns (formerly @code{Iterators.jl}).")
2694 (license license:expat)))
2695
f303eaa3 2696(define-public julia-jive
2697 (package
2698 (name "julia-jive")
2699 (version "0.2.20")
2700 (source
2701 (origin
2702 (method git-fetch)
2703 (uri (git-reference
2704 (url "https://github.com/wookay/Jive.jl")
2705 (commit (string-append "v" version))))
2706 (file-name (git-file-name name version))
2707 (sha256
2708 (base32 "0khwsdh8472jxcfi9lqw14l49sqlbsixql1jb4irnyajxkdjrcsf"))))
2709 (build-system julia-build-system)
2710 (home-page "https://github.com/wookay/Jive.jl")
2711 (synopsis "Julia package to help with writing tests")
2712 (description "@code{Jive.jl} is a Julia package to help with writing tests.")
2713 (license license:expat)))
2714
dae521a0 2715(define-public julia-json
2716 (package
2717 (name "julia-json")
2718 (version "0.21.1")
2719 (source
2720 (origin
2721 (method git-fetch)
2722 (uri (git-reference
2723 (url "https://github.com/JuliaIO/JSON.jl")
2724 (commit (string-append "v" version))))
2725 (file-name (git-file-name name version))
2726 (sha256
2727 (base32 "1f9k613kbknmp4fgjxvjaw4d5sfbx8a5hmcszmp1w9rqfqngjx9m"))))
2728 (build-system julia-build-system)
2729 (propagated-inputs
8394619b
LC
2730 (list julia-datastructures julia-fixedpointnumbers julia-parsers
2731 julia-offsetarrays))
dae521a0 2732 (home-page "https://github.com/JuliaIO/JSON.jl")
2733 (synopsis "JSON parsing and printing library for Julia")
2734 (description "@code{JSON.jl} is a pure Julia module which supports parsing
2735and printing JSON documents.")
2736 (license license:expat)))
2737
a5daa8c0
EF
2738(define-public julia-json3
2739 (package
2740 (name "julia-json3")
6087d0db 2741 (version "1.9.0")
a5daa8c0
EF
2742 (source
2743 (origin
2744 (method git-fetch)
2745 (uri (git-reference
2746 (url "https://github.com/quinnj/JSON3.jl")
2747 (commit (string-append "v" version))))
2748 (file-name (git-file-name name version))
2749 (sha256
6087d0db 2750 (base32 "11z5maz7v50wd99id8z7838higza0cllh2amkdkrlskbri3v2f17"))))
a5daa8c0
EF
2751 (build-system julia-build-system)
2752 (propagated-inputs
8394619b 2753 (list julia-parsers julia-structtypes))
a5daa8c0
EF
2754 (home-page "https://github.com/quinnj/JSON3.jl")
2755 (synopsis "JSON package for Julia")
2756 (description "This package provides another JSON package for Julia, with a
2757focus on speed and slick struct mapping.")
2758 (license license:expat)))
2759
0d888667
EF
2760(define-public julia-latexstrings
2761 (package
2762 (name "julia-latexstrings")
2763 (version "1.2.1")
2764 (source
2765 (origin
2766 (method git-fetch)
2767 (uri (git-reference
2768 (url "https://github.com/stevengj/LaTeXStrings.jl")
2769 (commit (string-append "v" version))))
2770 (file-name (git-file-name name version))
2771 (sha256
2772 (base32 "117z27krcf8fydgp6mb0pgn75r4gng9qs7v90qb4bqzsry3faadp"))))
2773 (build-system julia-build-system)
2774 (native-inputs
8394619b 2775 (list julia-documenter))
0d888667
EF
2776 (home-page "https://github.com/stevengj/LaTeXStrings.jl")
2777 (synopsis "Input and display of LaTeX equation strings")
2778 (description "This is a small package to make it easier to type LaTeX
2779equations in string literals in the Julia language.")
2780 (license license:expat)))
2781
2cd0dcf3
EF
2782(define-public julia-lazyarrays
2783 (package
2784 (name "julia-lazyarrays")
3c6ff2b9 2785 (version "0.22.2")
2cd0dcf3
EF
2786 (source
2787 (origin
2788 (method git-fetch)
2789 (uri (git-reference
2790 (url "https://github.com/JuliaArrays/LazyArrays.jl")
2791 (commit (string-append "v" version))))
2792 (file-name (git-file-name name version))
2793 (sha256
3c6ff2b9 2794 (base32 "17rhlrmgfvdw8w62pg32ikr9j4xy2ylr7mx7ar0hnpzryv929rp5"))))
2cd0dcf3 2795 (build-system julia-build-system)
557caa4e 2796 (arguments
2797 `(#:phases
2798 ,@(if (target-64bit?)
2799 '(%standard-phases)
2800 '((modify-phases %standard-phases
2801 (add-after 'unpack 'fix-tests-int32-i686
2802 (lambda _
2803 (substitute* "test/multests.jl"
2804 (("Int64") "Int32")))))))))
2cd0dcf3 2805 (propagated-inputs
8394619b
LC
2806 (list julia-arraylayouts julia-fillarrays julia-macrotools
2807 julia-matrixfactorizations julia-staticarrays))
2cd0dcf3 2808 (native-inputs
8394619b 2809 (list julia-tracker))
2cd0dcf3
EF
2810 (home-page "https://github.com/JuliaArrays/LazyArrays.jl")
2811 (synopsis "Lazy arrays and linear algebra")
2812 (description "This package supports lazy analogues of array operations like
2813@code{vcat}, @code{hcat}, and multiplication. This helps with the
2814implementation of matrix-free methods for iterative solvers.")
2815 (license license:expat)))
2816
8735dc17
EF
2817(define-public julia-logexpfunctions
2818 (package
2819 (name "julia-logexpfunctions")
2820 (version "0.2.4")
2821 (source
2822 (origin
2823 (method git-fetch)
2824 (uri (git-reference
2825 (url "https://github.com/JuliaStats/LogExpFunctions.jl")
2826 (commit (string-append "v" version))))
2827 (file-name (git-file-name name version))
2828 (sha256
2829 (base32 "0rvms3mmq8a1viqlyzdgs2ccddcy6j0c677dlb8m5nk6hkiwr16n"))))
2830 (build-system julia-build-system)
2831 (propagated-inputs
8394619b 2832 (list julia-docstringextensions))
8735dc17 2833 (native-inputs
8394619b 2834 (list julia-offsetarrays))
8735dc17
EF
2835 (home-page "https://github.com/JuliaStats/LogExpFunctions.jl")
2836 (synopsis "Special functions based on @code{log} and @code{exp}")
2837 (description "Various special functions based on log and exp moved from
2838@code{StatsFuns.jl} into a separate package, to minimize dependencies. These
2839functions only use native Julia code, so there is no need to depend on
2840@code{librmath} or similar libraries.")
2841 (license license:expat)))
2842
45debc7b 2843(define-public julia-macrotools
2844 (package
2845 (name "julia-macrotools")
2846 (version "0.5.6")
2847 (source
2848 (origin
2849 (method git-fetch)
2850 (uri (git-reference
2851 (url "https://github.com/FluxML/MacroTools.jl")
2852 (commit (string-append "v" version))))
2853 (file-name (git-file-name name version))
2854 (sha256
2855 (base32 "0k4z2hyasd9cwxf4l61zk3w4ajs44k69wx6z1ghdn8f5p8xy217f"))))
2856 (build-system julia-build-system)
2857 (home-page "https://fluxml.ai/MacroTools.jl")
2858 (synopsis "Tools for working with Julia code and expressions")
2859 (description "This library provides tools for working with Julia code and
2860expressions. This includes a template-matching system and code-walking tools
2861that let you do deep transformations of code.")
2862 (license license:expat)))
2863
ea03851b
EF
2864(define-public julia-mappedarrays
2865 (package
2866 (name "julia-mappedarrays")
2867 (version "0.4.0")
2868 (source
2869 (origin
2870 (method git-fetch)
2871 (uri (git-reference
2872 (url "https://github.com/JuliaArrays/MappedArrays.jl")
2873 (commit (string-append "v" version))))
2874 (file-name (git-file-name name version))
2875 (sha256
2876 (base32 "0l5adird8m1cmnsxwhzi5hcr7q9bm1rf7a6018zc7kcn2yxdshy3"))))
2877 (build-system julia-build-system)
7c8e9cbf 2878 (arguments
2879 `(#:phases
2880 ,@(if (target-64bit?)
2881 '(%standard-phases)
2882 '((modify-phases %standard-phases
2883 (add-after 'unpack 'fix-tests-int32-i686
2884 (lambda _
2885 (substitute* "test/runtests.jl"
2886 (("Int64") "Int32")))))))))
ea03851b 2887 (propagated-inputs
8394619b 2888 (list julia-fixedpointnumbers))
ea03851b 2889 (native-inputs
8394619b 2890 (list julia-colortypes julia-fixedpointnumbers julia-offsetarrays))
ea03851b
EF
2891 (home-page "https://github.com/JuliaArrays/MappedArrays.jl")
2892 (synopsis "Lazy in-place transformations of arrays")
2893 (description "This package implements \"lazy\" in-place elementwise
2894transformations of arrays for the Julia programming language. Explicitly, it
2895provides a \"view\" M of an array A so that @code{M[i] = f(A[i])} for a
2896specified (but arbitrary) function f, without ever having to compute M
2897explicitly (in the sense of allocating storage for M). The name of the package
2898comes from the fact that @code{M == map(f, A)}.")
2899 (license license:expat)))
2900
fa945a54
EF
2901(define-public julia-matrixfactorizations
2902 (package
2903 (name "julia-matrixfactorizations")
3127f373 2904 (version "0.8.4")
fa945a54
EF
2905 (source
2906 (origin
2907 (method git-fetch)
2908 (uri (git-reference
2909 (url "https://github.com/JuliaMatrices/MatrixFactorizations.jl")
2910 (commit (string-append "v" version))))
2911 (file-name (git-file-name name version))
2912 (sha256
3127f373 2913 (base32 "15zvcv2l4iqmjpnqjyx2kry7a85p652nbjy9pj3wq0piksqcz4jb"))))
fa945a54
EF
2914 (build-system julia-build-system)
2915 (arguments
2916 `(#:phases
2917 (modify-phases %standard-phases
3af351a7 2918 (add-after 'link-depot 'skip-failing-test
fa945a54
EF
2919 (lambda _
2920 ;; Tests with math functions are hard.
2921 (substitute* "test/test_ul.jl"
2922 (("@test @inferred\\(logdet") "@test @test_nowarn(logdet")
2923 ;; Also skip the REPL test.
2924 (("test String") "test_nowarn String"))
2925 #t)))))
2926 (propagated-inputs
8394619b 2927 (list julia-arraylayouts))
fa945a54
EF
2928 (home-page "https://github.com/JuliaMatrices/MatrixFactorizations.jl")
2929 (synopsis "Julia package to contain non-standard matrix factorizations")
2930 (description "A Julia package to contain non-standard matrix factorizations.
2931At the moment it implements the QL, RQ, and UL factorizations, a combined
2932Cholesky factorization with inverse, and polar decompositions. In the future it
2933may include other factorizations such as the LQ factorization.")
2934 (license license:expat)))
2935
a72d3ca8 2936(define-public julia-mbedtls
2937 (package
2938 (name "julia-mbedtls")
2939 (version "1.0.3")
2940 (source
2941 (origin
2942 (method git-fetch)
2943 (uri (git-reference
2944 (url "https://github.com/JuliaLang/MbedTLS.jl")
2945 (commit (string-append "v" version))))
2946 (file-name (git-file-name name version))
2947 (sha256
2948 (base32 "0zjzf2r57l24n3k0gcqkvx3izwn5827iv9ak0lqix0aa5967wvfb"))))
2949 (build-system julia-build-system)
2950 (arguments
2951 `(#:phases
2952 (modify-phases %standard-phases
2953 (add-before 'install 'disable-network-tests
2954 ;; Tries to connect to httpbin.org
2955 (lambda _
2956 (substitute* "test/runtests.jl"
2957 (("testhost =") "return #"))
2958 #t)))))
8394619b 2959 (propagated-inputs (list julia-mbedtls-jll))
a72d3ca8 2960 (home-page "https://github.com/JuliaLang/MbedTLS.jl")
2961 (synopsis "Apache's mbed TLS library wrapper")
2962 (description "@code{MbedTLS.jl} provides a wrapper around the @code{mbed
9a2d7e0f 2963TLS} and cryptography C library for Julia.")
a72d3ca8 2964 (license license:expat)))
2965
55e1fa89
EF
2966(define-public julia-measurements
2967 (package
2968 (name "julia-measurements")
2969 (version "2.6.0")
2970 (source
2971 (origin
2972 (method git-fetch)
2973 (uri (git-reference
2974 (url "https://github.com/JuliaPhysics/Measurements.jl")
2975 (commit (string-append "v" version))))
2976 (file-name (git-file-name name version))
2977 (sha256
2978 (base32 "05p3f0gr4sv4maq8cix5fi8ldq0zagswqsd43xn6fhy046f936mz"))))
2979 (build-system julia-build-system)
2980 (propagated-inputs
8394619b 2981 (list julia-calculus julia-recipesbase julia-requires))
55e1fa89 2982 (native-inputs
8394619b 2983 (list julia-quadgk julia-specialfunctions julia-unitful))
55e1fa89
EF
2984 (home-page "https://juliaphysics.github.io/Measurements.jl/stable/")
2985 (synopsis "Error propagation calculator and library")
2986 (description "@code{Measurements.jl} is an error propagation calculator and
2987library for physical measurements. It supports real and complex numbers with
2988uncertainty, arbitrary precision calculations, operations with arrays, and
2989numerical integration. The linear error propagation theory is employed to
2990propagate the errors.")
2991 (license license:expat)))
2992
9d6bf9a2
EF
2993(define-public julia-measures
2994 (package
2995 (name "julia-measures")
2996 (version "0.3.1")
2997 (source
2998 (origin
2999 (method git-fetch)
3000 (uri (git-reference
3001 (url "https://github.com/JuliaGraphics/Measures.jl")
3002 (commit (string-append "v" version))))
3003 (file-name (git-file-name name version))
3004 (sha256
3005 (base32 "0j34psrdijnqqn9zv0r2sknr1p9q0mmbjvjhmjra37bb5fh2gk8l"))))
3006 (build-system julia-build-system)
3007 (home-page "https://github.com/JuliaGraphics/Measures.jl")
3008 (synopsis "Unified measure and coordinates types")
3009 (description "This library generalizes and unifies the notion of measures
3010used in Compose, Compose3D, and Escher. It allows building up and representing
3011expressions involving differing types of units that are then evaluated,
3012resolving them into absolute units.")
3013 (license license:expat)))
3014
14f8d587 3015(define-public julia-media
3016 (package
3017 (name "julia-media")
3018 (version "0.5.0")
3019 (source
3020 (origin
3021 (method git-fetch)
3022 (uri (git-reference
3023 (url "https://github.com/JunoLab/Media.jl")
3024 (commit (string-append "v" version))))
3025 (file-name (git-file-name name version))
3026 (sha256
3027 (base32 "05jq9j3vs8yfj2lwz3sh1vk5rha06xdcikp9s2q3dn316vryy6di"))))
3028 (build-system julia-build-system)
3029 ;; Package without Project.toml
3030 (arguments
3af351a7
JBV
3031 '(#:julia-package-name "Media"
3032 #:julia-package-uuid "e89f7d12-3494-54d1-8411-f7d8b9ae1f27"))
14f8d587 3033 (propagated-inputs
8394619b 3034 (list julia-macrotools))
14f8d587 3035 (home-page "https://github.com/JunoLab/Media.jl")
3036 (synopsis "Unified measure and coordinates types")
3037 (description "This package provides a display system which enables the
3038user handle multiple input/output devices and decide what media types get
3039displayed where.")
3040 (license license:expat)))
3041
dc438820 3042(define-public julia-millboard
3043 (package
3044 (name "julia-millboard")
3045 (version "0.2.5")
3046 (source
3047 (origin
3048 (method git-fetch)
3049 (uri (git-reference
3050 (url "https://github.com/wookay/Millboard.jl")
3051 (commit (string-append "v" version))))
3052 (file-name (git-file-name name version))
3053 (sha256
3054 (base32 "0k9jqgp285qhckldvvsmfk6s69dcr8s74m2fijgm2vxjj2gqjs1n"))))
3055 (build-system julia-build-system)
3056 (native-inputs
8394619b 3057 (list julia-jive))
dc438820 3058 (home-page "https://github.com/wookay/Millboard.jl")
3059 (synopsis "Displaying data in tables for Julia")
3060 (description
3061 "@code{Millboard.jl} provides a library for getting data in a tablized
3062format to arrange into rows and columns of cells.")
3063 (license license:expat)))
3064
db2bfcb9
EF
3065(define-public julia-missings
3066 (package
3067 (name "julia-missings")
babfdf75 3068 (version "1.0.2")
db2bfcb9
EF
3069 (source
3070 (origin
3071 (method git-fetch)
3072 (uri (git-reference
3073 (url "https://github.com/JuliaData/Missings.jl")
3074 (commit (string-append "v" version))))
3075 (file-name (git-file-name name version))
3076 (sha256
babfdf75 3077 (base32 "1k481rm5lahmjyh34j177d4n10svgr0wm7ps5m3ar3xx6nr26ad5"))))
db2bfcb9
EF
3078 (build-system julia-build-system)
3079 (propagated-inputs
8394619b 3080 (list julia-dataapi))
db2bfcb9
EF
3081 (home-page "https://github.com/JuliaData/Missings.jl")
3082 (synopsis "Additional missing value support for Julia")
3083 (description "This package provides additional functionality for working
3084with @code{missing} values in Julia.")
3085 (license license:expat)))
3086
25bb6f08
EF
3087(define-public julia-mlstyle
3088 (package
3089 (name "julia-mlstyle")
3090 (version "0.4.10")
3091 (source
3092 (origin
3093 (method git-fetch)
3094 (uri (git-reference
3095 (url "https://github.com/thautwarm/MLStyle.jl")
3096 (commit (string-append "v" version))))
3097 (file-name (git-file-name name version))
3098 (sha256
3099 (base32 "0h1cd7cr4c4cnpqyj3180113gdbvcc047lqphp8a8gq5smp3c059"))))
3100 (build-system julia-build-system)
3101 (native-inputs
8394619b 3102 (list julia-datastructures))
25bb6f08
EF
3103 (home-page "https://thautwarm.github.io/MLStyle.jl/latest/")
3104 (synopsis "Julia functional programming infrastructures")
3105 (description "This package provides consistent and extensible functional
3106programming infrastructures, and metaprogramming facilities.")
3107 (license license:expat)))
3108
f273a4b7
EF
3109(define-public julia-mocking
3110 (package
3111 (name "julia-mocking")
443ad586 3112 (version "0.7.3")
f273a4b7
EF
3113 (source
3114 (origin
3115 (method git-fetch)
3116 (uri (git-reference
3117 (url "https://github.com/invenia/Mocking.jl")
3118 (commit (string-append "v" version))))
3119 (file-name (git-file-name name version))
3120 (sha256
443ad586 3121 (base32 "1cg2is83bjmrchmmxcgx57k8c9b9vlamrw38v4fdhbb6d4six5cg"))))
f273a4b7
EF
3122 (build-system julia-build-system)
3123 (propagated-inputs
8394619b 3124 (list julia-compat julia-exprtools))
f273a4b7
EF
3125 (home-page "https://github.com/invenia/Mocking.jl")
3126 (synopsis "Overload Julia function calls")
3127 (description "The purpose of this package is to allow Julia function calls
3128to be temporarily overloaded for the purpose of testing.")
3129 (license license:expat)))
3130
a5dc1742
EF
3131(define-public julia-mosaicviews
3132 (package
3133 (name "julia-mosaicviews")
3134 (version "0.3.3")
3135 (source
3136 (origin
3137 (method git-fetch)
3138 (uri (git-reference
3139 (url "https://github.com/JuliaArrays/MosaicViews.jl")
3140 (commit (string-append "v" version))))
3141 (file-name (git-file-name name version))
3142 (sha256
3143 (base32 "04fgxghyb7n2ji76xkb1r1fjhzsdbgmp5wsfyyn3yjcsdqbyp8pz"))))
3144 (build-system julia-build-system)
3145 (arguments
3146 `(#:tests? #f)) ; Cycle with ImageCore.jl
3147 (propagated-inputs
8394619b 3148 (list julia-mappedarrays julia-paddedviews julia-stackviews))
a5dc1742
EF
3149 ;(native-inputs
3150 ; `(("julia-colorvectorspace" ,julia-colorvectorspace)
3151 ; ("julia-imagecore" ,julia-imagecore)))
3152 (home-page "https://github.com/JuliaArrays/MosaicViews.jl")
3153 (synopsis
3154 "Lazily view a 3D or 4D array as an expanded 2D array as a matrix of slices")
3155 (description "When visualizing images, it is not uncommon to provide a 2D
3156view of different image sources. For example, comparing multiple images of
3157different sizes, getting a preview of machine learning dataset. This package
3158aims to provide easy-to-use tools for such tasks.")
3159 (license license:expat)))
3160
860ca285
EF
3161(define-public julia-msgpack
3162 (package
3163 (name "julia-msgpack")
3164 (version "1.1.0")
3165 (source
3166 (origin
3167 (method git-fetch)
3168 (uri (git-reference
3169 (url "https://github.com/JuliaIO/MsgPack.jl")
3170 (commit (string-append "v" version))))
3171 (file-name (git-file-name name version))
3172 (sha256
3173 (base32 "1layiqjf9si38pfdcszppgcy4zbfqgld7jlw8x645sm9b17b19fg"))))
3174 (build-system julia-build-system)
3175 (home-page "https://github.com/JuliaIO/MsgPack.jl")
3176 (synopsis "Julia MsgPack implementation")
3177 (description "@code{MsgPack.jl} is a MessagePack implementation in pure
3178Julia, with type-driven, overloadable packing/unpacking functionality.")
3179 (license license:expat)))
3180
8f7d9ce2
EF
3181(define-public julia-mutablearithmetics
3182 (package
3183 (name "julia-mutablearithmetics")
f70db259 3184 (version "0.2.20")
8f7d9ce2
EF
3185 (source
3186 (origin
3187 (method git-fetch)
3188 (uri (git-reference
3189 (url "https://github.com/jump-dev/MutableArithmetics.jl")
3190 (commit (string-append "v" version))))
3191 (file-name (git-file-name name version))
3192 (sha256
f70db259 3193 (base32 "1isyj8h4nx96cr6892d154v8pw1nhr7mjyz5bd6ffr2mkzb2bq4f"))))
8f7d9ce2 3194 (build-system julia-build-system)
afd35e8e 3195 (arguments
3196 `(#:phases
3197 ,@(if (target-x86-32?)
3198 '((modify-phases %standard-phases
3199 (add-after 'unpack 'remove-failing-test-i686
3200 (lambda _
3201 (substitute* "test/utilities.jl"
3202 ;; Non-deterministic returned value, e.g.,
3203 ;; Expression: n == @allocated(f())
3204 ;; Evaluated: 240 == 120
3205 ;; and for some other values:
3206 ;; Got correct result, please change to @test
3207 ;; so @test_broken is not enough.
3208 (("@test n == @allocated f\\(\\)")
3209 " "))))))
3210 '(%standard-phases))))
8f7d9ce2 3211 (propagated-inputs
8394619b 3212 (list julia-offsetarrays))
8f7d9ce2
EF
3213 (home-page "https://github.com/jump-dev/MutableArithmetics.jl")
3214 (synopsis "Interface for arithmetics on mutable types in Julia")
3215 (description "MutableArithmetics is a Julia package which allows:
3216@itemize
3217@item mutable types to implement mutable arithmetics
3218@item algorithms that could exploit mutable arithmetics to exploit them while
3219still being completely generic
3220@end itemize")
3221 (license license:mpl2.0)))
3222
a5edd83d 3223(define-public julia-nanmath
3224 (package
3225 (name "julia-nanmath")
3226 (version "0.3.5")
3227 (source
3228 (origin
3229 (method git-fetch)
3230 (uri (git-reference
3231 (url "https://github.com/mlubin/NaNMath.jl")
3232 (commit (string-append "v" version))))
3233 (file-name (git-file-name name version))
3234 (sha256
3235 (base32 "1hczhz00qj99w63vp627kwk02l2sr2qmzc2rkwwkdwvzy670p25q"))))
3236 (build-system julia-build-system)
3237 (home-page "https://github.com/mlubin/NaNMath.jl")
3238 (synopsis "Implementations of basic math functions")
3239 (description "Implementations of basic math functions which return
3240@code{NaN} instead of throwing a @code{DomainError}.")
3241 (license license:expat)))
3242
f52f7a30
EF
3243(define-public julia-nlsolversbase
3244 (package
3245 (name "julia-nlsolversbase")
3246 (version "7.8.0")
3247 (source
3248 (origin
3249 (method git-fetch)
3250 (uri (git-reference
3251 (url "https://github.com/JuliaNLSolvers/NLSolversBase.jl")
3252 (commit (string-append "v" version))))
3253 (file-name (git-file-name name version))
3254 (sha256
3255 (base32 "0n8qh5a2ghjx1j70zxn0hmh8gzpa46kmjg8di879y9974bfk0f98"))))
3256 (build-system julia-build-system)
3257 (propagated-inputs
8394619b 3258 (list julia-diffresults julia-finitediff julia-forwarddiff))
f52f7a30 3259 (native-inputs
8394619b 3260 (list julia-optimtestproblems julia-recursivearraytools))
f52f7a30
EF
3261 (home-page "https://github.com/JuliaNLSolvers/NLSolversBase.jl")
3262 (synopsis "Optimization and equation solver software in JuliaNLSolvers")
3263 (description "This package aims at establishing common ground for Optim.jl,
3264LineSearches.jl, and NLsolve.jl. The common ground is mainly the types used to
3265hold objective related callables, information about the objectives, and an
3266interface to interact with these types.")
3267 (license license:expat)))
3268
5be9b3fd
EF
3269(define-public julia-nnlib
3270 (package
3271 (name "julia-nnlib")
28f0a15b 3272 (version "0.7.29")
5be9b3fd
EF
3273 (source
3274 (origin
3275 (method git-fetch)
3276 (uri (git-reference
3277 (url "https://github.com/FluxML/NNlib.jl")
3278 (commit (string-append "v" version))))
3279 (file-name (git-file-name name version))
3280 (sha256
28f0a15b 3281 (base32 "16vn5w5274kcywh1xp0zqjk5q10xrk125aznz5av6wifwrvghk8s"))))
5be9b3fd
EF
3282 (build-system julia-build-system)
3283 (arguments
d92bd679 3284 `(#:phases
5be9b3fd 3285 (modify-phases %standard-phases
3af351a7 3286 (add-after 'link-depot 'skip-cuda-tests
5be9b3fd
EF
3287 (lambda _
3288 (substitute* "test/runtests.jl"
d92bd679
EF
3289 (("using CUDA") "")
3290 (("&& CUDA\\.functional\\(\\)") ""))
5be9b3fd
EF
3291 (setenv "NNLIB_TEST_CUDA" "false"))))))
3292 (propagated-inputs
8394619b 3293 (list julia-adapt julia-chainrulescore julia-requires))
5be9b3fd 3294 (native-inputs
8394619b 3295 (list julia-chainrulestestutils julia-stablerngs julia-zygote))
5be9b3fd
EF
3296 (home-page "https://github.com/FluxML/NNlib.jl")
3297 (synopsis "Neural Network primitives with multiple backends")
3298 (description "This package will provide a library of functions useful for
3299machine learning, such as softmax, sigmoid, convolutions and pooling. It
3300doesn't provide any other \"high-level\" functionality like layers or AD.")
3301 (license license:expat)))
3302
2615a8ba
EF
3303(define-public julia-optimtestproblems
3304 (package
3305 (name "julia-optimtestproblems")
3306 (version "2.0.2")
3307 (source
3308 (origin
3309 (method git-fetch)
3310 (uri (git-reference
3311 (url "https://github.com/JuliaNLSolvers/OptimTestProblems.jl")
3312 (commit (string-append "v" version))))
3313 (file-name (git-file-name name version))
3314 (sha256
3315 (base32 "10h47x5ws42pkqjccimaz0yxfvz41w0yazq6inamfk4lg5g2g3d9"))))
3316 (build-system julia-build-system)
3317 (arguments
3af351a7
JBV
3318 `(#:julia-package-name "OptimTestProblems"
3319 #:julia-package-uuid "cec144fc-5a64-5bc6-99fb-dde8f63e154c"))
2615a8ba
EF
3320 (home-page "https://github.com/JuliaNLSolvers/OptimTestProblems.jl")
3321 (synopsis "Collection of optimization test problems")
3322 (description "The purpose of this package is to provide test problems for
3323JuliaNLSolvers packages.")
3324 (license license:expat)))
3325
eccd448c 3326(define-public julia-orderedcollections
3327 (package
3328 (name "julia-orderedcollections")
8812aead 3329 (version "1.4.1")
eccd448c 3330 (source
3331 (origin
3332 (method git-fetch)
3333 (uri (git-reference
3334 (url "https://github.com/JuliaCollections/OrderedCollections.jl")
3335 (commit (string-append "v" version))))
3336 (file-name (git-file-name name version))
3337 (sha256
8812aead 3338 (base32 "0jaxcmvkp8zpqrz101yikdigz90s70i7in5wn8kybwzf0na3lhwf"))))
eccd448c 3339 (build-system julia-build-system)
3340 (home-page "https://github.com/JuliaCollections/OrderedCollections.jl")
3341 (synopsis "Associative containers that preserve insertion order")
3342 (description "This package implements @code{OrderedDicts} and
3343@code{OrderedSets}, which are similar to containers in base Julia. However,
3344during iteration the @code{Ordered*} containers return items in the order in
3345which they were added to the collection.")
3346 (license license:expat)))
c0c21d77 3347
fb634a0e 3348(define-public julia-offsetarrays
3349 (package
3350 (name "julia-offsetarrays")
c2305209 3351 (version "1.10.3")
fb634a0e 3352 (source
3353 (origin
3354 (method git-fetch)
3355 (uri (git-reference
3356 (url "https://github.com/JuliaArrays/OffsetArrays.jl")
3357 (commit (string-append "v" version))))
3358 (file-name (git-file-name name version))
3359 (sha256
c2305209 3360 (base32 "0j5a8ar8yc0j9h87gwfyrcqm23wpyv5yv5gn8vzilpg4vr0fiasc"))))
fb634a0e 3361 (build-system julia-build-system)
3362 (propagated-inputs
8394619b 3363 (list julia-adapt))
fb634a0e 3364 ;; CatIndices depends on OffsetArrays, introducing a recursive dependency
3365 (arguments '(#:tests? #f))
3366 (home-page "https://juliaarrays.github.io/OffsetArrays.jl/stable/")
3367 (synopsis "Fortran-like arrays with arbitrary, zero or negative indices")
3368 (description "@code{OffsetArrays.jl} provides Julia users with arrays that
3369have arbitrary indices, similar to those found in some other programming
3370languages like Fortran.")
3371 (license license:expat)))
3372
99492890
EF
3373(define-public julia-paddedviews
3374 (package
3375 (name "julia-paddedviews")
3376 (version "0.5.8")
3377 (source
3378 (origin
3379 (method git-fetch)
3380 (uri (git-reference
3381 (url "https://github.com/JuliaArrays/PaddedViews.jl")
3382 (commit (string-append "v" version))))
3383 (file-name (git-file-name name version))
3384 (sha256
3385 (base32 "0ran2vj6ahlzib0g77y7g0jhavy3k9s2mqq23ybpgp9z677wf26h"))))
3386 (build-system julia-build-system)
99492890 3387 (propagated-inputs
8394619b 3388 (list julia-offsetarrays))
c2051168 3389 (native-inputs
8394619b 3390 (list julia-documenter))
99492890
EF
3391 (home-page "https://github.com/JuliaArrays/PaddedViews.jl")
3392 (synopsis "Add virtual padding to the edges of an array")
3393 (description "@code{PaddedViews} provides a simple wrapper type,
3394@code{PaddedView}, to add \"virtual\" padding to any array without copying data.
3395Edge values not specified by the array are assigned a @code{fillvalue}.
3396Multiple arrays may be \"promoted\" to have common indices using the
3397@code{paddedviews} function.")
3398 (license license:expat)))
3399
dd331f49
EF
3400(define-public julia-parameters
3401 (package
3402 (name "julia-parameters")
3403 (version "0.12.2")
3404 (source
3405 (origin
3406 (method git-fetch)
3407 (uri (git-reference
3408 (url "https://github.com/mauro3/Parameters.jl")
3409 (commit (string-append "v" version))))
3410 (file-name (git-file-name name version))
3411 (sha256
3412 (base32 "0b8lawi7kcws4axfsdf023gyxca15irl648ciyi1kw3wghz3pfi2"))))
3413 (build-system julia-build-system)
3414 (propagated-inputs
8394619b 3415 (list julia-orderedcollections julia-unpack))
dd331f49
EF
3416 (home-page "https://github.com/mauro3/Parameters.jl")
3417 (synopsis "Numerical-model parameter helpers")
3418 (description "This package contains types with default field values, keyword
3419constructors and (un-)pack macros. Keyword functions can be slow in Julia,
3420however, the normal positional constructor is also provided and could be used in
3421performance critical code.")
3422 (license license:expat)))
3423
c0c21d77 3424(define-public julia-parsers
3425 (package
3426 (name "julia-parsers")
165a85a6 3427 (version "1.1.0")
c0c21d77 3428 (source
3429 (origin
3430 (method git-fetch)
3431 (uri (git-reference
3432 (url "https://github.com/JuliaData/Parsers.jl")
3433 (commit (string-append "v" version))))
3434 (file-name (git-file-name name version))
3435 (sha256
165a85a6 3436 (base32 "1gz3drd5334xrbx2ms33hiifkd0q1in4ywc92xvrkq3xgzdjqjdk"))))
c0c21d77 3437 (build-system julia-build-system)
3438 (home-page "https://github.com/JuliaData/Parsers.jl")
3439 (synopsis "Fast parsing machinery for basic types in Julia")
3440 (description "@code{Parsers.jl} is a collection of type parsers and
3441utilities for Julia.")
3442 (license license:expat)))
8f59a9fb 3443
9e30f659
EF
3444(define-public julia-pdmats
3445 (package
3446 (name "julia-pdmats")
a424ebde 3447 (version "0.11.1")
9e30f659
EF
3448 (source
3449 (origin
3450 (method git-fetch)
3451 (uri (git-reference
3452 (url "https://github.com/JuliaStats/PDMats.jl")
3453 (commit (string-append "v" version))))
3454 (file-name (git-file-name name version))
3455 (sha256
a424ebde 3456 (base32 "0bc2gmpd30rkclvxyfnssjllp0pk63h0vvgr8862phm5ia83r8j0"))))
9e30f659
EF
3457 (build-system julia-build-system)
3458 (home-page "https://github.com/JuliaStats/PDMats.jl")
3459 (synopsis
3460 "Uniform Interface for positive definite matrices of various structures")
3461 (description "PDMats.jl supports efficient computation on positive definite
3462matrices of various structures. In particular, it provides uniform interfaces
3463to use positive definite matrices of various structures for writing generic
3464algorithms, while ensuring that the most efficient implementation is used in
3465actual computation.")
3466 (license license:expat)))
f11621f1 3467
ab942d5c
EF
3468(define-public julia-plotthemes
3469 (package
3470 (name "julia-plotthemes")
3471 (version "2.0.1")
3472 (source
3473 (origin
3474 (method git-fetch)
3475 (uri (git-reference
3476 (url "https://github.com/JuliaPlots/PlotThemes.jl")
3477 (commit (string-append "v" version))))
3478 (file-name (git-file-name name version))
3479 (sha256
3480 (base32 "1fd27w9z1vhz0d1bzrs5vcavpb5r5jviyh27d9c4ka37phz4xvmh"))))
3481 (build-system julia-build-system)
3482 (propagated-inputs
8394619b 3483 (list julia-plotutils julia-requires))
ab942d5c
EF
3484 (home-page "https://github.com/JuliaPlots/PlotThemes.jl")
3485 (synopsis "Themes for the Julia plotting package Plots.jl")
3486 (description
3487 "PlotThemes is a package to spice up the plots made with @code{Plots.jl}.")
3488 (license license:expat)))
3489
f11621f1
EF
3490(define-public julia-plotutils
3491 (package
3492 (name "julia-plotutils")
235456d6 3493 (version "1.0.15")
f11621f1
EF
3494 (source
3495 (origin
3496 (method git-fetch)
3497 (uri (git-reference
3498 (url "https://github.com/JuliaPlots/PlotUtils.jl")
3499 (commit (string-append "v" version))))
3500 (file-name (git-file-name name version))
3501 (sha256
235456d6 3502 (base32 "12aw5gkkcfhpczv2w510k65w1j0hjnh825ihimi223v8plsi5105"))))
f11621f1
EF
3503 (build-system julia-build-system)
3504 (propagated-inputs
8394619b 3505 (list julia-colors julia-colorschemes julia-reexport))
f11621f1 3506 (native-inputs
8394619b 3507 (list julia-stablerngs))
f11621f1
EF
3508 (home-page "https://github.com/JuliaPlots/PlotUtils.jl")
3509 (synopsis "Helper algorithms for building plotting components")
d342d066 3510 (description "This package contains generic helper algorithms for building
f11621f1
EF
3511plotting components.")
3512 (license license:expat)))
28afc9ba 3513
9f92c8b5
EF
3514(define-public julia-pooledarrays
3515 (package
3516 (name "julia-pooledarrays")
ddec4985 3517 (version "1.3.0")
9f92c8b5
EF
3518 (source
3519 (origin
3520 (method git-fetch)
3521 (uri (git-reference
3522 (url "https://github.com/JuliaData/PooledArrays.jl")
3523 (commit (string-append "v" version))))
3524 (file-name (git-file-name name version))
3525 (sha256
ddec4985 3526 (base32 "0qdwvf1p5z6z0q4s4hn85ysd8wq47zy6hlzddc5ijvhk86ccqlrr"))))
9f92c8b5
EF
3527 (build-system julia-build-system)
3528 (propagated-inputs
8394619b 3529 (list julia-dataapi))
9f92c8b5
EF
3530 (home-page "https://github.com/JuliaData/PooledArrays.jl")
3531 (synopsis "Pooled representation of arrays in Julia")
3532 (description "This package provides a pooled representation of arrays for
3533purposes of compression when there are few unique elements.")
3534 (license license:expat)))
3535
ed6c0f85
EF
3536(define-public julia-positivefactorizations
3537 (package
3538 (name "julia-positivefactorizations")
3539 (version "0.2.4")
3540 (source
3541 (origin
3542 (method git-fetch)
3543 (uri (git-reference
3544 (url "https://github.com/timholy/PositiveFactorizations.jl")
3545 (commit (string-append "v" version))))
3546 (file-name (git-file-name name version))
3547 (sha256
3548 (base32 "1wxy6ak7f3hvibcgc8q88cgkf9zvi649mmjy1zlkx1qk80hgvz23"))))
3549 (build-system julia-build-system)
3550 (native-inputs
8394619b 3551 (list julia-forwarddiff julia-reversediff))
ed6c0f85
EF
3552 (home-page "https://github.com/timholy/PositiveFactorizations.jl")
3553 (synopsis "Positive-definite \"approximations\" to matrices")
3554 (description "@code{PositiveFactorizations} is a package for computing a
3555positive definite matrix decomposition (factorization) from an arbitrary
3556symmetric input. The motivating application is optimization (Newton or
3557quasi-Newton methods), in which the canonical search direction -H/g (H being the
3558Hessian and g the gradient) may not be a descent direction if H is not positive
3559definite.")
3560 (license license:expat)))
3561
f7eaa69d
EF
3562(define-public julia-preferences
3563 (package
3564 (name "julia-preferences")
3565 (version "1.2.2")
3566 (source
3567 (origin
3568 (method git-fetch)
3569 (uri (git-reference
3570 (url "https://github.com/JuliaPackaging/Preferences.jl")
3571 (commit (string-append "v" version))))
3572 (file-name (git-file-name name version))
3573 (sha256
3574 (base32 "1cail43iqzbi6m9v6981rhz47zf2lcvhs5ds5gdqvc9nx5frghxq"))))
3575 (build-system julia-build-system)
3576 (arguments
3577 `(#:tests? #f)) ; Tests try to mkdir /.julia
3578 (home-page "https://github.com/JuliaPackaging/Preferences.jl")
3579 (synopsis "Store configuration switches to TOML files")
3580 (description "The @code{Preferences} package provides an integrated way for
3581packages to store configuration switches to persistent TOML files, and use those
3582pieces of information at both run time and compile time in Julia. This enables
3583the user to modify the behavior of a package, and have that choice reflected in
3584everything from run time algorithm choice to code generation at compile time.")
3585 (license license:expat)))
3586
d2d1f8bf
EF
3587(define-public julia-prettytables
3588 (package
3589 (name "julia-prettytables")
3590 (version "1.0.1")
3591 (source
3592 (origin
3593 (method git-fetch)
3594 (uri (git-reference
3595 (url "https://github.com/ronisbr/PrettyTables.jl")
3596 (commit (string-append "v" version))))
3597 (file-name (git-file-name name version))
3598 (sha256
3599 (base32 "1d1sd87kkwbar3l608h0adzws42cwdrmp1idxx7an6mfqcsdrijw"))))
3600 (build-system julia-build-system)
3601 (arguments
3602 `(#:phases
3603 (modify-phases %standard-phases
3af351a7 3604 (add-after 'link-depot 'skip-color-tests
d2d1f8bf
EF
3605 (lambda _
3606 (substitute* "test/text_backend.jl"
3607 ((".*colors\\.jl.*") ""))
3608 #t)))))
3609 (propagated-inputs
8394619b 3610 (list julia-crayons julia-formatting julia-reexport julia-tables))
d2d1f8bf
EF
3611 (home-page "https://github.com/ronisbr/PrettyTables.jl")
3612 (synopsis "Print data in formatted tables")
3613 (description "This package has the purpose to print data in matrices in a
3614human-readable format.")
3615 (license license:expat)))
8733d2c2 3616
3893f136
EF
3617(define-public julia-pycall
3618 (package
3619 (name "julia-pycall")
11446953 3620 (version "1.92.5")
3893f136
EF
3621 (source
3622 (origin
3623 (method git-fetch)
3624 (uri (git-reference
3625 (url "https://github.com/JuliaPy/PyCall.jl")
3626 (commit (string-append "v" version))))
3627 (file-name (git-file-name name version))
3628 (sha256
3629 (base32
11446953 3630 "1fj5d1ihnhnm0pl4hbx6hcd2bpdyhm8jiaqah2axsbd069j70saf"))))
3893f136
EF
3631 (build-system julia-build-system)
3632 (arguments
3633 `(#:imported-modules ((guix build python-build-system)
3634 ,@%julia-build-system-modules)
3635 #:modules ((guix build julia-build-system)
3636 (guix build utils)
3637 ((guix build python-build-system) #:prefix python:))
3638 #:phases
3639 (modify-phases %standard-phases
3af351a7 3640 (add-after 'link-depot 'remove-conda
3893f136
EF
3641 (lambda _
3642 (substitute* "Project.toml"
3643 ((".*Conda.*") ""))
3644 (substitute* (list "src/PyCall.jl"
3645 "test/runtests.jl")
3646 (("import Conda") ""))
3647 (substitute* "deps/depsutils.jl"
3648 (("Conda.PYTHONDIR") "\"/\""))
3649 #t))
3af351a7 3650 (add-after 'link-depot 'set-python
3893f136
EF
3651 (lambda* (#:key inputs outputs #:allow-other-keys)
3652 (let ((python (assoc-ref inputs "python")))
3653 (setenv "PYCALL_JL_RUNTIME_PYTHON"
3654 (string-append python "/bin/python3"))
3655 (with-output-to-file "deps/deps.jl"
3656 (lambda _
3657 (format #t
3658 "const python = \"~a/bin/python3\"~@
3659 const pyprogramname = \"~a/bin/python3\"~@
3660 const libpython = \"~a/lib/libpython~a.so.1.0\"~@
3661 const PYTHONHOME = \"~a\"~@
3662 const pyversion_build = v\"~a\"~@
3663 const conda = false~%"
3664 python
3665 python
3666 python
3667 (python:python-version python)
3668 python
3669 ,(package-version python))))
3670 #t)))
3671 (add-before 'check 'pre-check
3672 (lambda _
3673 (setenv "CI" "true")
3674 (setenv "JULIA_PKGEVAL" "true")
3675 #t)))))
3676 (propagated-inputs
8394619b 3677 (list julia-macrotools julia-versionparsing))
3893f136 3678 (inputs
8394619b 3679 (list python))
3893f136 3680 (native-inputs
8394619b 3681 (list python-numpy))
3893f136
EF
3682 (home-page "https://github.com/JuliaPy/PyCall.jl")
3683 (synopsis "Call Python functions from the Julia language")
3684 (description "This package provides the ability to directly call and fully
3685interoperate with Python from the Julia language. You can import arbitrary
3686Python modules from Julia, call Python functions (with automatic conversion of
3687types between Julia and Python), define Python classes from Julia methods, and
3688share large data structures between Julia and Python without copying them.")
3689 (license license:expat)))
3690
726a78b8
EF
3691(define-public julia-pyplot
3692 (package
3693 (name "julia-pyplot")
3694 (version "2.10.0")
3695 (source
3696 (origin
3697 (method git-fetch)
3698 (uri (git-reference
3699 (url "https://github.com/JuliaPy/PyPlot.jl")
3700 (commit (string-append "v" version))))
3701 (file-name (git-file-name name version))
3702 (sha256
3703 (base32 "007zs0imfgs69f30pp2a3rc93kl0qiq7qjx6ig35z4wzkmps4skd"))))
3704 (build-system julia-build-system)
3705 (propagated-inputs
8394619b
LC
3706 (list julia-colors
3707 julia-latexstrings
3708 julia-pycall
3709 julia-versionparsing
3710 ;; python-matplotlib is expected to be available at runtime.
3711 python-matplotlib))
726a78b8
EF
3712 (home-page "https://github.com/JuliaPy/PyPlot.jl")
3713 (synopsis "Plotting for Julia based on matplotlib.pyplot")
3714 (description "This package provides a Julia interface to the Matplotlib
3715plotting library from Python, and specifically to the @code{matplotlib.pyplot}
3716module. PyPlot uses the Julia PyCall package to call Matplotlib directly from
3717Julia with little or no overhead (arrays are passed without making a copy).")
3718 (license license:expat)))
3719
8733d2c2
EF
3720(define-public julia-quadgk
3721 (package
3722 (name "julia-quadgk")
3723 (version "2.4.1")
3724 (source
3725 (origin
3726 (method git-fetch)
3727 (uri (git-reference
3728 (url "https://github.com/JuliaMath/QuadGK.jl")
3729 (commit (string-append "v" version))))
3730 (file-name (git-file-name name version))
3731 (sha256
3732 (base32 "1hy0629yai6xflgxaflk9764lzr1lzhlghimxk1aqi212q9c6n33"))))
3733 (build-system julia-build-system)
3734 (propagated-inputs
8394619b 3735 (list julia-datastructures))
8733d2c2
EF
3736 (home-page "https://github.com/JuliaMath/QuadGK.jl")
3737 (synopsis "Adaptive 1d numerical Gauss–Kronrod integration")
3738 (description "This package provides support for one-dimensional numerical
3739integration in Julia using adaptive Gauss-Kronrod quadrature. The code was
3740originally part of Base Julia. It supports integration of arbitrary numeric
3741types, including arbitrary precision (@code{BigFloat}), and even integration of
3742arbitrary normed vector spaces (e.g. matrix-valued integrands).")
3743 (license license:expat)))
d2d1f8bf 3744
277fef20
EF
3745(define-public julia-quadmath
3746 (package
3747 (name "julia-quadmath")
3748 (version "0.5.5")
3749 (source
3750 (origin
3751 (method git-fetch)
3752 (uri (git-reference
3753 (url "https://github.com/JuliaMath/Quadmath.jl")
3754 (commit (string-append "v" version))))
3755 (file-name (git-file-name name version))
3756 (sha256
3757 (base32 "051biw4b9zni7cmh2f1yzifp1v8wazlfxrdz4p44lyd1wba6379w"))))
3758 (build-system julia-build-system)
3759 (arguments
3760 `(#:phases
3761 (modify-phases %standard-phases
3af351a7 3762 (add-after 'link-depot 'hardcode-libmath-location
277fef20
EF
3763 (lambda* (#:key inputs #:allow-other-keys)
3764 (let ((gcclib (assoc-ref inputs "gcc:lib")))
3765 (substitute* "src/Quadmath.jl"
3766 (("libgcc_s.so.1" lib) (string-append gcclib "/lib/" lib))
3767 (("libquadmath.so.0" lib) (string-append gcclib "/lib/" lib)))
3768 #t))))))
3769 (propagated-inputs
8394619b 3770 (list julia-requires))
277fef20
EF
3771 (inputs
3772 `(("gcc:lib" ,gcc "lib")))
3773 (native-inputs
8394619b 3774 (list julia-specialfunctions))
277fef20
EF
3775 (home-page "https://github.com/JuliaMath/Quadmath.jl")
3776 (synopsis "Float128 and libquadmath for the Julia language")
3777 (description "This is a Julia interface to @code{libquadmath}, providing a
3778@code{Float128} type corresponding to the IEEE754 binary128 floating point
3779format.")
3780 (license license:expat)))
3781
12289754
EF
3782(define-public julia-quaternions
3783 (package
3784 (name "julia-quaternions")
3785 (version "0.4.2")
3786 (source
3787 (origin
3788 (method git-fetch)
3789 (uri (git-reference
3790 (url "https://github.com/JuliaGeometry/Quaternions.jl")
3791 (commit (string-append "v" version))))
3792 (file-name (git-file-name name version))
3793 (sha256
3794 (base32 "1zhynyvchc50hywws2jznpkwydr3njh8cv84d2ylyabhcwwmil9s"))))
3795 (build-system julia-build-system)
3796 (propagated-inputs
8394619b 3797 (list julia-dualnumbers))
12289754
EF
3798 (home-page "https://github.com/JuliaGeometry/Quaternions.jl")
3799 (synopsis "Quaternion and dual-quaternion functionality")
3800 (description "Quaternions are best known for their suitability as
3801representations of 3D rotational orientation. They can also be viewed as an
3802extension of complex numbers.")
3803 (license license:expat)))
3804
209a80c1
EF
3805(define-public julia-queryoperators
3806 (package
3807 (name "julia-queryoperators")
3808 (version "0.9.3")
3809 (source
3810 (origin
3811 (method git-fetch)
3812 (uri (git-reference
3813 (url "https://github.com/queryverse/QueryOperators.jl")
3814 (commit (string-append "v" version))))
3815 (file-name (git-file-name name version))
3816 (sha256
3817 (base32 "06zm4cbn3x49lbpgshhdfvvmgz066qkc8q0d57igm5p8bcp6js22"))))
3818 (build-system julia-build-system)
3819 (propagated-inputs
8394619b
LC
3820 (list julia-datastructures julia-iteratorinterfaceextensions
3821 julia-tableshowutils))
209a80c1
EF
3822 (home-page "https://github.com/queryverse/QueryOperators.jl")
3823 (synopsis "Query operators for Julia")
3824 (description "This package contains the underlying query operators that are
3825exposed to users in @code{Query.jl}.")
3826 (license license:expat)))
3827
a3369594
EF
3828(define-public julia-rangearrays
3829 (package
3830 (name "julia-rangearrays")
3831 (version "0.3.2")
3832 (source
3833 (origin
3834 (method git-fetch)
3835 (uri (git-reference
3836 (url "https://github.com/JuliaArrays/RangeArrays.jl")
3837 (commit (string-append "v" version))))
3838 (file-name (git-file-name name version))
3839 (sha256
3840 (base32 "1ihzfyfq1xihkjcvn7xmzfbn6igzidb4fkzdcxwfr5qkvi52gnmg"))))
3841 (build-system julia-build-system)
3842 (home-page "https://github.com/JuliaArrays/RangeArrays.jl")
3843 (synopsis "Array data structures with autogenerated columns")
3844 (description "The goal of RangeArrays is to provide efficient and convenient
3845array data structures where the columns of the arrays are generated (on the fly)
3846by Ranges.")
3847 (license license:expat)))
3848
b2ca58be
EF
3849(define-public julia-ratios
3850 (package
3851 (name "julia-ratios")
3852 (version "0.4.0")
3853 (source
3854 (origin
3855 (method git-fetch)
3856 (uri (git-reference
3857 (url "https://github.com/timholy/Ratios.jl")
3858 (commit (string-append "v" version))))
3859 (file-name (git-file-name name version))
3860 (sha256
3861 (base32 "1a4fd4jq4qjply29rkwg3m1clfndjsbckj1b1dab1bc35h2c6yxh"))))
3862 (build-system julia-build-system)
3863 (home-page "https://github.com/timholy/Ratios.jl")
3864 (synopsis "Faster Rational-like types for Julia")
3865 (description "This package provides types similar to Julia's @code{Rational}
3866type, which make some sacrifices but have better computational performance.")
3867 (license license:expat)))
3868
28afc9ba
EF
3869(define-public julia-recipesbase
3870 (package
3871 (name "julia-recipesbase")
3872 (version "1.1.1")
3873 (source
3874 (origin
3875 (method git-fetch)
3876 (uri (git-reference
3877 (url "https://github.com/JuliaPlots/RecipesBase.jl")
3878 (commit (string-append "v" version))))
3879 (file-name (git-file-name name version))
3880 (sha256
3881 (base32 "1b6m5rz6wprj30rwvlxz4r1jv5gl0ay0f52kfmy2w7lqly7zhap5"))))
3882 (build-system julia-build-system)
3883 (home-page "https://github.com/JuliaPlots/RecipesBase.jl")
3884 (synopsis "Define transformation recipes on user types")
3885 (description "This package implements handy macros @code{@@recipe} and
3886@code{@@series} which will define a custom transformation and attach attributes
3887for user types. Its design is an attempt to simplify and generalize the summary
3888and display of types and data from external packages. With this package it is
3889possible to describe visualization routines that can be used as components in
3890more complex visualizations.")
3891 (license license:expat)))
9e30f659 3892
ab7d4e85
EF
3893(define-public julia-recipespipeline
3894 (package
3895 (name "julia-recipespipeline")
831ce9b9 3896 (version "0.3.4")
ab7d4e85
EF
3897 (source
3898 (origin
3899 (method git-fetch)
3900 (uri (git-reference
3901 (url "https://github.com/JuliaPlots/RecipesPipeline.jl")
3902 (commit (string-append "v" version))))
3903 (file-name (git-file-name name version))
3904 (sha256
831ce9b9 3905 (base32 "0zq4bzxvq36zr0va6iip3x97mgq5b4fwza8avszx1ryfqm3lg1f7"))))
ab7d4e85
EF
3906 (build-system julia-build-system)
3907 (arguments
3908 `(#:tests? #f)) ; Cycle with Plots.jl.
3909 (propagated-inputs
8394619b 3910 (list julia-nanmath julia-plotutils julia-recipesbase))
ab7d4e85
EF
3911 (home-page "http://juliaplots.org/RecipesPipeline.jl/dev/")
3912 (synopsis "Utilities for processing recipes")
3913 (description "This package was factored out of @code{Plots.jl} to allow any
3914other plotting package to use the recipe pipeline. In short, the extremely
3915lightweight @code{RecipesBase.jl} package can be depended on by any package to
3916define \"recipes\": plot specifications of user-defined types, as well as custom
3917plot types. @code{RecipePipeline.jl} contains the machinery to translate these
3918recipes to full specifications for a plot.")
3919 (license license:expat)))
3920
01e9e008
EF
3921(define-public julia-recursivearraytools
3922 (package
3923 (name "julia-recursivearraytools")
f93a9835 3924 (version "2.16.1")
01e9e008
EF
3925 (source
3926 (origin
3927 (method git-fetch)
3928 (uri (git-reference
3929 (url "https://github.com/SciML/RecursiveArrayTools.jl")
3930 (commit (string-append "v" version))))
3931 (file-name (git-file-name name version))
3932 (sha256
f93a9835 3933 (base32 "0vx8ndxrii53na7jsc2lki47wfpi77rn3y2r6xhiysx1qwr14msf"))))
01e9e008
EF
3934 (build-system julia-build-system)
3935 (arguments
3936 `(#:tests? #f)) ; Cycle with OrdinaryDiffEq.jl.
3937 (propagated-inputs
8394619b
LC
3938 (list julia-arrayinterface
3939 julia-chainrulescore
3940 julia-docstringextensions
3941 julia-recipesbase
3942 julia-requires
3943 julia-staticarrays
3944 julia-zygoterules))
01e9e008
EF
3945 ;(native-inputs
3946 ; `(("julia-forwarddiff" ,julia-forwarddiff)
3947 ; ("julia-nlsolve" ,julia-nlsolve)
3948 ; ("julia-ordinarydiffeq" ,julia-ordinarydiffeq)
3949 ; ("julia-structarrays" ,julia-structarrays)
01e9e008
EF
3950 ; ("julia-zygote" ,julia-zygote)))
3951 (home-page "https://github.com/SciML/RecursiveArrayTools.jl")
3952 (synopsis "Tools for handling objects like arrays of arrays and deeper nestings")
3953 (description "@code{RecursiveArrayTools.jl} is a set of tools for dealing with
3954recursive arrays like arrays of arrays.")
3955 (license license:expat)))
3956
02543b52 3957(define-public julia-reexport
3958 (package
3959 (name "julia-reexport")
09ee0df8 3960 (version "1.2.2")
02543b52 3961 (source
3962 (origin
3963 (method git-fetch)
3964 (uri (git-reference
3965 (url "https://github.com/simonster/Reexport.jl")
d964f9d8 3966 (commit (string-append "v" version))))
02543b52 3967 (file-name (git-file-name name version))
3968 (sha256
09ee0df8 3969 (base32 "0inf5q6f01ncd5c5wm8mwzv2hs627ng6xlh8dhrlflp321hbamwf"))))
02543b52 3970 (build-system julia-build-system)
3971 (home-page "https://github.com/simonster/Reexport.jl")
3972 (synopsis "Re-export modules and symbols")
3973 (description "This package provides tools to re-export modules and symbols.")
3974 (license license:expat)))
56753c0f
EF
3975
3976(define-public julia-referencetests
3977 (package
3978 (name "julia-referencetests")
3979 (version "0.9.7")
3980 (source
3981 (origin
3982 (method git-fetch)
3983 (uri (git-reference
3984 (url "https://github.com/JuliaTesting/ReferenceTests.jl")
3985 (commit (string-append "v" version))))
3986 (file-name (git-file-name name version))
3987 (sha256
3988 (base32 "0mm6bjhs8a21pippww6b08b5frmnb9m6k8xrszrwq9zhc879zpc9"))))
3989 (build-system julia-build-system)
3990 (arguments
3991 `(#:tests? #f)) ; Cycle with ImageCore.jl through ImageMagick.jl.
3992 (propagated-inputs
8394619b
LC
3993 (list julia-deepdiffs julia-distances julia-fileio julia-imagecore
3994 julia-imageinterminal))
56753c0f
EF
3995 ;(native-inputs
3996 ; `(("julia-csvfiles" ,julia-csvfiles)
3997 ; ("julia-dataframes" ,julia-dataframes)
3998 ; ("julia-gr" ,julia-gr)
3999 ; ("julia-imagemagick" ,julia-imagemagick)
4000 ; ("julia-imagetransformations" ,julia-imagetransformations)
4001 ; ("julia-plots" ,julia-plots)
4002 ; ("julia-testimages" ,julia-testimages)))
4003 (home-page "https://juliatesting.github.io/ReferenceTests.jl/latest/")
4004 (synopsis "Utility package for comparing data against reference files")
4005 (description "@code{ReferenceTests.jl} is a Julia package that adds a couple
4006of additional macros to your testing toolbox. In particular, it focuses on
4007functionality for testing values against reference files, which in turn the
4008package can help create and update if need be.")
4009 (license license:expat)))
02543b52 4010
658fca53 4011(define-public julia-requires
4012 (package
4013 (name "julia-requires")
4014 (version "1.1.3")
4015 (source
4016 (origin
4017 (method git-fetch)
4018 (uri (git-reference
4019 (url "https://github.com/JuliaPackaging/Requires.jl/")
4020 (commit (string-append "v" version))))
4021 (file-name (git-file-name name version))
4022 (sha256
4023 (base32 "03hyfy7c0ma45b0y756j76awi3az2ii4bz4s8cxm3xw9yy1z7b01"))))
4024 (build-system julia-build-system)
2ce8e5e1 4025 (arguments
4026 `(#:parallel-tests? #f))
658fca53 4027 (inputs ;required for test
8394619b 4028 (list julia-example))
658fca53 4029 (propagated-inputs
8394619b 4030 (list julia-colors))
658fca53 4031 (home-page "https://github.com/JuliaPackaging/Requires.jl/")
4032 (synopsis "Faster package loader")
4033 (description "This package make loading packages faster, maybe. It
4034supports specifying glue code in packages which will load automatically when
4035another package is loaded, so that explicit dependencies (and long load times)
4036can be avoided.")
4037 (license license:expat)))
4038
e9a0f6a4
EF
4039(define-public julia-reversediff
4040 (package
4041 (name "julia-reversediff")
4042 (version "1.9.0")
4043 (source
4044 (origin
4045 (method git-fetch)
4046 (uri (git-reference
4047 (url "https://github.com/JuliaDiff/ReverseDiff.jl")
4048 (commit (string-append "v" version))))
4049 (file-name (git-file-name name version))
4050 (sha256
4051 (base32 "1wrr6sqj2xl9grkvdp88rw3manxy9vbx28zq2wssya5ns1xabsnl"))))
4052 (build-system julia-build-system)
29c04100 4053 (arguments
4054 ;; XXXX: Test suite failing for i686, e.g.,
4055 ;; Expression: hash(tr_float, hash(1)) === hash(v_float, hash(1))
4056 ;; MethodError: no method matching decompose(::ReverseDiff.TrackedReal{Float64, Float64, Nothing})
4057 ;; Disable as stopgap.
4058 `(#:tests? ,(not (target-x86-32?))))
e9a0f6a4 4059 (propagated-inputs
8394619b
LC
4060 (list julia-diffresults
4061 julia-diffrules
4062 julia-forwarddiff
4063 julia-functionwrappers
4064 julia-macrotools
4065 julia-nanmath
4066 julia-specialfunctions
4067 julia-staticarrays))
e9a0f6a4 4068 (native-inputs
8394619b 4069 (list julia-difftests julia-fillarrays))
e9a0f6a4
EF
4070 (home-page "https://github.com/JuliaDiff/ReverseDiff.jl")
4071 (synopsis "Reverse Mode Automatic Differentiation for Julia")
4072 (description "@code{ReverseDiff.jl} is a fast and compile-able tape-based
4073reverse mode @acronym{AD, automatic differentiation}, that implements methods to
4074take gradients, Jacobians, Hessians, and higher-order derivatives of native
4075Julia functions (or any callable object, really).")
4076 (license license:expat)))
4077
dd7a77c3 4078(define-public julia-richardson
4079 (package
4080 (name "julia-richardson")
4081 (version "1.4.0")
4082 (source
4083 (origin
4084 (method git-fetch)
4085 (uri (git-reference
4086 (url "https://github.com/JuliaMath/Richardson.jl")
4087 (commit (string-append "v" version))))
4088 (file-name (git-file-name name version))
4089 (sha256
4090 (base32 "06v9ii3d7hh41fsrfklaa8ap55z5s017f888mrd1c18y4fx9i4nx"))))
4091 (build-system julia-build-system)
4092 (home-page "https://juliapackages.com/p/richardson")
4093 (synopsis "Extrapolate function using Richardson method")
4094 (description "This package provides a function extrapolate that
4095extrapolates a given function @code{f(x)} to @code{f(x0)}, evaluating @code{f}
4096only at a geometric sequence of points @code{> x0} (or optionally @code{<
4097x0}). The key algorithm is Richardson extrapolation using a Neville–Aitken
4098tableau, which adaptively increases the degree of an extrapolation polynomial
4099until convergence is achieved to a desired tolerance (or convergence stalls
4100due to e.g. floating-point errors). This allows one to obtain @code{f(x0)} to
4101high-order accuracy, assuming that @code{f(x0+h)} has a Taylor series or some
4102other power series in @code{h}.")
4103 (license license:expat)))
4104
1fde30c2 4105(define-public julia-rotations
d09223ed
EF
4106 ;; This is the first commit with support for julia-1.6.
4107 (let ((commit "b599102535bc3534252c76f3fd4cf521f4741788")
4108 (revision "1"))
4109 (package
4110 (name "julia-rotations")
4111 (version (git-version "1.0.2" revision commit))
4112 (source
4113 (origin
4114 (method git-fetch)
4115 (uri (git-reference
4116 (url "https://github.com/JuliaGeometry/Rotations.jl")
4117 (commit commit)))
4118 (file-name (git-file-name name version))
4119 (sha256
4120 (base32 "01wwqbdmj61yiz7rkmams4xg7gb9hbmg325173846ky4b9x1wb19"))))
4121 (build-system julia-build-system)
4122 (propagated-inputs
8394619b 4123 (list julia-staticarrays))
d09223ed 4124 (native-inputs
8394619b 4125 (list julia-benchmarktools julia-forwarddiff julia-unitful))
d09223ed
EF
4126 (home-page "https://github.com/JuliaGeometry/Rotations.jl")
4127 (synopsis "Julia implementations for different rotation parameterisations")
4128 (description "This package implements various 3D rotation parameterizations
1fde30c2
EF
4129and defines conversions between them. At their heart, each rotation
4130parameterization is a 3×3 unitary (orthogonal) matrix (based on the
4131@code{StaticArrays.jl} package), and acts to rotate a 3-vector about the origin
4132through matrix-vector multiplication.")
d09223ed 4133 (license license:expat))))
1fde30c2 4134
9f3dae8f
EF
4135(define-public julia-safetestsets
4136 ;; The only release tag is the first commit in the repository.
4137 (let ((commit "e553edc4c753344d38349304b9ff5483c3b8ff21")
4138 (revision "1"))
4139 (package
4140 (name "julia-safetestsets")
4141 (version (git-version "0.0.1" revision commit))
4142 (source
4143 (origin
4144 (method git-fetch)
4145 (uri (git-reference
4146 (url "https://github.com/YingboMa/SafeTestsets.jl")
4147 (commit commit)))
4148 (file-name (git-file-name name version))
4149 (sha256
4150 (base32 "1fb1dfdmiw2ggx60hf70954xlps0r48fcb3k3dvxynlz7ylphp96"))))
4151 (build-system julia-build-system)
4152 (arguments
3af351a7
JBV
4153 `(#:julia-package-name "SafeTestsets"
4154 #:julia-package-uuid "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"))
9f3dae8f 4155 (native-inputs
8394619b 4156 (list julia-staticarrays))
9f3dae8f
EF
4157 (home-page "https://github.com/YingboMa/SafeTestsets.jl")
4158 (synopsis "Julia's testset in a module")
4159 (description "This package contains the testset from Julia, packaged into
4160a loadable module.")
4161 (license license:expat))))
4162
647edfd0
EF
4163(define-public julia-sass
4164 (package
4165 (name "julia-sass")
4166 (version "0.2.0")
4167 (source
4168 (origin
4169 (method git-fetch)
4170 (uri (git-reference
4171 (url "https://github.com/piever/Sass.jl")
4172 (commit (string-append "v" version))))
4173 (file-name (git-file-name name version))
4174 (sha256
4175 (base32 "0y7kkkj717h5cj659ssry89i5r64symr6pvhr6vv4qmaxrnjxj92"))))
4176 (build-system julia-build-system)
4177 (propagated-inputs
8394619b 4178 (list julia-libsass-jll))
647edfd0
EF
4179 (home-page "https://github.com/piever/Sass.jl")
4180 (synopsis "Compile scss and sass file to css")
4181 (description "This package provides a simple Julian API to use the
4182@code{libsass} library to compile scss and sass files to css.")
4183 (license license:expat)))
4184
014421ee
EF
4185(define-public julia-scratch
4186 (package
4187 (name "julia-scratch")
48bb6199 4188 (version "1.1.0")
014421ee
EF
4189 (source
4190 (origin
4191 (method git-fetch)
4192 (uri (git-reference
4193 (url "https://github.com/JuliaPackaging/Scratch.jl")
4194 (commit (string-append "v" version))))
4195 (file-name (git-file-name name version))
4196 (sha256
4197 (base32
48bb6199 4198 "09xni9rrrax17fxjz04j1b48mk9ffww5rcbagh66jklr89mrkqhx"))))
014421ee
EF
4199 (build-system julia-build-system)
4200 (arguments
4201 `(#:tests? #f)) ; Test suite tries to access the Julia package registry.
4202 (home-page "https://github.com/JuliaPackaging/Scratch.jl")
4203 (synopsis "Scratch spaces for all your persistent mutable data needs")
4204 (description "This repository implements the scratch spaces API for
4205package-specific mutable containers of data. These spaces can contain datasets,
4206text, binaries, or any other kind of data that would be convenient to store in
4207a location specific to your package. As compared to Artifacts, these containers
4208of data are mutable. Because the scratch space location on disk is not very
4209user-friendly, scratch spaces should, in general, not be used for a storing
4210files that the user must interact with through a file browser.")
4211 (license license:expat)))
4212
1ba8c88f
EF
4213(define-public julia-showoff
4214 (package
4215 (name "julia-showoff")
4216 (version "1.0.2")
4217 (source
4218 (origin
4219 (method git-fetch)
4220 (uri (git-reference
4221 (url "https://github.com/JuliaGraphics/Showoff.jl")
4222 (commit (string-append "v" version))))
4223 (file-name (git-file-name name version))
4224 (sha256
4225 (base32 "1g4hqvjjpwbrs7fnllyl5w66yj6qlvpvzpygym2nvf01m1ps6m53"))))
4226 (build-system julia-build-system)
4227 (home-page "https://github.com/JuliaGraphics/Showoff.jl")
4228 (synopsis "Nicely format an array of n things for tables and plots")
4229 (description "@code{Showoff} provides an interface for consistently
4230formatting an array of n things, e.g. numbers, dates, unitful values. It's used
4231in @code{Gadfly}, @code{Plots} and @code{Makie} to label axes and keys.")
4232 (license license:expat)))
4233
63a83375
EF
4234(define-public julia-simpletraits
4235 (package
4236 (name "julia-simpletraits")
b9264f28 4237 (version "0.9.4")
63a83375
EF
4238 (source
4239 (origin
4240 (method git-fetch)
4241 (uri (git-reference
4242 (url "https://github.com/mauro3/SimpleTraits.jl")
4243 (commit (string-append "v" version))))
4244 (file-name (git-file-name name version))
4245 (sha256
b9264f28 4246 (base32 "1qvmkqcvhc2nilvkk36szccxdlcv9ls2i0ksxgl2yfjr3b3qlr05"))))
63a83375
EF
4247 (build-system julia-build-system)
4248 (propagated-inputs
8394619b 4249 (list julia-macrotools))
63a83375
EF
4250 (home-page "https://github.com/mauro3/SimpleTraits.jl")
4251 (synopsis "Simple Traits for Julia")
4252 (description "This package provides a macro-based implementation of traits.
4253The main idea behind traits is to group types outside the type-hierarchy and to
4254make dispatch work with that grouping. The difference to Union-types is that
4255types can be added to a trait after the creation of the trait, whereas Union
4256types are fixed after creation.")
4257 (license license:expat)))
4258
2eca48e3 4259(define-public julia-softglobalscope
4260 (package
4261 (name "julia-softglobalscope")
4262 (version "1.1.0")
4263 (source
4264 (origin
4265 (method git-fetch)
4266 (uri (git-reference
4267 (url "https://github.com/stevengj/SoftGlobalScope.jl")
4268 (commit (string-append "v" version))))
4269 (file-name (git-file-name name version))
4270 (sha256
4271 (base32 "1n3l0al1vw5jpb4k9a29a71666cdb617nmiqg34wcmyfzrxpvv39"))))
4272 (build-system julia-build-system)
4273 (home-page "https://github.com/stevengj/SoftGlobalScope.jl")
4274 (synopsis "Utilities for soft global scope in interactive Julia environments")
4275 (description
4276 "SoftGlobalScope is a package for the Julia language that simplifies the
4277variable scoping rules for code in global scope. It is intended for interactive
4278shells to make it easier to work interactively with Julia, especially for
4279beginners.")
4280 (license license:expat)))
4281
c0f5dd63
EF
4282(define-public julia-sortingalgorithms
4283 (package
4284 (name "julia-sortingalgorithms")
bf796e1b 4285 (version "1.0.1")
c0f5dd63
EF
4286 (source
4287 (origin
4288 (method git-fetch)
4289 (uri (git-reference
4290 (url "https://github.com/JuliaCollections/SortingAlgorithms.jl")
bf796e1b 4291 (commit (string-append "v" version))))
c0f5dd63
EF
4292 (file-name (git-file-name name version))
4293 (sha256
bf796e1b 4294 (base32 "173x77a80xnh99viqa3r7rgdaksvxaw8xyfqw09gwvp4p2zrxivb"))))
c0f5dd63
EF
4295 (build-system julia-build-system)
4296 (arguments
4297 `(#:tests? #f)) ; cycle with StatsBase.jl
4298 (propagated-inputs
8394619b 4299 (list julia-datastructures))
c0f5dd63
EF
4300 ;(native-inputs
4301 ; `(("julia-statsbase" ,julia-statsbase)))
4302 (home-page "https://github.com/JuliaCollections/SortingAlgorithms.jl")
4303 (synopsis "Extra sorting algorithms extending Julia's sorting API")
4304 (description "The SortingAlgorithms package provides three sorting
4305algorithms that can be used with Julia's standard sorting API: heapsort,
4306timsort and radixsort.")
4307 (license license:expat)))
4308
3d98a16a 4309(define-public julia-specialfunctions
4310 (package
4311 (name "julia-specialfunctions")
22876331 4312 (version "1.6.0")
3d98a16a 4313 (source
4314 (origin
4315 (method git-fetch)
4316 (uri (git-reference
4317 (url "https://github.com/JuliaMath/SpecialFunctions.jl")
4318 (commit (string-append "v" version))))
4319 (file-name (git-file-name name version))
4320 (sha256
22876331 4321 (base32 "0nfpnglx7zl9g20w2mgfkg17hcw9ri0shaq2rwplj0ij5pwz8yf0"))))
3d98a16a 4322 (build-system julia-build-system)
4323 (inputs
8394619b 4324 (list julia-chainrulestestutils))
3d98a16a 4325 (propagated-inputs
8394619b
LC
4326 (list julia-chainrulescore julia-logexpfunctions
4327 julia-openspecfun-jll))
3d98a16a 4328 (home-page "https://github.com/JuliaMath/SpecialFunctions.jl")
4329 (synopsis "Special mathematical functions")
4330 (description "This package provides special mathematical functions,
4331including Bessel, Hankel, Airy, error, Dawson, exponential (or sine and
4332cosine) integrals, eta, zeta, digamma, inverse digamma, trigamma, and
4333polygamma functions.")
8f856c80
EF
4334 (license license:expat)))
4335
4336(define-public julia-splitapplycombine
4337 (package
4338 (name "julia-splitapplycombine")
4339 (version "1.1.4")
4340 (source
4341 (origin
4342 (method git-fetch)
4343 (uri (git-reference
4344 (url "https://github.com/JuliaData/SplitApplyCombine.jl")
4345 (commit (string-append "v" version))))
4346 (file-name (git-file-name name version))
4347 (sha256
4348 (base32 "1qzaqvk57b0s5krzn8bxkzmr5kz6hi9dm3jbf2sl7z4vznsgbn9x"))))
4349 (build-system julia-build-system)
4350 (propagated-inputs
8394619b 4351 (list julia-dictionaries julia-indexing))
8f856c80
EF
4352 (home-page "https://github.com/JuliaData/SplitApplyCombine.jl")
4353 (synopsis "Split-apply-combine strategies for Julia")
4354 (description "@code{SplitApplyCombine.jl} provides high-level, generic tools
4355for manipulating data - particularly focussing on data in nested containers. An
4356emphasis is placed on ensuring split-apply-combine strategies are easy to apply,
4357and work reliably for arbitrary iterables and in an optimized way with the data
4358structures included in Julia's standard library.")
3d98a16a 4359 (license license:expat)))
4360
47f67c56
EF
4361(define-public julia-stablerngs
4362 (package
4363 (name "julia-stablerngs")
4364 (version "1.0.0")
4365 (source
4366 (origin
4367 (method git-fetch)
4368 (uri (git-reference
4369 (url "https://github.com/JuliaRandom/StableRNGs.jl")
4370 (commit (string-append "v" version))))
4371 (file-name (git-file-name name version))
4372 (sha256
4373 (base32 "1cw4wc38qbgmrrx0jjwjhynnarrzjkh0yyz242zj272brbci7p1r"))))
4374 (build-system julia-build-system)
4375 (home-page "https://github.com/JuliaRandom/StableRNGs.jl")
4376 (synopsis "Julia RNG with stable streams")
4377 (description "This package intends to provide a simple RNG with stable
4378streams, suitable for tests in packages which need reproducible streams of
4379random numbers across Julia versions. Indeed, the Julia RNGs provided by
4380default are documented to have non-stable streams (which for example enables
4381some performance improvements).")
4382 (license license:expat)))
4383
e490262f
EF
4384(define-public julia-stackviews
4385 (package
4386 (name "julia-stackviews")
4387 (version "0.1.1")
4388 (source
4389 (origin
4390 (method git-fetch)
4391 (uri (git-reference
4392 (url "https://github.com/JuliaArrays/StackViews.jl")
4393 (commit (string-append "v" version))))
4394 (file-name (git-file-name name version))
4395 (sha256
4396 (base32 "1fwiaxdpx1z9dli3jr8kyraych0jbdiny3qklynf0r13px25r6i7"))))
4397 (build-system julia-build-system)
4398 (arguments
e6cda550 4399 `(#:phases
e490262f 4400 (modify-phases %standard-phases
3af351a7 4401 (add-after 'link-depot 'skip-doctest
e490262f
EF
4402 (lambda _
4403 (substitute* "test/runtests.jl"
4404 ((".*doctest.*") ""))
4405 #t)))))
4406 (propagated-inputs
8394619b 4407 (list julia-offsetarrays))
e6cda550 4408 (native-inputs
8394619b 4409 (list julia-aqua julia-documenter))
e490262f
EF
4410 (home-page "https://github.com/JuliaArrays/StackViews.jl")
4411 (synopsis "No more catcat")
4412 (description "StackViews provides only one array type: @code{StackView}.
4413There are multiple ways to understand @code{StackView}:
4414@itemize
4415@item inverse of @code{eachslice}
4416@item @code{cat} variant
4417@item view object
4418@item lazy version of @code{repeat} special case
4419@end itemize")
4420 (license license:expat)))
4421
6496b31a
EF
4422(define-public julia-static
4423 (package
4424 (name "julia-static")
ace03e01 4425 (version "0.3.0")
6496b31a
EF
4426 (source
4427 (origin
4428 (method git-fetch)
4429 (uri (git-reference
4430 (url "https://github.com/SciML/Static.jl")
4431 (commit (string-append "v" version))))
4432 (file-name (git-file-name name version))
4433 (sha256
ace03e01 4434 (base32 "19k7h47zhz3zz28i0l4b3cc0r07pzp8kf35z0yammpy361b644l2"))))
6496b31a
EF
4435 (build-system julia-build-system)
4436 (propagated-inputs
8394619b 4437 (list julia-ifelse))
6496b31a 4438 (native-inputs
8394619b 4439 (list julia-aqua))
6496b31a
EF
4440 (home-page "https://github.com/SciML/Static.jl")
4441 (synopsis "Static types useful for dispatch and generated functions")
4442 (description "Static.jl defines a limited set of statically parameterized
4443types and a common interface that is shared between them.")
4444 (license license:expat)))
4445
be802277 4446(define-public julia-staticarrays
4447 (package
4448 (name "julia-staticarrays")
d6bebca9 4449 (version "1.2.13")
be802277 4450 (source
4451 (origin
4452 (method git-fetch)
4453 (uri (git-reference
4454 (url "https://github.com/JuliaArrays/StaticArrays.jl")
4455 (commit (string-append "v" version))))
4456 (file-name (git-file-name name version))
4457 (sha256
d6bebca9 4458 (base32 "041mijzgzm8r61a3gwspr2wcxjikqksvj2rbnl4gmcy41alqmx79"))))
be802277 4459 (build-system julia-build-system)
4460 (inputs
8394619b 4461 (list julia-benchmarktools))
be802277 4462 (home-page "https://github.com/JuliaArrays/StaticArrays.jl")
4463 (synopsis "Statically sized arrays")
4464 (description "This package provides a framework for implementing
4465statically sized arrays in Julia, using the abstract type
4466@code{StaticArray{Size,T,N} <: AbstractArray{T,N}}. Subtypes of
4467@code{StaticArray} will provide fast implementations of common array and
4468linear algebra operations.")
4469 (license license:expat)))
4470
f7f1efea
EF
4471(define-public julia-statsapi
4472 (package
4473 (name "julia-statsapi")
4474 (version "1.0.0")
4475 (source
4476 (origin
4477 (method git-fetch)
4478 (uri (git-reference
4479 (url "https://github.com/JuliaStats/StatsAPI.jl")
4480 (commit (string-append "v" version))))
4481 (file-name (git-file-name name version))
4482 (sha256
4483 (base32 "1k1c3s7i5wzkz4r9fyy4gd7wb97p0qgbc7bmaajm16zqipfmy2bv"))))
4484 (build-system julia-build-system)
4485 (home-page "https://juliastats.org/")
4486 (synopsis "Statistics-focused namespace for packages to share functions")
4487 (description "This package provides a namespace for data-related generic
4488function definitions to solve the optional dependency problem; packages wishing
4489to share and/or extend functions can avoid depending directly on each other by
4490moving the function definition to @code{StatsAPI.jl} and each package taking a
4491dependency on it.")
4492 (license license:expat)))
4493
2e317bbf
EF
4494(define-public julia-statsbase
4495 (package
4496 (name "julia-statsbase")
4497 (version "0.33.8")
4498 (source
4499 (origin
4500 (method git-fetch)
4501 (uri (git-reference
4502 (url "https://github.com/JuliaStats/StatsBase.jl")
4503 (commit (string-append "v" version))))
4504 (file-name (git-file-name name version))
4505 (sha256
4506 (base32 "02y4pm5yvg713a2pn970bbcfkrn2h133rxbxk1da18svhqw3czhi"))))
4507 (build-system julia-build-system)
4508 (propagated-inputs
8394619b
LC
4509 (list julia-dataapi julia-datastructures julia-missings
4510 julia-sortingalgorithms julia-statsapi))
2e317bbf 4511 (native-inputs
8394619b 4512 (list julia-stablerngs))
2e317bbf
EF
4513 (home-page "https://github.com/JuliaStats/StatsBase.jl")
4514 (synopsis "Basic statistics for Julia")
4515 (description "StatsBase.jl is a Julia package that provides basic support
4516for statistics. Particularly, it implements a variety of statistics-related
4517functions, such as scalar statistics, high-order moment computation, counting,
4518ranking, covariances, sampling, and empirical density estimation.")
4519 (license license:expat)))
4520
50255943
EF
4521(define-public julia-stringdistances
4522 (package
4523 (name "julia-stringdistances")
4524 (version "0.10.0")
4525 (source
4526 (origin
4527 (method git-fetch)
4528 (uri (git-reference
4529 (url "https://github.com/matthieugomez/StringDistances.jl")
4530 (commit (string-append "v" version))))
4531 (file-name (git-file-name name version))
4532 (sha256
4533 (base32 "0n5707wplbibzhhv1xmshvc025d7xk6mnikclc3hvq5cdc0gy9f7"))))
4534 (build-system julia-build-system)
4535 (propagated-inputs
8394619b 4536 (list julia-distances))
50255943
EF
4537 (home-page "https://github.com/matthieugomez/StringDistances.jl")
4538 (synopsis "String Distances in Julia")
4539 (description "This package provides string distances in Julia. Distances
4540are defined for @code{AbstractStrings}, and any iterator that define
4541@code{length()}. The package also defines Distance \"modifiers\" that can be
4542applied to any distance.")
4543 (license license:expat)))
4544
03f6a44c
EF
4545(define-public julia-structarrays
4546 (package
4547 (name "julia-structarrays")
4548 (version "0.6.3")
4549 (source
4550 (origin
4551 (method git-fetch)
4552 (uri (git-reference
4553 (url "https://github.com/JuliaArrays/StructArrays.jl")
4554 (commit (string-append "v" version))))
4555 (file-name (git-file-name name version))
4556 (sha256
4557 (base32 "0rjcpyjwzg70n87q5r9c5i1qzigavncslxssm3rk5a3y549py56v"))))
4558 (build-system julia-build-system)
eb4f1fcf 4559 (arguments
4560 `(#:phases
4561 ,@(if (target-64bit?)
4562 '(%standard-phases)
4563 '((modify-phases %standard-phases
4564 (add-after 'unpack 'fix-tests-int32-i686
4565 (lambda _
4566 (substitute* '("src/utils.jl"
4567 "test/runtests.jl")
4568 (("Int64") "Int32")))))))))
03f6a44c 4569 (propagated-inputs
8394619b 4570 (list julia-dataapi julia-staticarrays julia-tables))
03f6a44c 4571 (native-inputs
8394619b
LC
4572 (list julia-documenter julia-offsetarrays julia-pooledarrays
4573 julia-typedtables julia-weakrefstrings))
03f6a44c
EF
4574 (home-page "https://github.com/JuliaArrays/StructArrays.jl")
4575 (synopsis "Efficient implementation of struct arrays in Julia")
4576 (description "This package introduces the type @code{StructArray} which is
4577an @code{AbstractArray} whose elements are @code{struct} (for example
4578@code{NamedTuples}, or @code{ComplexF64}, or a custom user defined
4579@code{struct}). While a @code{StructArray} iterates @code{structs}, the layout
4580is column based (meaning each field of the @code{struct} is stored in a separate
4581@code{Array}).")
4582 (license license:expat)))
4583
adb3d879
EF
4584(define-public julia-structtypes
4585 (package
4586 (name "julia-structtypes")
4587 (version "1.7.2")
4588 (source
4589 (origin
4590 (method git-fetch)
4591 (uri (git-reference
4592 (url "https://github.com/JuliaData/StructTypes.jl")
4593 (commit (string-append "v" version))))
4594 (file-name (git-file-name name version))
4595 (sha256
4596 (base32 "02mn4kkhn3927dk7945c9bjwlldihydxgn5ilmqqvs8dknvbw8p1"))))
4597 (build-system julia-build-system)
4598 (home-page "https://juliadata.github.io/StructTypes.jl/stable/")
4599 (synopsis "Abstract definitions and convenience methods for Julia objects")
4600 (description "This package provides the @code{StructTypes.StructType} trait
4601for Julia types to declare the kind of \"struct\" they are, providing
4602serialization/deserialization packages patterns and strategies to automatically
4603construct objects.")
4604 (license license:expat)))
4605
ef9a5521
EF
4606(define-public julia-suppressor
4607 (package
4608 (name "julia-suppressor")
4609 (version "0.2.0")
4610 (source
4611 (origin
4612 (method git-fetch)
4613 (uri (git-reference
4614 (url "https://github.com/JuliaIO/Suppressor.jl")
4615 (commit (string-append "v" version))))
4616 (file-name (git-file-name name version))
4617 (sha256
4618 (base32 "0v6pxvf8lzrqjc676snvlszh14ridl442g2h6syfjiy75pk7mdyc"))))
4619 (build-system julia-build-system)
4620 (home-page "https://github.com/JuliaIO/Suppressor.jl")
4621 (synopsis "Capture stdout and sterr")
4622 (description "Julia macros for suppressing and/or capturing output (stdout),
4623warnings (stderr) or both streams at the same time.")
4624 (license license:expat)))
4625
40a7da2b
EF
4626(define-public julia-tableiointerface
4627 (package
4628 (name "julia-tableiointerface")
4629 (version "0.1.6")
4630 (source
4631 (origin
4632 (method git-fetch)
4633 (uri (git-reference
4634 (url "https://github.com/lungben/TableIOInterface.jl")
4635 (commit (string-append "v" version))))
4636 (file-name (git-file-name name version))
4637 (sha256
4638 (base32 "0p2fi9jbyfg2j6rysv4if7dx8qw2mssb04i75j1zq607j8707kvn"))))
4639 (build-system julia-build-system)
4640 (home-page "https://github.com/lungben/TableIOInterface.jl")
4641 (synopsis "File formats based on file extensions")
4642 (description "This package determines tabular file formats based on file
4643extensions. It is intended to be the base both for @code{TableIO.jl} and for
4644the @code{Pluto.jl} tabular data import functionality.")
4645 (license license:expat)))
4646
2bd2406c
EF
4647(define-public julia-tables
4648 (package
4649 (name "julia-tables")
9fe69d78 4650 (version "1.4.4")
2bd2406c
EF
4651 (source
4652 (origin
4653 (method git-fetch)
4654 (uri (git-reference
4655 (url "https://github.com/JuliaData/Tables.jl")
4656 (commit (string-append "v" version))))
4657 (file-name (git-file-name name version))
4658 (sha256
9fe69d78 4659 (base32 "1sqqagzqvav8b1rv5ywwbgy9ixvlmipq95fkwfwn0m8769i8jwzb"))))
2bd2406c
EF
4660 (build-system julia-build-system)
4661 (propagated-inputs
8394619b
LC
4662 (list julia-dataapi julia-datavalueinterfaces
4663 julia-iteratorinterfaceextensions julia-tabletraits))
2bd2406c 4664 (native-inputs
8394619b 4665 (list julia-datavalues julia-queryoperators))
2bd2406c
EF
4666 (home-page "https://github.com/JuliaData/Tables.jl")
4667 (synopsis "Interface for tables in Julia")
4668 (description "The @code{Tables.jl} package provides simple, yet powerful
4669interface functions for working with all kinds tabular data.")
4670 (license license:expat)))
4671
a61e13f7
EF
4672(define-public julia-tableshowutils
4673 ;; The 0.2.5 release is not fully compatable with newer versions of Julia.
4674 (let ((commit "c4e02d8b9bbb31fc81ed6618955e9b1c7cb04460")
4675 (revision "1"))
4676 (package
4677 (name "julia-tableshowutils")
4678 (version "0.2.5")
4679 (source
4680 (origin
4681 (method git-fetch)
4682 (uri (git-reference
4683 (url "https://github.com/queryverse/TableShowUtils.jl")
4684 (commit commit)))
4685 (file-name (git-file-name name version))
4686 (sha256
4687 (base32 "0gp3hpj3jvzfhkp9r345vfic2j2n2s60729wv38hwn75csp74cg5"))))
4688 (build-system julia-build-system)
4689 (propagated-inputs
8394619b 4690 (list julia-datavalues julia-json))
a61e13f7
EF
4691 (home-page "https://github.com/queryverse/TableShowUtils.jl")
4692 (synopsis "Implement show for TableTraits.jl types")
4693 (description "This package provides some common helper functions that make
4694it easier to implement various @code{Base.show} functions for types that
4695participate in the @code{TableTraits.jl} ecosystem.")
4696 (license license:expat))))
4697
3f40ba72
EF
4698(define-public julia-tabletraits
4699 (package
4700 (name "julia-tabletraits")
4701 (version "1.0.1")
4702 (source
4703 (origin
4704 (method git-fetch)
4705 (uri (git-reference
4706 (url "https://github.com/queryverse/TableTraits.jl")
4707 (commit (string-append "v" version))))
4708 (file-name (git-file-name name version))
4709 (sha256
4710 (base32 "08ssb2630wm6j8f2qa985mn2vfibfm5kjcn4ayl2qkhfcyp8daw4"))))
4711 (build-system julia-build-system)
4712 (propagated-inputs
8394619b 4713 (list julia-iteratorinterfaceextensions))
3f40ba72
EF
4714 (home-page "https://github.com/queryverse/TableTraits.jl")
4715 (synopsis "Traits for Julia tables")
4716 (description "TableTraits defines a generic interface for tabular data.")
4717 (license license:expat)))
4718
6a2d36c7
EF
4719(define-public julia-tensorcore
4720 (package
4721 (name "julia-tensorcore")
4722 (version "0.1.1")
4723 (source
4724 (origin
4725 (method git-fetch)
4726 (uri (git-reference
4727 (url "https://github.com/JuliaMath/TensorCore.jl")
4728 (commit (string-append "v" version))))
4729 (file-name (git-file-name name version))
4730 (sha256
4731 (base32 "1sy3in4a1rl3l2vk0cm9mzg2nkva7syhr7i35si0kbzhkdwpbqjy"))))
4732 (build-system julia-build-system)
4733 (home-page "https://github.com/JuliaMath/TensorCore.jl")
4734 (synopsis "Tensor-algebra definitions")
4735 (description "This package is intended as a lightweight foundation for
4736tensor operations across the Julia ecosystem. Currently it exports three
4737operations: @acronym{hadamard, elementwise multiplication}, @acronym{tensor,
4738product preserves all dimensions}, and @acronym{boxdot, contracts neighboring
4739dimensions}.")
4740 (license license:expat)))
4741
6ddeadba
EF
4742(define-public julia-testimages
4743 (package
4744 (name "julia-testimages")
4745 (version "1.5.0")
4746 (source
4747 (origin
4748 (method git-fetch)
4749 (uri (git-reference
4750 (url "https://github.com/JuliaImages/TestImages.jl")
4751 (commit (string-append "v" version))))
4752 (file-name (git-file-name name version))
4753 (sha256
4754 (base32 "1lnfsmx33qspyvxw0cykwh7il8xykjpcw1080sisn95ngz2qhdmy"))))
4755 (build-system julia-build-system)
4756 (arguments
4757 `(#:tests? #f)) ; cycle with ImageMagick.jl
4758 (propagated-inputs
8394619b
LC
4759 (list julia-axisarrays julia-colortypes julia-fileio
4760 julia-offsetarrays julia-stringdistances))
6ddeadba
EF
4761 ;(native-inputs
4762 ; `(("julia-colors" ,julia-colors)
4763 ; ("julia-fixedpointnumbers" ,julia-fixedpointnumbers)
4764 ; ("julia-imagecontrastadjustment" ,julia-imagecontrastadjustment)
4765 ; ("julia-imagemagick" ,julia-imagemagick)
4766 ; ("julia-ometiff" ,julia-ometiff)
4767 ; ("julia-referencetests" ,julia-referencetests)))
4768 (home-page "https://testimages.juliaimages.org/")
4769 (synopsis "Standard test images for Julia")
4770 (description "This package provides a convenient Julia interface for loading
4771standard named test images and example images for the internal usage in
4772@code{JuliaImages}. This can be used in conjunction with the @code{Images}
4773package.")
4774 (license license:expat)))
4775
916c2669
EF
4776(define-public julia-tracker
4777 (package
4778 (name "julia-tracker")
4779 (version "0.2.12")
4780 (source
4781 (origin
4782 (method git-fetch)
4783 (uri (git-reference
4784 (url "https://github.com/FluxML/Tracker.jl")
4785 (commit (string-append "v" version))))
4786 (file-name (git-file-name name version))
4787 (sha256
7975a64b
EF
4788 (base32 "1s4mdywbp7nli7z985fqaj1rs4i6d92b1jx3lhg0qhk1s5wc0v8j"))
4789 (patches (search-patches "julia-tracker-16-compat.patch"))))
916c2669
EF
4790 (build-system julia-build-system)
4791 (propagated-inputs
8394619b
LC
4792 (list julia-adapt
4793 julia-diffrules
4794 julia-forwarddiff
4795 julia-macrotools
4796 julia-nanmath
4797 julia-nnlib
4798 julia-requires
4799 julia-specialfunctions))
916c2669 4800 (native-inputs
8394619b 4801 (list julia-pdmats))
916c2669
EF
4802 (home-page "https://github.com/FluxML/Tracker.jl")
4803 (synopsis "Operator overloading reverse-mode automatic differentiator")
4804 (description "@code{Tracker.jl} previously provided @code{Flux.jl} with
4805automatic differentiation for its machine learning platform.")
4806 (license license:expat)))
4807
dfd7e821 4808(define-public julia-transcodingstreams
4809 (package
4810 (name "julia-transcodingstreams")
4811 (version "0.9.6")
4812 (source
4813 (origin
4814 (method git-fetch)
4815 (uri (git-reference
4816 (url "https://github.com/JuliaIO/TranscodingStreams.jl")
4817 (commit (string-append "v" version))))
4818 (file-name (git-file-name name version))
4819 (sha256
4820 (base32 "1w3klii293caqiclfh28jggv7f53xclm9fr6xmw38brwrn1hjb48"))))
4821 (build-system julia-build-system)
4822 (arguments
4823 `(#:tests? #f)) ; Circular dependency with various codecs.
4824 (home-page "https://github.com/JuliaIO/TranscodingStreams.jl")
4825 (synopsis "Fast I/O transcoding data streams")
4826 (description "This package provides tools for transcoding data streams
4827which are:
4828@itemize
4829@item fast: small overhead and specialized methods
4830@item consistent: basic I/O operations work as expected
4831@item generic: support any I/O objects like files, buffers, pipes, etc.
4832@item extensible: easy definition for new codec to transcode data
4833@end itemize")
4834 (license license:expat)))
4835
adedfd07
EF
4836(define-public julia-typedtables
4837 (package
4838 (name "julia-typedtables")
6bf32d13 4839 (version "1.4.0")
adedfd07
EF
4840 (source
4841 (origin
4842 (method git-fetch)
4843 (uri (git-reference
4844 (url "https://github.com/JuliaData/TypedTables.jl")
4845 (commit (string-append "v" version))))
4846 (file-name (git-file-name name version))
4847 (sha256
6bf32d13 4848 (base32 "0nk6zhqvl2r8yhjdhb59kxq0srd3vy4ysg4d8rszj9a43dnn3w3i"))))
adedfd07
EF
4849 (build-system julia-build-system)
4850 (propagated-inputs
8394619b 4851 (list julia-adapt julia-splitapplycombine julia-tables))
adedfd07
EF
4852 (home-page "https://github.com/JuliaData/TypedTables.jl")
4853 (synopsis "Column-based storage for data analysis in Julia")
4854 (description "@code{TypedTables.jl} provides two column-based storage
4855containers: @code{Table} and @code{FlexTable}, both of which represent an array
4856of @code{NamedTuples}. This package is designed to be lightweight, easy-to-use
4857and fast, and presents a very minimal new interface to learn.")
4858 (license license:expat)))
4859
c1f7692f
EF
4860(define-public julia-unpack
4861 (package
4862 (name "julia-unpack")
4863 (version "1.0.2")
4864 (source
4865 (origin
4866 (method git-fetch)
4867 (uri (git-reference
4868 (url "https://github.com/mauro3/UnPack.jl")
4869 (commit (string-append "v" version))))
4870 (file-name (git-file-name name version))
4871 (sha256
4872 (base32 "066v1px72zidnvhl0rczhh07rcfwvli0jx5nprrgyi1dvj3mps2a"))))
4873 (build-system julia-build-system)
4874 (home-page "https://github.com/mauro3/UnPack.jl")
4875 (synopsis "Pack and Unpack macros for Julia")
4876 (description "The @code{@@unpack} and @code{@@pack!} macros work to unpack
4877types, modules, and dictionaries.")
4878 (license license:expat)))
4879
8f59a9fb 4880(define-public julia-uris
4881 (package
4882 (name "julia-uris")
8af35997 4883 (version "1.3.0")
8f59a9fb 4884 (source
4885 (origin
4886 (method git-fetch)
4887 (uri (git-reference
4888 (url "https://github.com/JuliaWeb/URIs.jl")
4889 (commit (string-append "v" version))))
4890 (file-name (git-file-name name version))
4891 (sha256
8af35997 4892 (base32 "0kp4hg3kknkm2smlcizqfd33l9x4vkahc2714gnbjp39fj285b92"))))
8f59a9fb 4893 (build-system julia-build-system)
4894 (arguments
4895 '(#:julia-package-name "URIs" ;required to run tests
3af351a7 4896 #:julia-package-uuid "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
8f59a9fb 4897 #:phases
4898 (modify-phases %standard-phases
4899 (add-before 'check 'change-dir
4900 ;; Tests must be run from the testdir
4901 (lambda* (#:key source outputs #:allow-other-keys)
4902 (let ((out (assoc-ref outputs "out")))
4903 (chdir
3af351a7 4904 (string-append out "/share/julia/loadpath/URIs/test")))
8f59a9fb 4905 #t)))))
4906 ;; required for tests
8394619b 4907 (inputs (list julia-json))
8f59a9fb 4908 (home-page "https://github.com/JuliaWeb/URIs.jl")
4909 (synopsis "URI parsing in Julia")
4910 (description "@code{URIs.jl} is a Julia package that allows parsing and
4911working with @acronym{URIs,Uniform Resource Identifiers}, as defined in RFC
49123986.")
4913 (license license:expat)))
a8e3be6a 4914
4915(define-public julia-unitful
4916 (package
4917 (name "julia-unitful")
f6bc4657 4918 (version "1.9.0")
a8e3be6a 4919 (source
4920 (origin
4921 (method git-fetch)
4922 (uri (git-reference
4923 (url "https://github.com/PainterQubits/Unitful.jl")
4924 (commit (string-append "v" version))))
4925 (file-name (git-file-name name version))
4926 (sha256
f6bc4657 4927 (base32 "10qwscd15dnmvx116dwvg99m7kmwgmj5ahdkq7psiq48lcc554gq"))))
a8e3be6a 4928 (build-system julia-build-system)
9b48948a 4929 (arguments
4930 `(#:parallel-tests? #f))
a8e3be6a 4931 (propagated-inputs
8394619b 4932 (list julia-constructionbase))
a8e3be6a 4933 (home-page "https://painterqubits.github.io/Unitful.jl/stable/")
4934 (synopsis "Physical units in Julia")
4935 (description "This package supports SI units and also many other unit
4936system.")
4937 (license license:expat)))
568cebc2 4938
34ab622d
EF
4939(define-public julia-versionparsing
4940 (package
4941 (name "julia-versionparsing")
4942 (version "1.2.0")
4943 (source
4944 (origin
4945 (method git-fetch)
4946 (uri (git-reference
4947 (url "https://github.com/JuliaInterop/VersionParsing.jl")
4948 (commit (string-append "v" version))))
4949 (file-name (git-file-name name version))
4950 (sha256
4951 (base32 "060s72dsnpavgilf7f7315lw2sn4npk8lkndmj6bg7i23hppiwva"))))
4952 (build-system julia-build-system)
4953 (home-page "https://github.com/JuliaInterop/VersionParsing.jl")
4954 (synopsis "Flexible VersionNumber parsing in Julia")
4955 (description "The @code{VersionParsing} package implements flexible parsing
4956of version-number strings into Julia's built-in @code{VersionNumber} type, via
4957the @code{vparse(string)} function. Unlike the @code{VersionNumber(string)}
4958constructor, @code{vparse(string)} can handle version-number strings in a much
4959wider range of formats than are encompassed by the semver standard. This is
4960useful in order to support @code{VersionNumber} comparisons applied to
4961\"foreign\" version numbers from external packages.")
4962 (license license:expat)))
4963
f34f8a3d
EF
4964(define-public julia-weakrefstrings
4965 (package
4966 (name "julia-weakrefstrings")
4707ab2f 4967 (version "1.1.0")
f34f8a3d
EF
4968 (source
4969 (origin
4970 (method git-fetch)
4971 (uri (git-reference
4972 (url "https://github.com/JuliaData/WeakRefStrings.jl")
4973 (commit (string-append "v" version))))
4974 (file-name (git-file-name name version))
4975 (sha256
4707ab2f 4976 (base32 "14h1vdnc3rx87w6v2rr59lgb4kai2hd1wzqpxhmzsi8karg2z219"))))
f34f8a3d
EF
4977 (build-system julia-build-system)
4978 (propagated-inputs
8394619b 4979 (list julia-dataapi julia-parsers))
f34f8a3d
EF
4980 (home-page "https://github.com/JuliaData/WeakRefStrings.jl")
4981 (synopsis "Efficient string representation and transfer in Julia")
4982 (description "This package provides a minimal String type for Julia that
4983allows for efficient string representation and transfer")
4984 (license license:expat)))
4985
20b79fed
EF
4986(define-public julia-woodburymatrices
4987 (package
4988 (name "julia-woodburymatrices")
4989 (version "0.5.3")
4990 (source
4991 (origin
4992 (method git-fetch)
4993 (uri (git-reference
4994 (url "https://github.com/timholy/WoodburyMatrices.jl")
4995 (commit (string-append "v" version))))
4996 (file-name (git-file-name name version))
4997 (sha256
4998 (base32 "04yykivi8zrbryxlmb0p5xa6lma8iq22r5s863117dnnqj5gaffd"))))
4999 (build-system julia-build-system)
630824a2 5000 (arguments
5001 `(#:phases
5002 ,@(if (target-x86-32?)
5003 '((modify-phases %standard-phases
5004 (add-after 'unpack 'remove-failing-test-i686
5005 (lambda _
5006 (substitute* "test/woodbury.jl"
5007 (("@test logdet\\(W\\)")
5008 "@test_broken logdet(W)"))))))
5009 '(%standard-phases))))
20b79fed
EF
5010 (home-page "https://github.com/timholy/WoodburyMatrices.jl")
5011 (synopsis "Support for the Woodbury matrix identity for Julia")
5012 (description "This package provides support for the Woodbury matrix identity
5013for the Julia programming language. This is a generalization of the
5014Sherman-Morrison formula. Note that the Woodbury matrix identity is notorious
5015for floating-point roundoff errors, so be prepared for a certain amount of
5016inaccuracy in the result.")
5017 (license license:expat)))
5018
ddcc5d43
EF
5019(define-public julia-zipfile
5020 (package
5021 (name "julia-zipfile")
5022 (version "0.9.3")
5023 (source
5024 (origin
5025 (method git-fetch)
5026 (uri (git-reference
5027 (url "https://github.com/fhs/ZipFile.jl")
5028 (commit (string-append "v" version))))
5029 (file-name (git-file-name name version))
5030 (sha256
5031 (base32
5032 "15bm3ki5mb9nvqs2byznrryq0bilnjcvsfy3k05hxhk9vapilw7k"))))
5033 (build-system julia-build-system)
5034 (propagated-inputs
8394619b 5035 (list julia-zlib-jll))
ddcc5d43
EF
5036 (home-page "https://github.com/fhs/ZipFile.jl")
5037 (synopsis "Read/Write ZIP archives in Julia")
5038 (description "This module provides support for reading and writing ZIP
5039archives in Julia.")
5040 (license license:expat)))
5041
568cebc2 5042(define-public julia-zygoterules
5043 (package
5044 (name "julia-zygoterules")
5045 (version "0.2.1")
5046 (source
5047 (origin
5048 (method git-fetch)
5049 (uri (git-reference
5050 (url "https://github.com/FluxML/ZygoteRules.jl")
5051 (commit (string-append "v" version))))
5052 (file-name (git-file-name name version))
5053 (sha256
5054 (base32 "07i2mf6rr5b8i6l82qgwl5arsb5pwyyzyfasgnszhdqllk9501bs"))))
5055 (build-system julia-build-system)
5056 (propagated-inputs
8394619b 5057 (list julia-macrotools))
568cebc2 5058 (home-page "https://github.com/FluxML/ZygoteRules.jl")
5059 (synopsis "Add minimal custom gradients to Zygote")
5060 (description "Minimal package which enables to add custom gradients to
5061Zygote, without depending on Zygote itself.")
5062 (license license:expat)))
13f7f06c 5063
5064(define-public julia-zygote
5065 (package
5066 (name "julia-zygote")
8d787994 5067 (version "0.6.17")
13f7f06c 5068 (source
5069 (origin
5070 (method git-fetch)
5071 (uri (git-reference
5072 (url "https://github.com/FluxML/Zygote.jl")
5073 (commit (string-append "v" version))))
5074 (file-name (git-file-name name version))
5075 (sha256
8d787994 5076 (base32 "1cx66sp30s34ln6p0fpqk1ggjxfxg2gp8791zz3cl85dmk4dl14b"))))
13f7f06c 5077 (build-system julia-build-system)
5078 (arguments
5079 `(#:tests? #f)) ;require CUDA, not packaged yet
5080 (propagated-inputs
5081 `(("julia-abstractffs" ,julia-abstractffts)
5082 ("julia-chainrules" ,julia-chainrules)
5083 ("julia-diffrules" ,julia-diffrules)
5084 ("julia-fillarrays" ,julia-fillarrays)
5085 ("julia-forwarddiff" ,julia-forwarddiff)
5086 ("julia-irtools" ,julia-irtools)
5087 ("julia-macrotools" ,julia-macrotools)
5088 ("julia-nanmath" ,julia-nanmath)
5089 ("julia-requires" ,julia-requires)
5090 ("julia-specialfunctions" ,julia-specialfunctions)
5091 ("julia-zygote-rules" ,julia-zygoterules)))
5092 (home-page "https://fluxml.ai/Zygote.jl")
5093 (synopsis "Automatic differentiation in Julia")
5094 (description "Zygote provides source-to-source automatic
5095differentiation (AD) in Julia, and is the next-generation AD system for the
5096Flux differentiable programming framework.")
5097 (license license:expat)))