gnu: jekyll: Use gexps and remove input labels.

* gnu/packages/ruby.scm (jekyll) [arguments]: Use gexps, remove trailing #t.
[propagated-inputs]: Remove labels.
This commit is contained in:
Maxim Cournoyer 2023-03-15 14:48:30 -04:00
parent 7885580b77
commit 67c80dfe4e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -13232,31 +13232,29 @@ (define-public jekyll
"0cqkh78jw8scrajyx5nla0vwm9fvp2qql3kdcvvplcq9mazy8snq"))))
(build-system ruby-build-system)
(arguments
;; No rakefile, but a test subdirectory.
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(add-before 'build 'fix-i18n
(lambda _
(substitute* ".gemspec"
(("~> 0.7") ">= 0.7")
(("~> 1.14") ">= 1.14"))
#t)))))
(list #:tests? #f ;no rakefile, but a test subdirectory
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'fix-i18n
(lambda _
(substitute* ".gemspec"
(("~> 0.7") ">= 0.7")
(("~> 1.14") ">= 1.14")))))))
(propagated-inputs
`(("ruby-addressable" ,ruby-addressable)
("ruby-colorator" ,ruby-colorator)
("ruby-em-websocket" ,ruby-em-websocket)
("ruby-i18n" ,ruby-i18n)
("ruby-jekyll-sass-converter" ,ruby-jekyll-sass-converter)
("ruby-jekyll-watch" ,ruby-jekyll-watch)
("ruby-kramdown" ,ruby-kramdown-parser-gfm)
("ruby-liquid" ,ruby-liquid)
("ruby-mercenary" ,ruby-mercenary)
("ruby-pathutil" ,ruby-pathutil)
("ruby-rouge" ,ruby-rouge)
("ruby-safe-yaml" ,ruby-safe-yaml)
("ruby-sassc" ,ruby-sassc)
("ruby-terminal-table" ,ruby-terminal-table)))
(list ruby-addressable
ruby-colorator
ruby-em-websocket
ruby-i18n
ruby-jekyll-sass-converter
ruby-jekyll-watch
ruby-kramdown-parser-gfm
ruby-liquid
ruby-mercenary
ruby-pathutil
ruby-rouge
ruby-safe-yaml
ruby-sassc
ruby-terminal-table))
(home-page "https://jekyllrb.com/")
(synopsis "Static site generator")
(description "Jekyll is a simple, blog aware, static site generator.")