mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-10-02 02:14:59 +00:00
Merge branch 'hugo-extended' into 'master'
nongnu: hugo: Update to extended version See merge request nonguix/nonguix!643
This commit is contained in:
commit
e0a028699c
1 changed files with 32 additions and 21 deletions
|
@ -7,39 +7,50 @@
|
||||||
#:use-module ((guix licenses)
|
#:use-module ((guix licenses)
|
||||||
#:prefix license:)
|
#:prefix license:)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix utils))
|
#:use-module (guix utils)
|
||||||
|
#:use-module (guix gexp)
|
||||||
|
#:use-module (gnu packages gcc)
|
||||||
|
#:use-module (gnu packages base))
|
||||||
|
|
||||||
(define-public hugo
|
(define-public hugo
|
||||||
(package
|
(package
|
||||||
(name "hugo")
|
(name "hugo")
|
||||||
(version "0.140.2")
|
(version "0.145.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"https://github.com/gohugoio/hugo/releases/download/v" version
|
"https://github.com/gohugoio/hugo/releases/download/v"
|
||||||
"/" name "_" version "_linux-" (cond ((target-aarch64?)
|
version
|
||||||
"arm64")
|
"/"
|
||||||
((target-arm32?)
|
name
|
||||||
"arm")
|
"_extended_"
|
||||||
((target-x86-64?)
|
version
|
||||||
"amd64")
|
"_linux-"
|
||||||
(else "")) ".tar.gz"))
|
(cond
|
||||||
|
((target-aarch64?)
|
||||||
|
"arm64")
|
||||||
|
((target-x86-64?)
|
||||||
|
"amd64")
|
||||||
|
(else ""))
|
||||||
|
".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 (cond ((target-aarch64?)
|
(base32 (cond
|
||||||
"1dv2k9j3i3294bl94jhwi645pf5r2143hizxd3xpc3fz8w8cfyy8")
|
((target-aarch64?)
|
||||||
((target-arm32?)
|
"0vl66diz0a35zznlk3c9x2ik419xpc9q8mybm90dv5pw7vj46rgc")
|
||||||
"0f3mirqn3x2lrj7gzjyqklj081y7jfyxww2zkccg9f6jq0vcfcxd")
|
((target-x86-64?)
|
||||||
((target-x86-64?)
|
"1r2alw2a3acs99dx89p886p3qbwpds6kpgz510jjiym8dna6hx3w")
|
||||||
"0hs4b3nrr1qajrh7f64ibwjrfipqllvifp526kf2gfxnhpkr67l8")
|
(else ""))))))
|
||||||
(else ""))))))
|
|
||||||
(build-system binary-build-system)
|
(build-system binary-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:install-plan ''(("hugo" "/bin/hugo"))))
|
#:install-plan ''(("hugo" "/bin/hugo"))
|
||||||
(supported-systems (list "aarch64-linux"
|
#:strip-binaries? #f
|
||||||
"armhf-linux"
|
#:patchelf-plan
|
||||||
"x86_64-linux"))
|
#~(list (list "hugo"
|
||||||
|
'("gcc:lib")))))
|
||||||
|
(inputs `(("gcc:lib" ,gcc "lib")))
|
||||||
|
(supported-systems (list "aarch64-linux" "x86_64-linux"))
|
||||||
(home-page "https://gohugo.io/")
|
(home-page "https://gohugo.io/")
|
||||||
(synopsis "Static site generator written in Go")
|
(synopsis "Static site generator written in Go")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue