[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/71: gnu: Add julia-libffi-jll.
From: |
guix-commits |
Subject: |
27/71: gnu: Add julia-libffi-jll. |
Date: |
Sun, 30 May 2021 05:57:37 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 09b63f2cd8031f762530d8d7423440327244c595
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 30 11:26:42 2021 +0300
gnu: Add julia-libffi-jll.
* gnu/packages/julia-jll.scm (julia-libffi-jll): New variable.
---
gnu/packages/julia-jll.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 2b2ed8a..0757882 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -34,6 +34,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages julia)
+ #:use-module (gnu packages libffi)
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
#:use-module (gnu packages tls)
@@ -527,6 +528,43 @@ used in autogenerated packages via
@code{BinaryBuilder.jl}.")
(description "This package provides a wrapper for the libfdk audio
library.")
(license license:expat)))
+(define-public julia-libffi-jll
+ (package
+ (name "julia-libffi-jll")
+ (version "3.3.0+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/Libffi_jll.jl")
+ (commit (string-append "Libffi-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "008ajchli77airvibdgqw7gvmhk9w63qrv94f88iz1ixxyrycnm0"))))
+ (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
+ (("lib64") "lib")
+ (("artifact\"Libffi\"")
+ (string-append "\"" (assoc-ref inputs "libffi") "\""))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$")))))))
+ (inputs
+ `(("libffi" ,libffi)))
+ (propagated-inputs
+ `(("julia-jllwrappers" ,julia-jllwrappers)))
+ (home-page "https://github.com/JuliaBinaryWrappers/Libffi_jll.jl")
+ (synopsis "Libffi library wrappers")
+ (description "This package provides a wrapper for the libffi library.")
+ (license license:expat)))
+
(define-public julia-libiconv-jll
(package
(name "julia-libiconv-jll")
- 19/71: gnu: Add julia-libvorbis-jll., (continued)
- 19/71: gnu: Add julia-libvorbis-jll., guix-commits, 2021/05/30
- 10/71: gnu: julia-libtiff-jll: Move to (gnu packages julia-jll)., guix-commits, 2021/05/30
- 13/71: gnu: Add julia-bzip2-jll., guix-commits, 2021/05/30
- 15/71: gnu: Add julia-freetype2-jll., guix-commits, 2021/05/30
- 16/71: gnu: Add julia-libfdk-aac-jll., guix-commits, 2021/05/30
- 18/71: gnu: Add julia-ogg-jll., guix-commits, 2021/05/30
- 20/71: gnu: Add julia-x265-jll., guix-commits, 2021/05/30
- 21/71: gnu: Add julia-openssl-jll., guix-commits, 2021/05/30
- 22/71: gnu: Add julia-opus-jll., guix-commits, 2021/05/30
- 26/71: gnu: Add julia-libiconv-jll., guix-commits, 2021/05/30
- 27/71: gnu: Add julia-libffi-jll.,
guix-commits <=
- 28/71: gnu: Add julia-xml2-jll., guix-commits, 2021/05/30
- 34/71: gnu: Add julia-libuuid-jll., guix-commits, 2021/05/30
- 35/71: gnu: Add julia-expat-jll., guix-commits, 2021/05/30
- 23/71: gnu: Add julia-libass-jll., guix-commits, 2021/05/30
- 33/71: gnu: Add julia-pixman-jll., guix-commits, 2021/05/30
- 37/71: gnu: Add julia-xorg-libxdmcp-jll., guix-commits, 2021/05/30
- 39/71: gnu: Add julia-libgcrypt-jll., guix-commits, 2021/05/30
- 40/71: gnu: Add julia-xorg-xtrans-jll., guix-commits, 2021/05/30
- 38/71: gnu: Add julia-libgpg-error-jll., guix-commits, 2021/05/30
- 36/71: gnu: Add julia-xorg-libxau-jll., guix-commits, 2021/05/30