gnu: julia-xyz: Adjust style using G-expressions.

* gnu/packages/julia-xyz.scm: Adjust style using G-expressions.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
zimoun 2022-02-23 14:47:04 +01:00 committed by Efraim Flashner
parent a53f4b6f16
commit 637e677140
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -139,7 +139,7 @@ (define-public julia-aqua
(base32 "1g0kyzcdykgs247j72jpc2qqall696jwgb3hnn4cxmbi8bkf7wpk"))))
(build-system julia-build-system)
(arguments
`(#:parallel-tests? #f))
(list #:parallel-tests? #f))
(home-page "https://github.com/JuliaTesting/Aqua.jl")
(synopsis "Automated quality assurance for Julia packages")
(description "@acronym{Aqua.jl, Auto QUality Assurance for Julia packages},
@ -165,7 +165,7 @@ (define-public julia-arrayinterface
;; Expression: @inferred(ArrayInterface.size(Rnr)) === (StaticInt(4),)
;; Evaluated: (static(2),) === (static(4),)
;; Disable as stopgap.
`(#:tests? ,(not (target-x86-32?))))
(list #:tests? (not (target-x86-32?))))
(propagated-inputs
(list julia-ifelse
julia-requires
@ -335,9 +335,10 @@ (define-public julia-benchmarktools
(base32 "1xz3kdrphp4b158pg7dwkiry49phs2fjjpdvk1hjpww5ykxacks8"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-x86-32?)
'((modify-phases %standard-phases
(list
#:phases
(if (target-x86-32?)
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-tests-i686
(lambda _
(substitute* "test/GroupsTests.jl"
@ -351,8 +352,8 @@ (define-public julia-benchmarktools
(substitute* "test/ExecutionTests.jl"
;; Evaluated: 12 == 8
(("@test @ballocated\\(Ref\\(1\\)\\)")
"@test_broken @ballocated(Ref(1))"))))))
'(%standard-phases))))
"@test_broken @ballocated(Ref(1))")))))
#~%standard-phases)))
(propagated-inputs
(list julia-json))
(home-page "https://github.com/JuliaCI/BenchmarkTools.jl")
@ -405,8 +406,9 @@ (define-public julia-bioalignments
(base32 "1wf6qgsada59r2fykxfj9hcr635wl8maqxbd3w8qpa01k9glxa0k"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-test
(lambda _
;; Test fails because an unexpected type representation from
@ -498,8 +500,9 @@ (define-public julia-biosymbols
(base32 "1222rwdndi777lai8a6dwrh35i5rgmj75kcrhn8si72sxgz0syjm"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'adjust-tests
(lambda _
(substitute* "test/runtests.jl"
@ -528,14 +531,15 @@ (define-public julia-blockarrays
(base32 "1by26036fk9mawmcgqxpwizgbs398v9p6vrbsgg7h6llqn3q9iw1"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-64bit?)
'(%standard-phases)
'((modify-phases %standard-phases
(list
#:phases
(if (target-64bit?)
#~%standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests-int32-i686
(lambda _
(substitute* "test/test_blockarrays.jl"
(("Int64") "Int32")))))))))
(("Int64") "Int32"))))))))
(propagated-inputs
(list julia-arraylayouts
julia-fillarrays))
@ -627,7 +631,8 @@ (define-public julia-bufferedstreams
;; freeze, see
;; https://travis-ci.org/BioJulia/BufferedStreams.jl/jobs/491050182
(arguments
'(#:tests? #f
(list
#:tests? #f
#:julia-package-name "BufferedStreams"
#:julia-package-uuid "e1450e63-4bb3-523b-b2a4-4ffa8c0fd77d"))
(propagated-inputs
@ -815,8 +820,9 @@ (define-public julia-codeczlib
(base32 "0xm603nylkwk4bzx66zv1g3syzrvn3jh9spdx7kvcvgszzyrrgh4"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'reset-gzip-timestamps 'make-files-writable
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@ -1015,8 +1021,9 @@ (define-public julia-configurations
(base32 "1b23p0zk8dx2sf01cnw177mqci7qd81b9s32ixz9clsh0r0icl1b"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'fix-tests
(lambda _
(substitute* "test/runtests.jl"
@ -1030,7 +1037,7 @@ (define-public julia-configurations
(substitute* "Project.toml"
(("55351af7-c7e9-48d6-89ff-24e801d99491")
"6b7a57c9-7cc1-4fdf-b7f5-e857abae3636"))))
,@(if (target-64bit?)
#$@(if (target-64bit?)
'()
'((add-after 'unpack 'fix-tests-int32-i686
(lambda _
@ -1160,8 +1167,9 @@ (define-public julia-dataframes
(base32 "1bk0amrghgjrkyn1mm4ac23swwbgszl1d0qyl9137qj5zvv9dasp"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-failing-test
(lambda _
;; Tests with non-standard colors.
@ -1220,9 +1228,10 @@ (define-public julia-datastructures
julia-orderedcollections))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-x86-32?)
'((modify-phases %standard-phases
(list
#:phases
(if (target-x86-32?)
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-test-i686
(lambda _
;; The evaluation returns the correct value,
@ -1230,8 +1239,8 @@ (define-public julia-datastructures
;; but, for some reasons, is considered as failed.
(substitute* "test/test_accumulator.jl"
(("@test sprint\\(show,Accumulator\\(1 => 3, 3 => 4\\)\\)")
"@test_broken sprint(show, Accumulator(1 => 3, 3 => 4))"))))))
'(%standard-phases))))
"@test_broken sprint(show, Accumulator(1 => 3, 3 => 4))")))))
#~%standard-phases)))
(home-page "https://github.com/JuliaCollections/DataStructures.jl")
(synopsis "Julia module providing different data structures")
(description "This package implements a variety of data structures,
@ -1275,9 +1284,10 @@ (define-public julia-datavalues
(base32 "15j3hrqq6nazn533bfsvg32xznacbzsl303j1qs48av59ppnvhhv"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f ; Tests need upgrading with newer Julia version.
(list
#:tests? #f ; Tests need upgrading with newer Julia version.
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-known-failing-tests
(lambda _
;; See upstream report:
@ -1354,8 +1364,9 @@ (define-public julia-distances
(base32 "1yqd9wg4z15k42mrp4y14j2x0sq7yrjhm5zpqklrw6w6j1c367ig"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-flakey-tests
(lambda _
;; Some combination of these tests fail nondeterministically
@ -1393,7 +1404,7 @@ (define-public julia-docstringextensions
(base32 "0fy4kfnfacyfmlly6nqxn77dk2gqw80b69zb4m1i0i39zv3cpqfb"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Tests try to read SSL certificates.
(list #:tests? #f)) ; Tests try to read SSL certificates.
(home-page "https://juliadocs.github.io/DocStringExtensions.jl/latest/")
(synopsis "Extensions for Julia's docsystem")
(description "This package provides a collection of useful extensions for
@ -1420,8 +1431,9 @@ (define-public julia-documenter
(base32 "00ai3c24i3fkn5plmavampcxm0ijhwk0v5cn9xwm7rvbjnnvaaam"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'patch-source
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/Deps.jl"
@ -1505,7 +1517,7 @@ (define-public julia-documentertools
(base32 "05p57p8xlkn42m1lv9gq4hl96vp7hpj19d51p828ai1rbpcpi3a6"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Tests require network.
(list #:tests? #f)) ; Tests require network.
(inputs
;; We don't want to propagate the bootstrap version.
;; Cycle with Documenter.jl in later versions.
@ -1604,8 +1616,9 @@ (define-public julia-dualnumbers
(base32 "05vr5wbzqpchnb96b3pmn67x196mbfnkv7r9bdlz3gm56if4awk5"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'adjust-test-suite
(lambda _
(substitute* "test/runtests.jl"
@ -1638,8 +1651,9 @@ (define-public julia-ellipsisnotation
(base32 "0py46kxl702r8pw3v7x4cqllf7yc91b0dr7vb60xh2qi7d6y3jc7"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'adjust-test-suite
(lambda _
(substitute* "test/runtests.jl"
@ -1690,8 +1704,9 @@ (define-public julia-expronicon
(base32 "0h8aaynqlxrkn8575k5vqmhzil4vvxchhf0bcxa6zwawp558gj2y"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-network-tests
(lambda _
(substitute* "test/runtests.jl"
@ -1768,8 +1783,9 @@ (define-public julia-fileio
(base32 "1b18x43i737g5q41n9818xbnc2pgd98q1m6yw3h29yri0clg4gfx"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(delete 'reset-gzip-timestamps)
(add-after 'link-depot 'skip-network-tests
(lambda _
@ -1818,7 +1834,7 @@ (define-public julia-filepathsbase
(base32 "136wm4ik6isrdanmpi4gdr1qw0qhr15i925qzjxbawk5hnyzwng9"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with JLSO.jl
(list #:tests? #f)) ; Cycle with JLSO.jl
(home-page "https://github.com/rofinn/FilePathsBase.jl")
(synopsis "Filesystem path types in Julia")
(description "@code{FilePathsBase.jl} provides a type based approach to
@ -1864,8 +1880,9 @@ (define-public julia-finitediff
(base32 "105f6r0hq97n9mxf1nacmz94dpca66vzqj5p3zh4h0brshmggqnq"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; We don't want to run all the tests; the Downstream tests
@ -1903,16 +1920,17 @@ (define-public julia-finitedifferences
(base32 "09nsf9cgk49yrvprflnhd9h5rrgs280rgj8sad3csghxdx6jqk5c"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-x86-32?)
'((modify-phases %standard-phases
(list
#:phases
(if (target-x86-32?)
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-test-i686
(lambda _
;; Machine Precision incorrectly handled
(substitute* "test/methods.jl"
(("@test central_fdm\\(15, 5, adapt=2\\)\\(exp, 1.0\\)")
"@test_broken central_fdm(15, 5, adapt=2)(exp, 1.0)"))))))
'(%standard-phases))))
"@test_broken central_fdm(15, 5, adapt=2)(exp, 1.0)")))))
#~%standard-phases)))
(inputs
(list julia-benchmarktools))
(propagated-inputs
@ -1940,8 +1958,9 @@ (define-public julia-fixedpointnumbers
(base32 "0j0n40n04q9sk68wh9jq90m6c67k4ws02k41djjzkrqmpzv4rcdi"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'disable-failing-test
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "test/fixed.jl"
@ -2000,7 +2019,7 @@ (define-public julia-forwarddiff
;; Expression: dual_isapprox(FDNUM ^ PRIMAL, exp(PRIMAL * log(FDNUM)))
;; ERROR: LoadError: LoadError: There was an error during testing
;; Disable as stopgap.
`(#:tests? ,(not (target-x86-32?))))
(list #:tests? (not (target-x86-32?))))
(inputs ;required for tests
(list julia-calculus
julia-difftests))
@ -2034,8 +2053,9 @@ (define-public julia-functionwrappers
(base32 "02jilpjr7px6138dx2w7ixricvfgsxqdk84d9dgviranibhnjcxa"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'adjust-tests
(lambda _
(substitute* "test/runtests.jl"
@ -2087,8 +2107,9 @@ (define-public julia-fuzzycompletions
(base32 "07sv88c472n6w4x7diy952igbcfm1s104ysnnvprld83312siw06"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-failing-test
(lambda _
(substitute* "test/runtests.jl"
@ -2114,8 +2135,9 @@ (define-public julia-genericlinearalgebra
(base32 "0ndwypa397z3pwzdgc3s9plaqlqf63g3d4px5pvym5psgr6lnm3l"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'adjust-test-suite
(lambda _
(substitute* "test/runtests.jl"
@ -2145,8 +2167,9 @@ (define-public julia-genericschur
(base32 "12x6lxzxm91y3k6s9dam46dq5hrby5sr0gy0fdfnp0xhjzdy2j0d"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'adjust-test-suite
(lambda _
(substitute* "test/complex.jl"
@ -2182,8 +2205,9 @@ (define-public julia-geometrybasics
(base32 "057j3hjpli3q5b98cqkpi4p10x2k9pyksrz62hjmv1kb5qzdvhsj"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'remove-earcut
(lambda _
(substitute* '("Project.toml"
@ -2194,7 +2218,7 @@ (define-public julia-geometrybasics
(substitute* "test/runtests.jl"
(("@testset.*MetaT and heterogeneous data.*" all)
(string-append all "return\n")))))
,@(if (target-64bit?)
#$@(if (target-64bit?)
'()
'((add-after 'unpack 'fix-tests-int32-i686
(lambda _
@ -2325,8 +2349,9 @@ (define-public julia-http
(base32 "1jsyk3mhnwj4h19cxclx26igdqdrw51fd3k1hgav0nm67dy4cxyk"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'install 'disable-network-tests
(lambda _
(substitute* "test/runtests.jl"
@ -2457,7 +2482,7 @@ (define-public julia-imagebase
(base32 "1n63f2zs6ail9pcl7rzgv3l0z8v1idjsaza3zgvgy7iacxsdpcj2"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with ImageMagick.jl.
(list #:tests? #f)) ; Cycle with ImageMagick.jl.
(propagated-inputs
(list julia-imagecore
julia-reexport))
@ -2488,7 +2513,7 @@ (define-public julia-imagecore
(base32 "0h9m3pl3wic1jrgaqkdifz24cya5vxd3m6qdmm37pxg2y2ii2vcq"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with ImageMagick.jl.
(list #:tests? #f)) ; Cycle with ImageMagick.jl.
(propagated-inputs
(list julia-abstractffts
julia-colors
@ -2530,7 +2555,7 @@ (define-public julia-imageinterminal
(base32 "0bbpzi7bv8jdiggq1wmcn67vnf96qagvwg0fk95s125wy5980xsl"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with ReferenceTests.jl.
(list #:tests? #f)) ; Cycle with ReferenceTests.jl.
(propagated-inputs
(list julia-crayons
julia-imagebase
@ -2568,8 +2593,9 @@ (define-public julia-imagemagick
(base32 "05vzv4jsj3l9pv6yrix28hlw7wnag0mqdfjwv8shn4x71hcfxl1p"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-failing-test
(lambda _
;; These tests try to download from the imagemagick.org
@ -2646,7 +2672,7 @@ (define-public julia-imageshow
(base32 "00wq3ab8y6nyhxwc5lpz9dnslsmcr1vg3cjdkh7wb7k6a8bw98mh"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; cycle with ImageMagick.jl.
(list #:tests? #f)) ; cycle with ImageMagick.jl.
(propagated-inputs
(list julia-fileio
julia-imagebase
@ -2681,7 +2707,7 @@ (define-public julia-imagetransformations
(base32 "0i8gw68hljshsy9wdl5mrpbb31irhmayqyglsxi7jwm88iy9pxhm"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with ImageMagick.jl.
(list #:tests? #f)) ; Cycle with ImageMagick.jl.
(propagated-inputs
(list julia-axisalgorithms
julia-colorvectorspace
@ -2718,7 +2744,8 @@ (define-public julia-indexablebitvectors
(build-system julia-build-system)
;; Package without Project.toml
(arguments
'(#:julia-package-name "IndexableBitVectors"
(list
#:julia-package-name "IndexableBitVectors"
#:julia-package-uuid "1cb3b9ac-1ffd-5777-9e6b-a3d42300664d"))
(home-page "https://github.com/BioJulia/IndexableBitVectors.jl")
(synopsis "Bit vectors operations with extremely fast speed")
@ -2798,8 +2825,9 @@ (define-public julia-infinity
(base32 "1941lwvrdjnrynigzixxin3chpg1ba6xplvcwc89x0f6z658hwmm"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'remove-timezones.jl
(lambda _
(substitute* "test/runtests.jl"
@ -2851,12 +2879,13 @@ (define-public julia-interpolations
(base32 "1236c20k388qlh7k74mhf7hkbn0vf7ss8b1rgh1a6aj0234ayfnc"))))
(build-system julia-build-system)
(arguments
`(#:parallel-tests? #f
(list
#:parallel-tests? #f
;; XXXX: Unexpected failures for i686, e.g.,
;; Got exception outside of a @test
;; OverflowError: 96908232 * 106943408 overflowed for type Int32
;; Disable as stopgap.
#:tests? ,(not (target-x86-32?))))
#:tests? (not (target-x86-32?))))
(propagated-inputs
(list julia-axisalgorithms
julia-offsetarrays
@ -2891,9 +2920,10 @@ (define-public julia-intervalsets
(base32 "0gsz89cd3iygbl5qr389k9vwpg7w1nk0s90g25nsmk34y9hifxag"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-x86-32?)
'((modify-phases %standard-phases
(list
#:phases
(if (target-x86-32?)
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-test-i686
(lambda _
(substitute* "test/runtests.jl"
@ -2902,8 +2932,8 @@ (define-public julia-intervalsets
;; Expression: duration(ClosedInterval(A, B)) ≡ 60
;; Evaluated: 60 ≡ 60
(("@test duration\\(ClosedInterval")
"@test_broken duration(ClosedInterval"))))))
'(%standard-phases))))
"@test_broken duration(ClosedInterval")))))
#~%standard-phases)))
(propagated-inputs
(list julia-ellipsisnotation))
(native-inputs
@ -3183,14 +3213,15 @@ (define-public julia-lazyarrays
(base32 "17rhlrmgfvdw8w62pg32ikr9j4xy2ylr7mx7ar0hnpzryv929rp5"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-64bit?)
'(%standard-phases)
'((modify-phases %standard-phases
(list
#:phases
(if (target-64bit?)
#~%standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests-int32-i686
(lambda _
(substitute* "test/multests.jl"
(("Int64") "Int32")))))))))
(("Int64") "Int32"))))))))
(propagated-inputs
(list julia-arraylayouts
julia-fillarrays
@ -3221,8 +3252,9 @@ (define-public julia-linesearches
(base32 "1qc4la07w6s1xhcyd0hvbnpr31zc1a2ssgyybc8biv5m00g0dnr0"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-optim-tests
(lambda _
(substitute* "test/examples.jl"
@ -3311,14 +3343,15 @@ (define-public julia-mappedarrays
(base32 "0l5adird8m1cmnsxwhzi5hcr7q9bm1rf7a6018zc7kcn2yxdshy3"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-64bit?)
'(%standard-phases)
'((modify-phases %standard-phases
(list
#:phases
(if (target-64bit?)
#~%standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests-int32-i686
(lambda _
(substitute* "test/runtests.jl"
(("Int64") "Int32")))))))))
(("Int64") "Int32"))))))))
(propagated-inputs
(list julia-fixedpointnumbers))
(native-inputs
@ -3350,8 +3383,9 @@ (define-public julia-matrixfactorizations
(base32 "15zvcv2l4iqmjpnqjyx2kry7a85p652nbjy9pj3wq0piksqcz4jb"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-failing-test
(lambda _
;; Tests with math functions are hard.
@ -3385,8 +3419,9 @@ (define-public julia-mbedtls
(base32 "0zjzf2r57l24n3k0gcqkvx3izwn5827iv9ak0lqix0aa5967wvfb"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'install 'disable-network-tests
;; Tries to connect to httpbin.org
(lambda _
@ -3470,10 +3505,11 @@ (define-public julia-media
(build-system julia-build-system)
;; Package without Project.toml
(arguments
'(#:julia-package-name "Media"
(list
#:julia-package-name "Media"
#:julia-package-uuid "e89f7d12-3494-54d1-8411-f7d8b9ae1f27"
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'create-package-toml
(lambda* (#:key julia-package-name julia-package-uuid #:allow-other-keys)
(with-output-to-file "Project.toml"
@ -3599,7 +3635,7 @@ (define-public julia-mosaicviews
(base32 "04fgxghyb7n2ji76xkb1r1fjhzsdbgmp5wsfyyn3yjcsdqbyp8pz"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with ImageCore.jl
(list #:tests? #f)) ; Cycle with ImageCore.jl
(propagated-inputs
(list julia-mappedarrays
julia-paddedviews
@ -3651,9 +3687,10 @@ (define-public julia-mutablearithmetics
(base32 "1isyj8h4nx96cr6892d154v8pw1nhr7mjyz5bd6ffr2mkzb2bq4f"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-x86-32?)
'((modify-phases %standard-phases
(list
#:phases
(if (target-x86-32?)
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-test-i686
(lambda _
(substitute* "test/utilities.jl"
@ -3664,8 +3701,8 @@ (define-public julia-mutablearithmetics
;; Got correct result, please change to @test
;; so @test_broken is not enough.
(("@test n == @allocated f\\(\\)")
" "))))))
'(%standard-phases))))
" ")))))
#~%standard-phases)))
(propagated-inputs
(list julia-offsetarrays))
(home-page "https://github.com/jump-dev/MutableArithmetics.jl")
@ -3742,8 +3779,9 @@ (define-public julia-nnlib
(base32 "16vn5w5274kcywh1xp0zqjk5q10xrk125aznz5av6wifwrvghk8s"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-cuda-tests
(lambda _
(substitute* "test/runtests.jl"
@ -3827,7 +3865,8 @@ (define-public julia-optimtestproblems
(base32 "10h47x5ws42pkqjccimaz0yxfvz41w0yazq6inamfk4lg5g2g3d9"))))
(build-system julia-build-system)
(arguments
`(#:julia-package-name "OptimTestProblems"
(list
#:julia-package-name "OptimTestProblems"
#:julia-package-uuid "cec144fc-5a64-5bc6-99fb-dde8f63e154c"))
(home-page "https://github.com/JuliaNLSolvers/OptimTestProblems.jl")
(synopsis "Collection of optimization test problems")
@ -3874,7 +3913,7 @@ (define-public julia-offsetarrays
(propagated-inputs
(list julia-adapt))
;; CatIndices depends on OffsetArrays, introducing a recursive dependency
(arguments '(#:tests? #f))
(arguments (list #:tests? #f))
(home-page "https://juliaarrays.github.io/OffsetArrays.jl/stable/")
(synopsis "Fortran-like arrays with arbitrary, zero or negative indices")
(description "@code{OffsetArrays.jl} provides Julia users with arrays that
@ -4091,7 +4130,7 @@ (define-public julia-preferences
(base32 "1cail43iqzbi6m9v6981rhz47zf2lcvhs5ds5gdqvc9nx5frghxq"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Tests try to mkdir /.julia
(list #:tests? #f)) ; Tests try to mkdir /.julia
(home-page "https://github.com/JuliaPackaging/Preferences.jl")
(synopsis "Store configuration switches to TOML files")
(description "The @code{Preferences} package provides an integrated way for
@ -4116,8 +4155,9 @@ (define-public julia-prettytables
(base32 "1d1sd87kkwbar3l608h0adzws42cwdrmp1idxx7an6mfqcsdrijw"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-color-tests
(lambda _
(substitute* "test/text_backend.jl"
@ -4150,13 +4190,14 @@ (define-public julia-pycall
"1fj5d1ihnhnm0pl4hbx6hcd2bpdyhm8jiaqah2axsbd069j70saf"))))
(build-system julia-build-system)
(arguments
`(#:imported-modules ((guix build python-build-system)
(list
#:imported-modules `((guix build python-build-system)
,@%julia-build-system-modules)
#:modules ((guix build julia-build-system)
#:modules '((guix build julia-build-system)
(guix build utils)
((guix build python-build-system) #:prefix python:))
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'remove-conda
(lambda _
(substitute* "Project.toml"
@ -4186,7 +4227,7 @@ (define-public julia-pycall
python
(python:python-version python)
python
,(package-version python))))
#$(package-version python))))
#t)))
(add-before 'check 'pre-check
(lambda _
@ -4278,8 +4319,9 @@ (define-public julia-quadmath
(base32 "051biw4b9zni7cmh2f1yzifp1v8wazlfxrdz4p44lyd1wba6379w"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'hardcode-libmath-location
(lambda* (#:key inputs #:allow-other-keys)
(let ((gcclib (assoc-ref inputs "gcc:lib")))
@ -4427,7 +4469,7 @@ (define-public julia-recipespipeline
(base32 "0zq4bzxvq36zr0va6iip3x97mgq5b4fwza8avszx1ryfqm3lg1f7"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with Plots.jl.
(list #:tests? #f)) ; Cycle with Plots.jl.
(propagated-inputs
(list julia-nanmath
julia-plotutils
@ -4457,7 +4499,7 @@ (define-public julia-recursivearraytools
(base32 "0vx8ndxrii53na7jsc2lki47wfpi77rn3y2r6xhiysx1qwr14msf"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with OrdinaryDiffEq.jl.
(list #:tests? #f)) ; Cycle with OrdinaryDiffEq.jl.
(propagated-inputs
(list julia-arrayinterface
julia-chainrulescore
@ -4512,7 +4554,7 @@ (define-public julia-referencetests
(base32 "0mm6bjhs8a21pippww6b08b5frmnb9m6k8xrszrwq9zhc879zpc9"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Cycle with ImageCore.jl through ImageMagick.jl.
(list #:tests? #f)) ; Cycle with ImageCore.jl through ImageMagick.jl.
(propagated-inputs
(list julia-deepdiffs
julia-distances
@ -4550,7 +4592,7 @@ (define-public julia-requires
(base32 "03hyfy7c0ma45b0y756j76awi3az2ii4bz4s8cxm3xw9yy1z7b01"))))
(build-system julia-build-system)
(arguments
`(#:parallel-tests? #f))
(list #:parallel-tests? #f))
(inputs ;required for test
(list julia-example))
(propagated-inputs
@ -4582,7 +4624,7 @@ (define-public julia-reversediff
;; Expression: hash(tr_float, hash(1)) === hash(v_float, hash(1))
;; MethodError: no method matching decompose(::ReverseDiff.TrackedReal{Float64, Float64, Nothing})
;; Disable as stopgap.
`(#:tests? ,(not (target-x86-32?))))
(list #:tests? (not (target-x86-32?))))
(propagated-inputs
(list julia-diffresults
julia-diffrules
@ -4680,7 +4722,8 @@ (define-public julia-safetestsets
(base32 "1fb1dfdmiw2ggx60hf70954xlps0r48fcb3k3dvxynlz7ylphp96"))))
(build-system julia-build-system)
(arguments
`(#:julia-package-name "SafeTestsets"
(list
#:julia-package-name "SafeTestsets"
#:julia-package-uuid "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"))
(native-inputs
(list julia-staticarrays))
@ -4751,7 +4794,7 @@ (define-public julia-scratch
"09xni9rrrax17fxjz04j1b48mk9ffww5rcbagh66jklr89mrkqhx"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Test suite tries to access the Julia package registry.
(list #:tests? #f)) ; Test suite tries to access the Julia package registry.
(home-page "https://github.com/JuliaPackaging/Scratch.jl")
(synopsis "Scratch spaces for all your persistent mutable data needs")
(description "This repository implements the scratch spaces API for
@ -4872,7 +4915,7 @@ (define-public julia-sortingalgorithms
(base32 "173x77a80xnh99viqa3r7rgdaksvxaw8xyfqw09gwvp4p2zrxivb"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; cycle with StatsBase.jl
(list #:tests? #f)) ; cycle with StatsBase.jl
(propagated-inputs
(list julia-datastructures))
;(native-inputs
@ -4976,8 +5019,9 @@ (define-public julia-stackviews
(base32 "1fwiaxdpx1z9dli3jr8kyraych0jbdiny3qklynf0r13px25r6i7"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'link-depot 'skip-doctest
(lambda _
(substitute* "test/runtests.jl"
@ -5141,8 +5185,9 @@ (define-public julia-stringencodings
(base32 "1qwc5ll68ng80b5921ww6fvifxbsmiylakfgsbsjbzg7lzyb5i67"))))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-failing-test
(lambda _
;; https://github.com/JuliaStrings/StringEncodings.jl/issues/49
@ -5173,15 +5218,16 @@ (define-public julia-structarrays
(base32 "0rjcpyjwzg70n87q5r9c5i1qzigavncslxssm3rk5a3y549py56v"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-64bit?)
'(%standard-phases)
'((modify-phases %standard-phases
(list
#:phases
(if (target-64bit?)
#~%standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests-int32-i686
(lambda _
(substitute* '("src/utils.jl"
"test/runtests.jl")
(("Int64") "Int32")))))))))
(("Int64") "Int32"))))))))
(propagated-inputs
(list julia-dataapi
julia-staticarrays
@ -5379,7 +5425,7 @@ (define-public julia-testimages
(base32 "1lnfsmx33qspyvxw0cykwh7il8xykjpcw1080sisn95ngz2qhdmy"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; cycle with ImageMagick.jl
(list #:tests? #f)) ; cycle with ImageMagick.jl
(propagated-inputs
(list julia-axisarrays
julia-colortypes
@ -5448,7 +5494,7 @@ (define-public julia-transcodingstreams
(base32 "1w3klii293caqiclfh28jggv7f53xclm9fr6xmw38brwrn1hjb48"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ; Circular dependency with various codecs.
(list #:tests? #f)) ; Circular dependency with various codecs.
(home-page "https://github.com/JuliaIO/TranscodingStreams.jl")
(synopsis "Fast I/O transcoding data streams")
(description "This package provides tools for transcoding data streams
@ -5543,10 +5589,11 @@ (define-public julia-uris
(base32 "0kp4hg3kknkm2smlcizqfd33l9x4vkahc2714gnbjp39fj285b92"))))
(build-system julia-build-system)
(arguments
'(#:julia-package-name "URIs" ;required to run tests
(list
#:julia-package-name "URIs" ;required to run tests
#:julia-package-uuid "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-before 'check 'change-dir
;; Tests must be run from the testdir
(lambda* (#:key source outputs #:allow-other-keys)
@ -5578,7 +5625,7 @@ (define-public julia-unitful
(base32 "10qwscd15dnmvx116dwvg99m7kmwgmj5ahdkq7psiq48lcc554gq"))))
(build-system julia-build-system)
(arguments
`(#:parallel-tests? #f))
(list #:parallel-tests? #f))
(propagated-inputs
(list julia-constructionbase))
(home-page "https://painterqubits.github.io/Unitful.jl/stable/")
@ -5650,15 +5697,16 @@ (define-public julia-woodburymatrices
(base32 "04yykivi8zrbryxlmb0p5xa6lma8iq22r5s863117dnnqj5gaffd"))))
(build-system julia-build-system)
(arguments
`(#:phases
,@(if (target-x86-32?)
'((modify-phases %standard-phases
(list
#:phases
(if (target-x86-32?)
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-test-i686
(lambda _
(substitute* "test/woodbury.jl"
(("@test logdet\\(W\\)")
"@test_broken logdet(W)"))))))
'(%standard-phases))))
"@test_broken logdet(W)")))))
#~%standard-phases)))
(home-page "https://github.com/timholy/WoodburyMatrices.jl")
(synopsis "Support for the Woodbury matrix identity for Julia")
(description "This package provides support for the Woodbury matrix identity
@ -5753,7 +5801,7 @@ (define-public julia-zygote
(base32 "1cx66sp30s34ln6p0fpqk1ggjxfxg2gp8791zz3cl85dmk4dl14b"))))
(build-system julia-build-system)
(arguments
`(#:tests? #f)) ;require CUDA, not packaged yet
(list #:tests? #f)) ;require CUDA, not packaged yet
(propagated-inputs
(list julia-abstractffts
julia-chainrules