[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/33: gnu: Add julia-fileio.
From: |
guix-commits |
Subject: |
05/33: gnu: Add julia-fileio. |
Date: |
Mon, 14 Jun 2021 07:46:18 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 9810337bb6596478c1ea15786199dc32df8be2e5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jun 14 10:58:34 2021 +0300
gnu: Add julia-fileio.
* gnu/packages/julia-xyz.scm (julia-fileio): New variable.
---
gnu/packages/julia-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 44b9533..7af4081 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -974,6 +974,56 @@ need the ffmpeg binaries + executables, and don't want the
overhead of
@code{VideoIO.jl}.")
(license license:expat)))
+(define-public julia-fileio
+ (package
+ (name "julia-fileio")
+ (version "1.9.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaIO/FileIO.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1b18x43i737g5q41n9818xbnc2pgd98q1m6yw3h29yri0clg4gfx"))))
+ (build-system julia-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'reset-gzip-timestamps)
+ (add-after 'unpack 'skip-network-tests
+ (lambda _
+ ;; These tests try to download audio/video files.
+ (substitute* "test/query.jl"
+ (("testset.*(MP4|OGG|MATROSKA).*" all)
+ (string-append all "return\n")))
+ (substitute* "test/loadsave.jl"
+ (("testset.*CSVFiles.*" all)
+ (string-append all "return\n")))
+ ;; This test tries to download a Julia package.
+ (substitute* "test/error_handling.jl"
+ (("testset.*Not installed.*" all)
+ (string-append all "return\n")))
+ ;; This test tries to write to the store.
+ ;; (Error says can't find User 0)
+ (substitute* "test/runtests.jl"
+ ((".*test_mimesave.*") "")))))))
+ (propagated-inputs
+ `(("julia-requires" ,julia-requires)))
+ (native-inputs
+ `(("julia-colortypes" ,julia-colortypes)
+ ("julia-filepathsbase" ,julia-filepathsbase)
+ ("julia-http" ,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
+file formats and dispatching to appropriate readers/writers. The two core
+functions in this package are called @code{load} and @code{save}, and offer
+high-level support for formatted files (in contrast with Julia's low-level
+@code{read} and @code{write}).")
+ (license license:expat)))
+
(define-public julia-filepathsbase
(package
(name "julia-filepathsbase")
- 01/33: gnu: Add julia-combinatorics., (continued)
- 01/33: gnu: Add julia-combinatorics., guix-commits, 2021/06/14
- 08/33: gnu: Add julia-ellipsisnotation., guix-commits, 2021/06/14
- 14/33: gnu: Add julia-reversediff., guix-commits, 2021/06/14
- 15/33: gnu: Add julia-positivefactorizations., guix-commits, 2021/06/14
- 20/33: gnu: Add julia-mosaicviews., guix-commits, 2021/06/14
- 33/33: gnu: julia-static: Update to 0.2.5., guix-commits, 2021/06/14
- 24/33: gnu: Add julia-imagebase., guix-commits, 2021/06/14
- 28/33: gnu: Add julia-imagetransformations., guix-commits, 2021/06/14
- 25/33: gnu: Add julia-imageshow., guix-commits, 2021/06/14
- 04/33: gnu: Add julia-filepathsbase., guix-commits, 2021/06/14
- 05/33: gnu: Add julia-fileio.,
guix-commits <=
- 10/33: gnu: Add julia-axisarrays., guix-commits, 2021/06/14
- 07/33: gnu: Add julia-arrayinterface., guix-commits, 2021/06/14
- 11/33: gnu: Add julia-testimages., guix-commits, 2021/06/14
- 09/33: gnu: Add julia-intervalsets., guix-commits, 2021/06/14
- 13/33: gnu: Add julia-functionwrappers., guix-commits, 2021/06/14
- 12/33: gnu: Add julia-recipespipeline., guix-commits, 2021/06/14
- 21/33: gnu: Add julia-imagecore., guix-commits, 2021/06/14
- 23/33: gnu: Add julia-imagemetadata., guix-commits, 2021/06/14
- 22/33: gnu: Add julia-imageaxes., guix-commits, 2021/06/14
- 19/33: gnu: Add julia-stackviews., guix-commits, 2021/06/14