guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#60633] [PATCH] gnu: Add kiln.


From: Nicolas Goaziou
Subject: [bug#60633] [PATCH] gnu: Add kiln.
Date: Fri, 10 Mar 2023 22:16:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hello,

Nikolay Korotkiy via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/web.scm (kiln): New variable.

Applied. Thank you.

> +    (arguments
> +     `(#:import-path "git.sr.ht/~adnano/kiln"

I used G-expressions.

> +       #:install-source? #f
> +       #:phases (modify-phases %standard-phases
> +                  (add-after 'install 'install-man
> +                    (lambda* (#:key outputs #:allow-other-keys)
> +                      (let* ((out (assoc-ref outputs "out"))
> +                             (man1 (string-append out "/share/man/man1")))
> +                        (system
> +                         "scdoc < src/git.sr.ht/~adnano/kiln/docs/kiln.1.scd 
> > kiln.1")
> +                        (mkdir-p man1)
> +                        (install-file "kiln.1" man1)) #t)))))

I removed the trailing #T.

> +    (propagated-inputs (list go-github-com-google-shlex
> +                             go-github-com-pelletier-go-toml
> +                             go-gopkg-in-yaml-v3))
> +    (native-inputs (list scdoc))
> +    (home-page "https://kiln.adnano.co/";)
> +    (synopsis "A simple static site generator")

I removed the article "A".

Regards,
-- 
Nicolas Goaziou





reply via email to

[Prev in Thread] Current Thread [Next in Thread]