[PATCH 00/17] Add julia-biosequences and julia-bioalignments

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • zimoun
Owner
unassigned
Submitted by
zimoun
Severity
normal
Z
Z
zimoun wrote on 4 Jan 2022 23:45
(address . guix-patches@gnu.org)(name . zimoun)(address . zimon.toutoune@gmail.com)
20220104224502.1142878-1-zimon.toutoune@gmail.com
Hi,

This series adds two useful packages for bioinformatics.

The first patch sets one inputs per line. It is justified because a) Julia
package name can be long and often similar and b) uniformity helps. For
instance of a)

Toggle snippet (8 lines)
- (list julia-arraylayouts julia-bandedmatrices julia-blockarrays
- julia-fillarrays julia-matrixfactorizations))
+ (list julia-arraylayouts
+ julia-bandedmatrices
+ julia-blockarrays
+ julia-fillarrays

and this first patch does not trigger any rebuild.

The 3 other "adjust style" triggers some rebuild.

The second patch fixes packages without Project.toml file which are then
propagated. Sadly, it implies the rebuild of all Julia packages for only one
problematic package: julia-indexablebitvectors.

Last, the tests of the package julia-biosymbols are still failing and I have
no clue why. Therefore, they are turned off. The package is correct because
used by julia-sequences and julia-alignments, both passing their test suite.

Cheers,
simon


zimoun (17):
gnu: julia-xyz: Adjust style.
build: julia-build-system: Create 'Project.toml' file when missing.
gnu: julia-zygote: Adjust style.
gnu: julia-documentertools: Adjust style.
gnu: julia-documenter: Adjust style.
gnu: Add julia-biogenerics.
gnu: Add julia-indexablebitvectors.
gnu: Add julia-twiddle.
gnu: Add julia-simd.
gnu: Add julia-scanbyte.
gnu: Add julia-automa.
gnu: Add julia-stringencodings.
gnu: Add julia-yaml.
gnu: Add julia-biosymbols.
gnu: Add julia-biosequences.
gnu: Add julia-intervaltrees.
gnu: Add julia-bioalignments.

doc/guix.texi | 19 +-
gnu/packages/julia-xyz.scm | 690 +++++++++++++++++++++++++-----
guix/build/julia-build-system.scm | 33 +-
3 files changed, 607 insertions(+), 135 deletions(-)


base-commit: b9c5dff57ff961a16c8fc24843a4535ea817e732
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 02/17] build: julia-build-system: Create 'Project.toml' file when missing.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-2-zimon.toutoune@gmail.com
* guix/build/julia-build-system.scm (link-depot): Create 'Project.toml' file
when missing using data provided by the user.
(julia-create-package-toml): Remove from export.
* doc/guix.texi (Build Systems): Update julia-build-system section.
---
doc/guix.texi | 19 +++++++++---------
guix/build/julia-build-system.scm | 33 ++++++++++++++++++++-----------
2 files changed, 30 insertions(+), 22 deletions(-)

