From 6e795958ebbf2edcb4e0838b36a34613f863a3b6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 30 May 2021 12:16:09 +0300 Subject: gnu: Add julia-xorg-xtrans-jll. * gnu/packages/julia-jll.scm (julia-xorg-xtrans-jll): New variable. --- gnu/packages/julia-jll.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 73214cb652..cf54e14097 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -1459,6 +1459,42 @@ build tree Yggdrasil.") (description "This package provides a wrapper for the libxdmcp library.") (license license:expat))) +(define-public julia-xorg-xtrans-jll + (package + (name "julia-xorg-xtrans-jll") + (version "1.4.0+2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/Xorg_xtrans_jll.jl") + (commit (string-append "Xorg_xtrans-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16rzkgc7l1j57l43v5ffrak164bdff7h1amm0y3mcnwjqmkig9dn")))) + (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 + (("artifact\"Xorg_xtrans\"") + (string-append "\"" (assoc-ref inputs "xtrans") "\"")))) + ;; There's a Julia file for each platform, override them all + (find-files "src/wrappers/" "\\.jl$"))))))) + (inputs + `(("xtrans" ,xtrans))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers))) + (home-page "https://github.com/JuliaBinaryWrappers/Xorg_xtrans_jll.jl") + (synopsis "xtrans library wrappers") + (description "This package provides a wrapper for the xtrans library.") + (license license:expat))) + (define-public julia-zlib-jll (package (name "julia-zlib-jll") -- cgit 1.4.1