rosenthal: hugo-bin: Update to 0.116.0.

* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.116.0.
[arguments]<#:install-plan>: Adjust plan.
<#:phases>: Find gcc:lib with search-input-file.
[inputs]: Add gcc:lib, glibc.
pull/1/head
Hilton Chain 1 year ago
parent 62db72e49f
commit 2fcd23369b
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292
  1. 10
      rosenthal/packages/binaries.scm

@ -111,7 +111,7 @@ different needs.")
(define-public hugo-bin (define-public hugo-bin
(package (package
(name "hugo-bin") (name "hugo-bin")
(version "0.115.4") (version "0.116.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -119,10 +119,10 @@ different needs.")
version "/hugo_extended_" version "_linux-amd64.tar.gz")) version "/hugo_extended_" version "_linux-amd64.tar.gz"))
(sha256 (sha256
(base32 (base32
"0aq5qgbznvyby4mj03s9scpgk3zz3bwzrz6pnv2l1vc2h0c1hf1q")))) "04wjql3xqsxmjpxl6gddk7pq69pb15l69fzfii3ic10wy95ql5va"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
(list #:install-plan #~'(("hugo" "bin/hugo")) (list #:install-plan #~'(("hugo" "bin/"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'strip) (delete 'strip)
@ -133,10 +133,12 @@ different needs.")
(search-input-file inputs #$(glibc-dynamic-linker)) (search-input-file inputs #$(glibc-dynamic-linker))
hugo) hugo)
(invoke "patchelf" "--set-rpath" (invoke "patchelf" "--set-rpath"
(string-append #$gcc:lib "/lib") (dirname (search-input-file
inputs "/lib/libgcc_s.so.1"))
hugo))))))) hugo)))))))
(supported-systems '("x86_64-linux")) (supported-systems '("x86_64-linux"))
(native-inputs (list patchelf)) (native-inputs (list patchelf))
(inputs (list `(,gcc "lib") glibc))
(home-page "https://gohugo.io/") (home-page "https://gohugo.io/")
(synopsis "Static site generator") (synopsis "Static site generator")
(description (description

Loading…
Cancel
Save