Toggle diff (120 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index dfb94be74e..603f8dcca3 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -71,7 +71,7 @@ Copyright @copyright{} 2019 Kyle Andrews@*
Copyright @copyright{} 2019 Alex Griffin@*
Copyright @copyright{} 2019, 2020, 2021 Guillaume Le Vaillant@*
Copyright @copyright{} 2020 Liliana Marie Prikler@*
-Copyright @copyright{} 2019, 2020, 2021 Simon Tournier@*
+Copyright @copyright{} 2019, 2020, 2021, 2022 Simon Tournier@*
Copyright @copyright{} 2020 Wiktor ?elazny@*
Copyright @copyright{} 2020 Damien Cassou@*
Copyright @copyright{} 2020 Jakub K?dzio?ka@*
@@ -8363,9 +8363,10 @@ julia} packages, which essentially is similar to running @samp{julia -e
@env{JULIA_LOAD_PATH} contains the paths to all Julia package inputs.
Tests are run by calling @code{/test/runtests.jl}.
-The Julia package name is read from the file @file{Project.toml}. This
-value can be overridden by passing the argument @code{#:julia-package-name}
-(which must be correctly capitalized).
+The Julia package name and uuid is read from the file
+@file{Project.toml}. These values can be overridden by passing the
+argument @code{#:julia-package-name} (which must be correctly
+capitalized) or @code{#:julia-package-uuid}.
Julia packages usually manage their binary dependencies via
@code{JLLWrappers.jl}, a Julia package that creates a module (named
@@ -8393,12 +8394,10 @@ MbedTLS package:
(find-files "src/wrappers/" "\\.jl$"))))
@end lisp
-Some older packages that aren't using @file{Package.toml} yet, will require
-this file to be created, too. The function @code{julia-create-package-toml}
-helps creating the file. You need to pass the outputs and the source of the
-package, its name (the same as the @code{file-name} parameter), the package
-uuid, the package version, and a list of dependencies specified by their name
-and their uuid.
+Some older packages that aren't using @file{Project.toml} yet, will
+require this file to be created, too. It is internally done if the
+arguments @code{#:julia-package-name} and @code{#:julia-package-uuid}
+are provided.
@end defvr
@defvr {Scheme Variable} maven-build-system
diff --git a/guix/build/julia-build-system.scm b/guix/build/julia-build-system.scm
index b4e0044567..03d669be64 100644
--- a/guix/build/julia-build-system.scm
+++ b/guix/build/julia-build-system.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019, 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
-;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -27,8 +27,8 @@ (define-module (guix build julia-build-system)
#:use-module (ice-9 regex)
#:use-module (ice-9 rdelim)
#:use-module (ice-9 popen)
+ #:use-module (srfi srfi-1)
#:export (%standard-phases
- julia-create-package-toml
julia-build))
;; Commentary:
@@ -138,6 +138,8 @@ (define* (check #:key tests? source inputs outputs julia-package-name
(define* (link-depot #:key source inputs outputs
julia-package-name julia-package-uuid #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
+ (name+version (strip-store-file-name out))
+ (version (last (string-split name+version #\-)))
(package-name (or
julia-package-name
(project.toml->name "Project.toml")))
@@ -148,6 +150,14 @@ (define* (link-depot #:key source inputs outputs
println(Base.version_slug(Base.UUID(\"~a\"),
Base.SHA1(Pkg.GitTools.tree_hash(\".\"))))" uuid)))
(slug (string-trim-right (get-string-all pipe))))
+ ;; Few packages do not have the regular Project.toml file, then when they
+ ;; are propagated, dependencies do not find them and an raise error.
+ (unless (file-exists? "Project.toml")
+ (julia-create-package-toml (getcwd)
+ julia-package-name julia-package-uuid
+ version
+ #:file "Project.toml"))
+
;; When installing a package, julia looks first at in the JULIA_DEPOT_PATH
;; for a path like packages/PACKAGE/XXXX
;; Where XXXX is a slug encoding the package UUID and SHA1 of the files
@@ -157,17 +167,16 @@ (define* (link-depot #:key source inputs outputs
(symlink package-dir (string-append out "/share/julia/packages/"
package-name "/" slug))))
-(define (julia-create-package-toml outputs source
- name uuid version
- deps)
- "Some packages are not using the new Package.toml dependency specifications.
-Write this file manually, so that Julia can find its dependencies."
+(define* (julia-create-package-toml location
+ name uuid version
+ #:optional
+ (deps '())
+ #:key
+ (file "Project.toml"))
+ "Some packages are not using the new Project.toml dependency specifications.
+Write this FILE manually, so that Julia can find its dependencies."
(let ((f (open-file
- (string-append
- (assoc-ref outputs "out")
- %package-path
- (string-append
- name "/Project.toml"))
+ (string-append location "/" file)
"w")))
(display (string-append
"
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 03/17] gnu: julia-zygote: Adjust style.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-3-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-zygote)[propagated-inputs]: Remove labels.
---
gnu/packages/julia-xyz.scm | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

Toggle diff (35 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 3701bf3996..e6733fce92 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5213,17 +5213,17 @@ (define-public julia-zygote
(arguments
`(#:tests? #f)) ;require CUDA, not packaged yet
(propagated-inputs
- `(("julia-abstractffs" ,julia-abstractffts)
- ("julia-chainrules" ,julia-chainrules)
- ("julia-diffrules" ,julia-diffrules)
- ("julia-fillarrays" ,julia-fillarrays)
- ("julia-forwarddiff" ,julia-forwarddiff)
- ("julia-irtools" ,julia-irtools)
- ("julia-macrotools" ,julia-macrotools)
- ("julia-nanmath" ,julia-nanmath)
- ("julia-requires" ,julia-requires)
- ("julia-specialfunctions" ,julia-specialfunctions)
- ("julia-zygote-rules" ,julia-zygoterules)))
+ (list julia-abstractffts
+ julia-chainrules
+ julia-diffrules
+ julia-fillarrays
+ julia-forwarddiff
+ julia-irtools
+ julia-macrotools
+ julia-nanmath
+ julia-requires
+ julia-specialfunctions
+ julia-zygoterules))
(home-page "https://fluxml.ai/Zygote.jl")
(synopsis "Automatic differentiation in Julia")
(description "Zygote provides source-to-source automatic
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 04/17] gnu: julia-documentertools: Adjust style.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-4-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-documentertools)[inputs]: Remove label.
[propagated-inputs]: Adjust.
---
gnu/packages/julia-xyz.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Toggle diff (20 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index e6733fce92..928fd39c37 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1310,9 +1310,11 @@ (define-public julia-documentertools
(inputs
;; We don't want to propagate the bootstrap version.
;; Cycle with Documenter.jl in later versions.
- `(("julia-documenter" ,julia-documenter-bootstrap)))
+ (list julia-documenter-bootstrap))
(propagated-inputs
- (list julia-docstringextensions julia-gumbo julia-sass))
+ (list julia-docstringextensions
+ julia-gumbo
+ julia-sass))
(native-inputs
(list julia-example))
(home-page "https://github.com/JuliaDocs/DocumenterTools.jl")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 05/17] gnu: julia-documenter: Adjust style.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-5-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-documenter)[propagated-inputs] Remove labels.
[inputs, native-inputs]: Remove labels.
[arguments]: Remove unnecessary return '#t'.
---
gnu/packages/julia-xyz.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

Toggle diff (43 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 928fd39c37..26a1f31c25 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1228,8 +1228,7 @@ (define-public julia-documenter
(substitute* "src/Deps.jl"
(("pip install")
(string-append (assoc-ref inputs "python")
- "/bin/pip install")))
- #t))
+ "/bin/pip install")))))
(add-after 'link-depot 'remove-javascript-downloads
(lambda _
(substitute* "src/Writers/HTMLWriter.jl"
@@ -1237,17 +1236,18 @@ (define-public julia-documenter
;; Removing the javascript downloads causes these tests fail.
(substitute* "test/examples/tests.jl"
((".*Main\\.examples_html_doc.*") "")
- ((".*Main\\.examples_html_mathjax3_doc.*") ""))
- #t)))))
+ ((".*Main\\.examples_html_mathjax3_doc.*") "")))))))
(propagated-inputs
- (list julia-ansicoloredprinters julia-docstringextensions
- julia-iocapture julia-json))
+ (list julia-ansicoloredprinters
+ julia-docstringextensions
+ julia-iocapture
+ julia-json))
(inputs
- `(("python" ,python-wrapper)))
+ (list python-wrapper))
(native-inputs
- `(("git" ,git-minimal)
- ("julia-documentermarkdown" ,julia-documentermarkdown)
- ("julia-documentertools" ,julia-documentertools)))
+ (list git-minimal
+ julia-documentermarkdown
+ julia-documentertools))
(home-page "https://juliadocs.github.io/Documenter.jl")
(synopsis "Documentation generator for Julia")
(description "This package provides a documentation generator for Julia.")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 01/17] gnu: julia-xyz: Adjust style.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-1-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz: Align all inputs.
---
gnu/packages/julia-xyz.scm | 313 ++++++++++++++++++++++++++-----------
1 file changed, 224 insertions(+), 89 deletions(-)

Toggle diff (446 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 2ad1c4cd5d..3701bf3996 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -166,7 +166,9 @@ (define-public julia-arrayinterface
;; Disable as stopgap.
`(#:tests? ,(not (target-x86-32?))))
(propagated-inputs
- (list julia-ifelse julia-requires julia-static))
+ (list julia-ifelse
+ julia-requires
+ julia-static))
(native-inputs
(list julia-aqua
julia-bandedmatrices
@@ -248,9 +250,12 @@ (define-public julia-axisarrays
(base32 "03kzan1lm4fxfhzv1xjg3ysf6y7nagcc61vfz15kvdrp1dqxlynk"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-rangearrays julia-intervalsets julia-itertools))
+ (list julia-rangearrays
+ julia-intervalsets
+ julia-itertools))
(native-inputs
- (list julia-offsetarrays julia-unitful))
+ (list julia-offsetarrays
+ julia-unitful))
(home-page "http://juliaarrays.github.io/AxisArrays.jl/latest/")
(synopsis "Arrays where each dimension can have a named axis with values")
(description "This package for the Julia language provides an array type
@@ -276,7 +281,8 @@ (define-public julia-bandedmatrices
(base32 "0rlfj9gr9ss621v5kw5b06206yaak21s2vq9vk7r8a7p2ylncism"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-arraylayouts julia-fillarrays))
+ (list julia-arraylayouts
+ julia-fillarrays))
(native-inputs
(list julia-genericlinearalgebra))
(home-page "https://github.com/JuliaMatrices/BandedMatrices.jl")
@@ -318,7 +324,8 @@ (define-public julia-benchmarktools
(("@test @ballocated\\(Ref\\(1\\)\\)")
"@test_broken @ballocated(Ref(1))"))))))
'(%standard-phases))))
- (propagated-inputs (list julia-json))
+ (propagated-inputs
+ (list julia-json))
(home-page "https://github.com/JuliaCI/BenchmarkTools.jl")
(synopsis "Benchmarking framework for the Julia language")
(description "@code{BenchmarkTools.jl} makes performance tracking of Julia
@@ -350,9 +357,12 @@ (define-public julia-blockarrays
(substitute* "test/test_blockarrays.jl"
(("Int64") "Int32")))))))))
(propagated-inputs
- (list julia-arraylayouts julia-fillarrays))
+ (list julia-arraylayouts
+ julia-fillarrays))
(native-inputs
- (list julia-lazyarrays julia-offsetarrays julia-staticarrays))
+ (list julia-lazyarrays
+ julia-offsetarrays
+ julia-staticarrays))
(home-page "https://github.com/JuliaArrays/BlockArrays.jl")
(synopsis "BlockArrays for Julia")
(description "A block array is a partition of an array into blocks or
@@ -383,8 +393,11 @@ (define-public julia-blockbandedmatrices
(base32 "10n1r6kmmv2wa307jfg9y2m6p16j8hngjp3fjavpbdy1r5haasm9"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-arraylayouts julia-bandedmatrices julia-blockarrays
- julia-fillarrays julia-matrixfactorizations))
+ (list julia-arraylayouts
+ julia-bandedmatrices
+ julia-blockarrays
+ julia-fillarrays
+ julia-matrixfactorizations))
(home-page "https://github.com/JuliaMatrices/BlockBandedMatrices.jl")
(synopsis "Block-banded matrices and banded-block-banded matrices")
(description "This package supports representing block-banded and
@@ -437,7 +450,8 @@ (define-public julia-bufferedstreams
'(#:tests? #f
#:julia-package-name "BufferedStreams"
#:julia-package-uuid "e1450e63-4bb3-523b-b2a4-4ffa8c0fd77d"))
- (propagated-inputs (list julia-compat))
+ (propagated-inputs
+ (list julia-compat))
(home-page "https://github.com/BioJulia/BufferedStreams.jl")
(synopsis "Fast composable IO streams")
(description "@code{BufferedStreams.jl} provides buffering for IO
@@ -514,10 +528,14 @@ (define-public julia-chainrules
(base32 "0if93pd3b3scg2x3gmk1cbwjk0ax1n792vy8c38y3xl7jpd5cb70"))))
(build-system julia-build-system)
(inputs ;required for test
- (list julia-chainrulestestutils julia-finitedifferences julia-nanmath
+ (list julia-chainrulestestutils
+ julia-finitedifferences
+ julia-nanmath
julia-specialfunctions))
(propagated-inputs
- (list julia-chainrulescore julia-compat julia-reexport
+ (list julia-chainrulescore
+ julia-compat
+ julia-reexport
julia-requires))
(home-page "https://github.com/JuliaDiff/ChainRules.jl")
(synopsis "Common utilities for automatic differentiation")
@@ -541,7 +559,8 @@ (define-public julia-chainrulescore
(base32 "1866xv30h1bi7f2m993nljzf58wwmv8zlgn6ffn9j3wckch1nfpb"))))
(build-system julia-build-system)
(inputs ;required for tests
- (list julia-benchmarktools julia-staticarrays))
+ (list julia-benchmarktools
+ julia-staticarrays))
(propagated-inputs
(list julia-compat))
(home-page "https://github.com/JuliaDiff/ChainRulesCore.jl")
@@ -565,7 +584,9 @@ (define-public julia-chainrulestestutils
(base32 "1vlkyp72d514gyb4k3yhjl1g7f24ncmz61j56p4sdi9f76rk9fx9"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-chainrulescore julia-compat julia-finitedifferences))
+ (list julia-chainrulescore
+ julia-compat
+ julia-finitedifferences))
(home-page "https://github.com/JuliaDiff/ChainRulesTestUtils.jl")
(synopsis "Common utilities used by downstream automatic differentiation tools")
(description "This package is designed to help in testing
@@ -604,7 +625,8 @@ (define-public julia-codeczlib
(find-files out "\\.gz$"))
#t))))))
(propagated-inputs
- (list julia-zlib-jll julia-transcodingstreams))
+ (list julia-zlib-jll
+ julia-transcodingstreams))
(home-page "https://github.com/JuliaIO/CodecZlib.jl")
(synopsis "Zlib codecs for @code{TranscodingStreams.jl}")
(description "This package provides zlib codecs for
@@ -626,7 +648,9 @@ (define-public julia-colors
(base32 "0kx3hq7rf8p5zx6ly9k5j90zijmc7yrwmy96cgkl2ibdfbnhmya3"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colortypes julia-fixedpointnumbers julia-reexport))
+ (list julia-colortypes
+ julia-fixedpointnumbers
+ julia-reexport))
(home-page "https://github.com/JuliaGraphics/Colors.jl")
(synopsis "Tools for dealing with color")
(description "This package provides a wide array of functions for dealing
@@ -650,7 +674,9 @@ (define-public julia-colorschemes
(base32 "0kpjhmqd5cj8dh8bmh9b5g6bscyp7h23hzpr2s93pnrp57q1wvhq"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colors julia-colortypes julia-fixedpointnumbers
+ (list julia-colors
+ julia-colortypes
+ julia-fixedpointnumbers
julia-staticarrays))
(home-page "https://github.com/JuliaGraphics/ColorSchemes.jl")
(synopsis "Colorschemes, colormaps, gradients, and palettes")
@@ -698,7 +724,9 @@ (define-public julia-colorvectorspace
(base32 "02gk7f5g5wjxdasbjf8bvv1m7clksh7mw1xmygjdirjz1q0d6dwi"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colortypes julia-specialfunctions julia-tensorcore))
+ (list julia-colortypes
+ julia-specialfunctions
+ julia-tensorcore))
(native-inputs
(list julia-colors))
(home-page "https://github.com/JuliaGraphics/ColorVectorSpace.jl")
@@ -810,7 +838,9 @@ (define-public julia-configurations
(substitute* "test/runtests.jl"
(("Int64") "Int32")))))))))
(propagated-inputs
- (list julia-crayons julia-expronicon julia-orderedcollections))
+ (list julia-crayons
+ julia-expronicon
+ julia-orderedcollections))
(home-page "https://configurations.rogerluo.dev/stable/")
(synopsis "Tools for options and configurations in Julia")
(description "@code{Configurations.jl} provides a macro @code{@@option} to
@@ -855,7 +885,9 @@ (define-public julia-coordinatetransformations
(propagated-inputs
(list julia-staticarrays))
(native-inputs
- (list julia-documenter julia-forwarddiff julia-unitful))
+ (list julia-documenter
+ julia-forwarddiff
+ julia-unitful))
(home-page "https://github.com/JuliaGeometry/CoordinateTransformations.jl")
(synopsis "Coordinate transformations in Julia")
(description "@code{CoordinateTransformations} is a Julia package to manage
@@ -985,7 +1017,8 @@ (define-public julia-datastructures
(sha256
(base32 "0hdqp8ipsqdw5bqqkdvz4j6n67x80sj5azr9vzyxwjfsgkfbnk2l"))))
(propagated-inputs
- (list julia-compat julia-orderedcollections))
+ (list julia-compat
+ julia-orderedcollections))
(build-system julia-build-system)
(arguments
`(#:phases
@@ -1136,7 +1169,8 @@ (define-public julia-distances
(propagated-inputs
(list julia-statsapi))
(native-inputs
- (list julia-offsetarrays julia-unitful))
+ (list julia-offsetarrays
+ julia-unitful))
(home-page "https://github.com/JuliaStats/Distances.jl")
(synopsis "Julia package for evaluating distances (metrics) between vectors")
(description "A Julia package for evaluating distances(metrics) between
@@ -1300,9 +1334,9 @@ (define-public julia-diffresults
(file-name (git-file-name name version))
(sha256
(base32 "1w6p3yxajvclax5b9g7cr2jmbc7lvr5nk4gq0aljxdycdq1d2y3v"))))
+ (build-system julia-build-system)
(propagated-inputs
(list julia-staticarrays))
- (build-system julia-build-system)
(home-page "https://github.com/JuliaDiff/DiffResults.jl")
(synopsis "In-place differentiation methods of primal values at multi-order")
(description "This package provides the @code{DiffResult} type, which can
@@ -1322,9 +1356,10 @@ (define-public julia-diffrules
(file-name (git-file-name name version))
(sha256
(base32 "0cwjvj4gma7924fm3yas0nf0jlnwwx4v7fi79ii3s290lkdldzfl"))))
- (propagated-inputs
- (list julia-nanmath julia-specialfunctions))
(build-system julia-build-system)
+ (propagated-inputs
+ (list julia-nanmath
+ julia-specialfunctions))
(home-page "https://github.com/JuliaDiff/DiffRules.jl")
(synopsis "Primitive differentiation rules")
(description "This package provides primitive differentiation rules that
@@ -1376,7 +1411,9 @@ (define-public julia-dualnumbers
;; Seems to not play nicely with SpecialFunctions
((".*isempty.*") "")))))))
(propagated-inputs
- (list julia-calculus julia-nanmath julia-specialfunctions))
+ (list julia-calculus
+ julia-nanmath
+ julia-specialfunctions))
(home-page "https://github.com/JuliaDiff/DualNumbers.jl")
(synopsis "Represent dual numbers and for perform dual algebra")
(description "The @code{DualNumbers} Julia package defines the @code{Dual}
@@ -1506,7 +1543,8 @@ (define-public julia-ffmpeg
(base32 "1ldxbp0kq3ip67x7sp82dz56aq4p5i0chspbgx2zgskr6jcbjj1b"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-ffmpeg-jll julia-x264-jll))
+ (list julia-ffmpeg-jll
+ julia-x264-jll))
(home-page "https://github.com/JuliaIO/FFMPEG.jl")
(synopsis "Julia Package for ffmpeg")
(description "This package is made to be included into packages that just
@@ -1552,7 +1590,9 @@ (define-public julia-fileio
(propagated-inputs
(list julia-requires))
(native-inputs
- (list julia-colortypes julia-filepathsbase julia-http))
+ (list julia-colortypes
+ julia-filepathsbase
+ julia-http))
(home-page "https://github.com/JuliaIO/FileIO.jl")
(synopsis "Main Package for IO, loading all different kind of files")
(description "@code{FileIO} aims to provide a common framework for detecting
@@ -1632,9 +1672,12 @@ (define-public julia-finitediff
(setenv "GROUP" "Core")
#t)))))
(propagated-inputs
- (list julia-arrayinterface julia-requires julia-staticarrays))
+ (list julia-arrayinterface
+ julia-requires
+ julia-staticarrays))
(native-inputs
- (list julia-bandedmatrices julia-blockbandedmatrices
+ (list julia-bandedmatrices
+ julia-blockbandedmatrices
julia-safetestsets))
(home-page "https://github.com/JuliaDiff/FiniteDiff.jl")
(synopsis "Calculations of gradients, Jacobians, and Hessians")
@@ -1672,7 +1715,9 @@ (define-public julia-finitedifferences
(inputs
(list julia-benchmarktools))
(propagated-inputs
- (list julia-chainrulescore julia-richardson julia-staticarrays))
+ (list julia-chainrulescore
+ julia-richardson
+ julia-staticarrays))
(home-page "https://github.com/JuliaDiff/FiniteDifferences.jl")
(synopsis "Estimates derivatives with finite differences")
(description "This package calculates approximate derivatives numerically
@@ -1702,7 +1747,8 @@ (define-public julia-fixedpointnumbers
;; A deprecation warning is not thrown
(("@test_logs.*:warn" all) (string-append "# " all)))
#t)))))
- (propagated-inputs (list julia-compat))
+ (propagated-inputs
+ (list julia-compat))
(home-page "https://github.com/JuliaMath/FixedPointNumbers.jl")
(synopsis "Fixed point types for Julia")
(description "@code{FixedPointNumbers.jl} implements fixed-point number
@@ -1755,7 +1801,8 @@ (define-public julia-forwarddiff
;; Disable as stopgap.
`(#:tests? ,(not (target-x86-32?))))
(inputs ;required for tests
- (list julia-calculus julia-difftests))
+ (list julia-calculus
+ julia-difftests))
(propagated-inputs
(list julia-commonsubexpressions
julia-diffresults
@@ -1953,7 +2000,9 @@ (define-public julia-geometrybasics
(substitute* "test/runtests.jl"
(("Int64") "Int32")))))))))
(propagated-inputs
- (list julia-itertools julia-staticarrays julia-structarrays
+ (list julia-itertools
+ julia-staticarrays
+ julia-structarrays
julia-tables))
(native-inputs
(list julia-offsetarrays))
@@ -2003,7 +2052,8 @@ (define-public julia-graphics
(base32 "10h1s09v7qkvrjr6l678zamb1p248n8jv4rrwkf8g7d2bpfz9amn"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-colors julia-nanmath))
+ (list julia-colors
+ julia-nanmath))
(home-page "https://github.com/JuliaGraphics/Graphics.jl")
(synopsis "Base graphics in Julia")
(description "@code{Graphics.jl} is an abstraction layer for graphical
@@ -2025,7 +2075,8 @@ (define-public julia-gumbo
(base32 "1g22dv3v7caakspv3pdahnqn937fzzsg9y87rj72hid9g8lxl1gm"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-abstracttrees julia-gumbo-jll))
+ (list julia-abstracttrees
+ julia-gumbo-jll))
(home-page "https://github.com/JuliaWeb/Gumbo.jl")
(synopsis "Julia wrapper around Google's gumbo C library for parsing HTML")
(description "@code{Gumbo.jl} is a Julia wrapper around Google's gumbo
@@ -2077,10 +2128,13 @@ (define-public julia-http
(string-append all "return\n")))
#t)))))
(propagated-inputs
- (list julia-inifile julia-mbedtls julia-uris))
+ (list julia-inifile
+ julia-mbedtls
+ julia-uris))
;; required for tests
(inputs
- (list julia-json julia-bufferedstreams))
+ (list julia-json
+ julia-bufferedstreams))
(home-page "https://juliaweb.github.io/HTTP.jl/")
(synopsis "HTTP support for Julia")
(description "@code{HTTP.jl} is a Julia library for HTTP Messages,
@@ -2148,7 +2202,9 @@ (define-public julia-imageaxes
(base32 "15zqxani1jjh8849s7rdps6b6prqdwv8yxx893y536vkpk7i07qd"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-axisarrays julia-imagecore julia-reexport
+ (list julia-axisarrays
+ julia-imagecore
+ julia-reexport
julia-simpletraits))
(native-inputs
(list julia-unitful))
@@ -2176,7 +2232,8 @@ (define-public julia-imagebase
(arguments
`(#:tests? #f)) ; Cycle with ImageMagick.jl.
(propagated-inputs
- (list julia-imagecore julia-reexport))
+ (list julia-imagecore
+ julia-reexport))
;(native-inputs
; `(("julia-imagemagick" ,julia-imagemagick)
; ("julia-offsetarrays" ,julia-offsetarrays)
@@ -2248,7 +2305,10 @@ (define-public julia-imageinterminal
(arguments
`(#:tests? #f)) ; Cycle with ReferenceTests.jl.
(propagated-inputs
- (list julia-crayons julia-imagebase julia-imagecore julia-requires))
+ (list julia-crayons
+ julia-imagebase
+ julia-imagecore
+ julia-requires))
;(native-inputs
; `(("julia-coordinatetransformations" ,julia-coordinatetransformations)
; ("julia-imagemagick" ,julia-imagemagick)
@@ -2294,7 +2354,9 @@ (define-public julia-imagemagick
(("test (B == map)" _ test) (string-append "test_nowarn " test)))
#t)))))
(propagated-inputs
- (list julia-fileio julia-imagecore julia-imagemagick-jll))
+ (list julia-fileio
+ julia-imagecore
+ julia-imagemagick-jll))
(native-inputs
(list julia-colors
julia-colorvectorspace
@@ -2325,10 +2387,14 @@ (define-public julia-imagemetadata
(base32 "0iv154ms370xgcr56bwsjl13iwmy671cbxjl9ld5yfj85pclcwi1"))))
(build-system julia-build-system)
(propagated-inputs
- (list julia-axisarrays julia-imageaxes julia-imagecore
+ (list julia-axisarrays
+ julia-imageaxes
+ julia-imagecore
julia-indirectarrays))
(native-inputs
- (list julia-offsetarrays julia-simpletraits julia-unitful))
+ (list julia-offsetarrays
+ julia-simpletraits
+ julia-unitful))
(home-page "https://github.com/JuliaImages/ImageMetadata.jl")
(synopsis "Julia package for images having metadata")
(description "@code{ImageMetadata} is a simple package providing utilities
@@ -2355,8 +2421,11 @@ (define-public julia-imageshow
(arguments
`(#:tests? #f)) ; cycle with ImageMagick.jl.
(propagated-inputs
- (list julia-fileio julia-imagebase julia-imagecore
- julia-offsetarrays julia-stackviews))
+ (list julia-fileio
+ julia-imagebase
+ julia-imagecore
+ julia-offsetarrays
+ julia-stackviews))
;(native-inputs
; `(("julia-imagedistances" ,julia-imagedistances)
; ("julia-imagemagick" ,julia-imagemagick)
@@ -2442,7 +2511,9 @@ (define-public julia-indirectarrays
(base32 "0l0jq0jnr9z3k431ni82xycq7mqapgxrbrx4yyk6lycvi41ipm4s"))))
(build-system julia-build-system)
(native-inputs
- (list julia-colors julia-fixedpointnumbers julia-mappedarrays))
+ (list julia-colors
+ julia-fixedpointnumbers
+ julia-mappedarrays))
(home-page "https://github.com/JuliaArrays/IndirectArrays.jl")
(synopsis "Julia implementatio
This message was truncated. Download the full message here.
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 07/17] gnu: Add julia-indexablebitvectors.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-7-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-indexablebitvectors): New variable.
---
gnu/packages/julia-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 49bf6ae26f..1508a86dd1 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2503,6 +2503,39 @@ (define-public julia-imagetransformations
rotation, and other spatial transformations of arrays.")
(license license:expat)))
+(define-public julia-indexablebitvectors
+ (package
+ (name "julia-indexablebitvectors")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/IndexableBitVectors.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1khaycydwa31sxwvrrvvlylpzdb77kkxfmb8cax3i22ix0c2nmlc"))))
+ (build-system julia-build-system)
+ ;; Package without Project.toml
+ (arguments
+ '(#: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")
+ (description "This package exports following operations over bit vectors
+with extremely fast speed while keeping extra memory usage small:
+@itemize
+@item @code{getindex(bv::IndexableBitVectors, i::Integer)}: @code{i}-th
+element of @code{bv}
+@item @code{rank(b::Bool, bv::AbstractIndexableBitVector, i::Integer)}: the
+number of occurrences of bit @code{b} in @code{bv[1:i]}
+@item @code{select(b::Bool, bv::AbstractIndexableBitVector, i::Integer)}: the
+index of i-th occurrence of @code{b} in @code{bv}.
+@end itemize
+and other shortcuts or types.")
+ (license license:expat)))
+
(define-public julia-indexing
(package
(name "julia-indexing")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 06/17] gnu: Add julia-biogenerics.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-6-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-biogenerics): New variable.
---
gnu/packages/julia-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 26a1f31c25..49bf6ae26f 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -333,6 +333,32 @@ (define-public julia-benchmarktools
benchmarks as well as comparing benchmark results.")
(license license:expat)))
+(define-public julia-biogenerics
+ ;; No upstream release
+ (let ((commit "a75abaf459250e2b5e22b4d9adf25fd36d2acab6")
+ (revision "0"))
+ (package
+ (name "julia-biogenerics")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/BioGenerics.jl")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "17d222vi9nssjwr5l349fss7jnglnjimp1z62kmfmxa4fsn8lk8l"))))
+ (build-system julia-build-system)
+ (inputs
+ (list julia-transcodingstreams))
+ (home-page "https://github.com/BioJulia/BioGenerics.jl")
+ (synopsis "Generic methods used by BioJulia packages")
+ (description "This package provides generic methods and modules used in
+many of the other BioJulia packages. This package defines IO, exceptions, and
+other types or methods used by other BioJulia packages.")
+ (license license:expat))))
+
(define-public julia-blockarrays
(package
(name "julia-blockarrays")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 08/17] gnu: Add julia-twiddle.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-8-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-twiddle): New variable.
---
gnu/packages/julia-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 1508a86dd1..e407b1aec5 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5026,6 +5026,27 @@ (define-public julia-transcodingstreams
@end itemize")
(license license:expat)))
+(define-public julia-twiddle
+ (package
+ (name "julia-twiddle")
+ (version "1.1.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BenJWard/Twiddle.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1c2gdv7sy4n1d8687w2q0yzwmwmanf4p6mvzvkz5gm4baxyzmbh2"))))
+ (build-system julia-build-system)
+ (home-page "https://ben-ward.science/Twiddle.jl/stable")
+ (synopsis "Ready to use bit-twiddling tricks")
+ (description "This package provides a collection of useful bit-twiddling
+tricks, ready to use as functions, with detailed documentation and example
+real-world use cases.")
+ (license license:expat)))
+
(define-public julia-typedtables
(package
(name "julia-typedtables")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 09/17] gnu: Add julia-simd.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-9-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-simd): New variable.
---
gnu/packages/julia-xyz.scm | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)

Toggle diff (46 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index e407b1aec5..4a3ca18666 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
-;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
@@ -4406,6 +4406,31 @@ (define-public julia-showoff
in @code{Gadfly}, @code{Plots} and @code{Makie} to label axes and keys.")
(license license:expat)))
+(define-public julia-simd
+ (package
+ (name "julia-simd")
+ (version "3.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eschnett/SIMD.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jiic2hcl9l6zh6jgqzbd3ik2girmgvni4bq65kdci5l12k9la68"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/eschnett/SIMD.jl")
+ (synopsis "Explicit SIMD vectorization")
+ (description "This package allows programmers to explicitly SIMD-vectorize
+their Julia code. By exposing SIMD vector types and corresponding operations,
+the programmer can explicitly vectorize their code. While this does not
+guarantee that the generated machine code is efficient, it relieves the
+compiler from determining whether it is legal to vectorize the code, deciding
+whether it is beneficial to do so, and rearranging the code to synthesize
+vector instructions.")
+ (license license:expat)))
+
(define-public julia-simpletraits
(package
(name "julia-simpletraits")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 10/17] gnu: Add julia-scanbyte.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-10-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-scanbyte): New variable.
---
gnu/packages/julia-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 4a3ca18666..524e5c3fb4 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4357,6 +4357,29 @@ (define-public julia-sass
@code{libsass} library to compile scss and sass files to css.")
(license license:expat)))
+(define-public julia-scanbyte
+ (package
+ (name "julia-scanbyte")
+ (version "0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jakobnissen/ScanByte.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dqqa3d7c87358144pji6ik8xlki2hj0hkvjs72j5aypfms8rwn3"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-simd))
+ (home-page "https://github.com/JuliaPackaging/Scratch.jl")
+ (synopsis "Find the first occurrence of set of bytes in a chunk of memory")
+ (description "This package finds the first occurrence of a byte or set of
+bytes in a chunk of memory. Think of it like a much faster version of
+@code{findfirst} that only iterates over bytes in memory.")
+ (license license:expat)))
+
(define-public julia-scratch
(package
(name "julia-scratch")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 11/17] gnu: Add julia-automa.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-11-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-automa): New variable.
---
gnu/packages/julia-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 524e5c3fb4..757030301d 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -211,6 +211,34 @@ (define-public julia-arraylayouts
much wider class of matrix types than Julia's in-built @code{StridedArray}.")
(license license:expat)))
+(define-public julia-automa
+ (package
+ (name "julia-automa")
+ (version "0.8.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/Automa.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0hmwvk3qw54p7f63a2dnzlmvkynfs62x9n8x952bcmczp35csgq0"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-scanbyte
+ julia-transcodingstreams))
+ (home-page "https://github.com/BioJulia/Automa.jl")
+ (synopsis "Validation, parsing, and tokenizing based on state machine compiler.")
+ (description "This package compiles regular expressions into Julia code,
+which is then compiled into low-level machine code by the Julia compiler. The
+package is designed to generate very efficient code to scan large text data,
+which is often much faster than handcrafted code. @code{Automa.jl} can insert
+arbitrary Julia code that will be executed in state transitions. This makes
+it possible, for example, to extract substrings that match a part of a regular
+expression.")
+ (license license:expat)))
+
(define-public julia-axisalgorithms
(package
(name "julia-axisalgorithms")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 12/17] gnu: Add julia-stringencodings.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-12-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-stringencodings): New variable.
---
gnu/packages/julia-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 757030301d..84a6fef3a6 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4799,6 +4799,38 @@ (define-public julia-stringdistances
applied to any distance.")
(license license:expat)))
+(define-public julia-stringencodings
+ (package
+ (name "julia-stringencodings")
+ (version "0.3.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaStrings/StringEncodings.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qwc5ll68ng80b5921ww6fvifxbsmiylakfgsbsjbzg7lzyb5i67"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-failing-test
+ (lambda _
+ ;; https://github.com/JuliaStrings/StringEncodings.jl/issues/49
+ (substitute* "test/runtests.jl"
+ (("\"SHIFT_JIS\", \"SHIFT_JISX0213\"")
+ " ")))))))
+ (propagated-inputs
+ (list julia-libiconv-jll))
+ (home-page "https://github.com/JuliaStrings/StringEncodings.jl")
+ (synopsis "Support for decoding and encoding texts ")
+ (description "This package provides support for decoding and encoding
+texts between multiple character encodings. It is currently based on the
+@code{iconv} interface, and supports all major platforms using GNU libiconv.")
+ (license license:expat)))
+
(define-public julia-structarrays
(package
(name "julia-structarrays")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 13/17] gnu: Add julia-yaml.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-13-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-yaml): New variable.
---
gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 84a6fef3a6..404c35627c 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5341,6 +5341,31 @@ (define-public julia-woodburymatrices
inaccuracy in the result.")
(license license:expat)))
+(define-public julia-yaml
+ (package
+ (name "julia-yaml")
+ (version "0.4.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaData/YAML.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00k8456ffldbf75k2q5yxim7cgz3p0pbshsvmpm1331g8qy6liin"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-stringencodings))
+ (native-inputs
+ (list julia-datastructures
+ julia-orderedcollections))
+ (home-page "https://github.com/JuliaData/YAML.jl")
+ (synopsis "Parses YAML documents into native Julia types")
+ (description "This package parses YAML documents into native Julia types
+and dumps them back into YAML documents.")
+ (license license:expat)))
+
(define-public julia-zipfile
(package
(name "julia-zipfile")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 14/17] gnu: Add julia-biosymbols.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-14-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-biosymbols): New variable.
---
gnu/packages/julia-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 404c35627c..04d0beeb96 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -387,6 +387,30 @@ (define-public julia-biogenerics
other types or methods used by other BioJulia packages.")
(license license:expat))))
+(define-public julia-biosymbols
+ (package
+ (name "julia-biosymbols")
+ (version "4.0.4") ;Older release for compatibility with julia-biosequence
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/BioSymbols.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1222rwdndi777lai8a6dwrh35i5rgmj75kcrhn8si72sxgz0syjm"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:tests? #f))
+ (propagated-inputs
+ (list julia-automa))
+ (home-page "https://github.com/BioJulia/BioSymbols.jl")
+ (synopsis "Primitive types for nucleic acids and amino acids")
+ (description "This package defines the primitive types for nucleic acids
+and amino acids that are used ny otherBioJulia packages.")
+ (license license:expat)))
+
(define-public julia-blockarrays
(package
(name "julia-blockarrays")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 15/17] gnu: Add julia-biosequences.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-15-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-biosequences): New variable.
---
gnu/packages/julia-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 04d0beeb96..e028f37a28 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -387,6 +387,37 @@ (define-public julia-biogenerics
other types or methods used by other BioJulia packages.")
(license license:expat))))
+(define-public julia-biosequences
+ (package
+ (name "julia-biosequences")
+ (version "2.0.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/BioSequences.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ns6zk0zvnsf4hlsys9ck2xrn20qck0b0aghh484vc6n458zq2gw"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-biogenerics
+ julia-biosymbols
+ julia-combinatorics
+ julia-indexablebitvectors
+ julia-stablerngs
+ julia-twiddle))
+ (native-inputs
+ (list julia-statsbase
+ julia-yaml))
+ (home-page "https://biojulia.net/BioSequences.jl/stable/")
+ (synopsis "Data types and methods for common operations with biological sequences")
+ (description "This package provides Data types and methods for common
+operations with biological sequences, including DNA, RNA, and amino acid
+sequences.")
+ (license license:expat)))
+
(define-public julia-biosymbols
(package
(name "julia-biosymbols")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 16/17] gnu: Add julia-intervaltrees.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-16-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-intervaltrees): New variable.
---
gnu/packages/julia-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index e028f37a28..2e726aed23 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2800,6 +2800,30 @@ (define-public julia-intervalsets
unambiguously define the @code{..} and @code{±} operators.")
(license license:expat)))
+(define-public julia-intervaltrees
+ ;; Last upstream release on May 2020 and this last release does not contain
+ ;; the file Project.toml.
+ (let ((commit "e37edab61568d08141a3e9c25ec55caac21e5aa5"))
+ (package
+ (name "julia-intervaltrees")
+ (version (git-version "1.0.0" "0" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/IntervalTrees.jl")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01x48a5zrx0833s1kjhf0ml4x9xz8xja4ymran770akmf6968yl9"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/BioJulia/IntervalTrees.jl")
+ (synopsis "Interval Trees for Julia")
+ (description "This package provides an implementation of an associative
+container mapping @code{(K,V)} pairs via the type @code{IntervalTree{K, V}}.
+The type @code{K} may be any ordered type.")
+ (license license:expat))))
+
(define-public julia-invertedindices
(package
(name "julia-invertedindices")
--
2.33.1
Z
Z
zimoun wrote on 4 Jan 2022 23:47
[PATCH 17/17] gnu: Add julia-bioalignments.
(address . 53017@debbugs.gnu.org)
20220104224755.1142897-17-zimon.toutoune@gmail.com
* gnu/packages/julia-xyz.scm (julia-bioalignments): New variable.
---
gnu/packages/julia-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 2e726aed23..b7a4224694 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -361,6 +361,41 @@ (define-public julia-benchmarktools
benchmarks as well as comparing benchmark results.")
(license license:expat)))
+(define-public julia-bioalignments
+ (package
+ (name "julia-bioalignments")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BioJulia/BioAlignments.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wf6qgsada59r2fykxfj9hcr635wl8maqxbd3w8qpa01k9glxa0k"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-test
+ (lambda _
+ ;; Test fails because an unexpected type representation from
+ ;; BioSequences. The aligned value is correct though.
+ (substitute* "test/runtests.jl"
+ (("@test sprint\\(show, aln\\)")
+ "@test_broken sprint(show, aln)")))))))
+ (propagated-inputs
+ (list julia-biogenerics
+ julia-biosequences
+ julia-biosymbols
+ julia-intervaltrees))
+ (home-page "https://github.com/BioJulia/BioAlignments.jl")
+ (synopsis "Sequence alignement algorithm and data structures")
+ (description "This package provides alignement algorithms and data
+structures for sequence of DNA, RNA, and amino acid sequences.")
+ (license license:expat)))
+
(define-public julia-biogenerics
;; No upstream release
(let ((commit "a75abaf459250e2b5e22b4d9adf25fd36d2acab6")
--
2.33.1
E
E
Efraim Flashner wrote on 10 Jan 2022 14:20
Re: [PATCH 01/17] gnu: julia-xyz: Adjust style.
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 53017-done@debbugs.gnu.org)
YdwyojU/1q4l1sHp@3900XT
Patches pushed. Thanks!

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHcMqIACgkQQarn3Mo9
g1FS5w/+PYzWHR3+H5VMVIXpoRK9brsqjqnUKAPwUcocMk0i1ftR7fboHtsLChvM
SMQneODDHnvTs4lQQcQAGl7adi+E1eWPs8WyOcfC0ZY4gW+juUYUrcujzXf7T5YE
h4TmhUjNAhBnB5xDuOkmgO2h3YDTGgcWpPnbBPqeJj/sjrD/jYx5Thm8LwO/yylc
ZS4yDeDQ6/cgrfBzasujRYT4jmkgbD7iYpgcc0v810Onc6DaGM43YCap+nkek1f6
Ys7vMd4boSM1tFLPQ7iba//nZ1Rar1bjAMehvPoJj92kKkkO3JOm3rexWH1BKXB2
Fwpj1BW039rGxZt0EttN4cLke/TnkElo+a0Un0ACguznbRFitKJEVbLqMnaxk2Lm
QwCsr0yApPTp6s+ArDefCNi19LF9GSRjmDEj60KwS0OvXOoBexni204hPMsX2L88
8ALJY5ueU4CautUjvkJdAAzrSeu4PdboenvEvzmRT1k9iHpDUWpZso8RImaLZQVQ
uWaFWCxPktxsaa0z690DQughyAyEP8Je4qthbcRF///Ncq9PRBTWsZSL425WnlzH
4yMhgQisqXkuVGhPnmOmO0xCA/XosF1ulf7I+T44i/f7CA5DvT+lMjVmcIAXqdIi
HmovMQbpx7ZxS9wrpz9y9G5u14Fmo5fmS+M3cYjI42g742UySIw=
=w2nl
-----END PGP SIGNATURE-----


Closed
?