diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2024-01-30 15:31:07 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2024-01-30 15:31:07 +0100 |
| commit | 788657b62d0bf76015ccf0155a0bf2d3cfd9994a (patch) | |
| tree | 07c6bb41786dc9649ecb4cc37d81f3a8254e6f71 | |
| parent | a4e75305e29318f19cf7e23e21778006d3f64e30 (diff) | |
gnu: r-antiword: Update to 1.3.3.
* gnu/packages/cran.scm (r-antiword): Update to 1.3.3.
[properties]: Tell updater not to remove "antiword" input.
[arguments]: Use G-expression.
Change-Id: Ifdbf80f546b0ab3abfc3b8002ba01b46c9105a1c
| -rw-r--r-- | gnu/packages/cran.scm | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 06850496410..8ef9c923c1c 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm | |||
| @@ -38396,28 +38396,31 @@ or into raw bitmap vectors for further processing in R.") | |||
| 38396 | (define-public r-antiword | 38396 | (define-public r-antiword |
| 38397 | (package | 38397 | (package |
| 38398 | (name "r-antiword") | 38398 | (name "r-antiword") |
| 38399 | (version "1.3.2") | 38399 | (version "1.3.3") |
| 38400 | (source | 38400 | (source |
| 38401 | (origin | 38401 | (origin |
| 38402 | (method url-fetch) | 38402 | (method url-fetch) |
| 38403 | (uri (cran-uri "antiword" version)) | 38403 | (uri (cran-uri "antiword" version)) |
| 38404 | (sha256 | 38404 | (sha256 |
| 38405 | (base32 | 38405 | (base32 |
| 38406 | "1z1xfr2pb1k1k2v65l4bby4smkqg20i22jkvqzw4y2487gndx4cx")) | 38406 | "1cc355sldhsbpx9wl5hkx0ydkgd3racxhkrriv58yw5xbb3b18ff")) |
| 38407 | (modules '((guix build utils))) | 38407 | (modules '((guix build utils))) |
| 38408 | ;; unvendor libantiword | 38408 | ;; unvendor libantiword |
| 38409 | (snippet | 38409 | (snippet |
| 38410 | '(delete-file-recursively "src")))) | 38410 | '(delete-file-recursively "src")))) |
| 38411 | (properties `((upstream-name . "antiword"))) | 38411 | (properties |
| 38412 | `((upstream-name . "antiword") | ||
| 38413 | (updater-extra-inputs . ("antiword")))) | ||
| 38412 | (build-system r-build-system) | 38414 | (build-system r-build-system) |
| 38413 | (arguments | 38415 | (arguments |
| 38414 | '(#:phases | 38416 | (list |
| 38415 | (modify-phases %standard-phases | 38417 | #:phases |
| 38416 | (add-after 'unpack 'use-system-antiword | 38418 | #~(modify-phases %standard-phases |
| 38417 | (lambda* (#:key inputs #:allow-other-keys) | 38419 | (add-after 'unpack 'use-system-antiword |
| 38418 | (substitute* "R/antiword.R" | 38420 | (lambda _ |
| 38419 | (("system.file\\(\"bin\", package = \"antiword\"\\)") | 38421 | (substitute* "R/antiword.R" |
| 38420 | (string-append "\"" (assoc-ref inputs "antiword") "/bin\"")))))))) | 38422 | (("system.file\\(\"bin\", package = \"antiword\"\\)") |
| 38423 | (string-append "\"" #$(this-package-input "antiword") "/bin\"")))))))) | ||
| 38421 | (inputs (list antiword)) | 38424 | (inputs (list antiword)) |
| 38422 | (propagated-inputs (list r-sys)) | 38425 | (propagated-inputs (list r-sys)) |
| 38423 | (home-page "https://github.com/ropensci/antiword#readme") | 38426 | (home-page "https://github.com/ropensci/antiword#readme") |
