diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 12:16:09 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 12:55:53 +0300 |
commit | 6e795958ebbf2edcb4e0838b36a34613f863a3b6 (patch) | |
tree | ac2653d2c02f14015579bf8d2f4e97c008044f91 | |
parent | 2ee28bfc9f43df97913c5e54fe1206b92ef6662b (diff) | |
download | guix-6e795958ebbf2edcb4e0838b36a34613f863a3b6.tar guix-6e795958ebbf2edcb4e0838b36a34613f863a3b6.tar.gz |
gnu: Add julia-xorg-xtrans-jll.
* gnu/packages/julia-jll.scm (julia-xorg-xtrans-jll): New variable.
-rw-r--r-- | gnu/packages/julia-jll.scm | 36 |
1 files changed, 36 insertions, 0 deletions
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") |