diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 11:31:15 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-05-30 12:55:52 +0300 |
commit | 088e1a50900f3aaa77c12c7ff5eb6e5f938b01c1 (patch) | |
tree | 2a8dd015260b51a41d21fdbe06969bdcac16c4a1 /gnu/packages/julia-jll.scm | |
parent | ceb7936ff524565db5f307e3ed725e07d718a77c (diff) | |
download | guix-088e1a50900f3aaa77c12c7ff5eb6e5f938b01c1.tar.gz |
gnu: Add julia-pcre-jll.
* gnu/packages/julia-jll.scm (julia-pcre-jll): New variable.
Diffstat (limited to 'gnu/packages/julia-jll.scm')
-rw-r--r-- | gnu/packages/julia-jll.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 658acc4563..637fd267dc 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -38,6 +38,7 @@ #:use-module (gnu packages libffi) #:use-module (gnu packages maths) #:use-module (gnu packages mp3) + #:use-module (gnu packages pcre) #:use-module (gnu packages tls) #:use-module (gnu packages video) #:use-module (gnu packages web) @@ -952,6 +953,44 @@ build tree Yggdrasil.") (description "This package provides a wrapper for the opus audio library.") (license license:expat))) +(define-public julia-pcre-jll + (package + (name "julia-pcre-jll") + (version "8.44.0+0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/PCRE_jll.jl") + (commit (string-append "PCRE-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0fcn8m16vy92v9dj437hzlknq9zl6sw6rckmr5gmh07sf0n3wszs")))) + (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(\"PCRE\", \"" + (assoc-ref inputs "pcre") "\")\n")))) + ;; There's a Julia file for each platform, override them all + (find-files "src/wrappers/" "\\.jl$"))))))) + (inputs + `(("pcre" ,pcre))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers))) + (home-page "https://github.com/JuliaBinaryWrappers/PCRE_jll.jl") + (synopsis "PCRE library wrappers") + (description "This package provides a wrapper for the pcre library.") + (license license:expat))) + (define-public julia-x264-jll (package (name "julia-x264-jll") |