[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/16: gnu: Add julia-zstd-jll.
From: |
guix-commits |
Subject: |
02/16: gnu: Add julia-zstd-jll. |
Date: |
Thu, 20 May 2021 10:13:03 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit b1cad99e83db6b34ba63d28f7865dda325c19d2a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 20 16:19:54 2021 +0300
gnu: Add julia-zstd-jll.
* gnu/packages/julia-xyz.scm (julia-zstd-jll): New variable.
---
gnu/packages/julia-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index a73abd2..8fc9d35 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1471,6 +1471,45 @@ archives in Julia.")
(description "This package provides a wrapper for Zlib.")
(license license:expat)))
+(define-public julia-zstd-jll
+ (package
+ (name "julia-zstd-jll")
+ (version "1.5.0+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/Zstd_jll.jl")
+ (commit (string-append "Zstd-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "15g5wsvga4p9bjmx97xqwqdnfzfbwfl6c4a9iaphcncwgcrnw6y6"))))
+ (build-system julia-build-system)
+ (arguments
+ '(#:tests? #f ; no runtests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'override-binary-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (map
+ (lambda (wrapper)
+ (substitute* wrapper
+ (("generate_wrapper_header.*")
+ (string-append
+ "generate_wrapper_header(\"Zstd\", \""
+ (assoc-ref inputs "zstd:lib") "\")\n"))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$")))))))
+ (inputs
+ `(("zstd:lib" ,zstd "lib")))
+ (propagated-inputs
+ `(("julia-jllwrappers" ,julia-jllwrappers)))
+ (home-page "https://github.com/JuliaBinaryWrappers/Zstd_jll.jl")
+ (synopsis "Zstd library wrappers")
+ (description "This package provides a wrapper for the zstd library.")
+ (license license:expat)))
+
(define-public julia-zygoterules
(package
(name "julia-zygoterules")
- branch master updated (2b425cf -> 28afc9b), guix-commits, 2021/05/20
- 01/16: gnu: Add julia-jpegturbo-jll., guix-commits, 2021/05/20
- 04/16: gnu: Add julia-libtiff-jll., guix-commits, 2021/05/20
- 02/16: gnu: Add julia-zstd-jll.,
guix-commits <=
- 05/16: gnu: Add julia-imagemagick-jll., guix-commits, 2021/05/20
- 09/16: gnu: Add julia-unpack., guix-commits, 2021/05/20
- 06/16: gnu: Add julia-ifelse., guix-commits, 2021/05/20
- 10/16: gnu: Add julia-parameters., guix-commits, 2021/05/20
- 07/16: gnu: Add julia-sortingalgorithms., guix-commits, 2021/05/20
- 14/16: gnu: Add julia-aqua., guix-commits, 2021/05/20
- 03/16: gnu: Add julia-libpng-jll., guix-commits, 2021/05/20
- 08/16: gnu: Add julia-safetestsets., guix-commits, 2021/05/20
- 11/16: gnu: Add julia-crayons., guix-commits, 2021/05/20
- 13/16: gnu: Add julia-pdmats., guix-commits, 2021/05/20