GNU bug report logs - #60633
[PATCH] gnu: Add kiln.

Previous Next

Package: guix-patches;

Reported by: Nikolay Korotkiy <sikmir <at> disroot.org>

Date: Sat, 7 Jan 2023 18:33:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60633 in the body.
You can then email your comments to 60633 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#60633; Package guix-patches. (Sat, 07 Jan 2023 18:33:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nikolay Korotkiy <sikmir <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 07 Jan 2023 18:33:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nikolay Korotkiy <sikmir <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Nikolay Korotkiy <sikmir <at> disroot.org>
Subject: [PATCH] gnu: Add kiln.
Date: Sat,  7 Jan 2023 22:32:25 +0400
* gnu/packages/web.scm (kiln): New variable.
---
 gnu/packages/web.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index dcb7b3872a..e7ad92c442 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -7997,6 +7997,44 @@ (define-public gmid
 @end itemize")
     (license license:isc)))
 
+(define-public kiln
+  (package
+    (name "kiln")
+    (version "0.4.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~adnano/kiln")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1lvzv46hn80gffw47mcc28iahwqng7pvg500s9jlrq6mhr4k5ih4"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "git.sr.ht/~adnano/kiln"
+       #: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)))))
+    (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")
+    (description
+     "kiln takes a different approach to building static sites.
+Instead of packing all functionality into kiln itself, the core is lightweight
+and can be extended with the use of external commands.")
+    (license license:expat)))
+
 (define-public siege
   (package
     (name "siege")

base-commit: d16edd03cfa84f6d5fed979fd7283966cd3e4934
-- 
2.37.2





Information forwarded to guix-patches <at> gnu.org:
bug#60633; Package guix-patches. (Fri, 10 Mar 2023 21:17:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Nikolay Korotkiy via Guix-patches via <guix-patches <at> gnu.org>
Cc: Nikolay Korotkiy <sikmir <at> disroot.org>, 60633-done <at> debbugs.gnu.org
Subject: Re: [bug#60633] [PATCH] gnu: Add kiln.
Date: Fri, 10 Mar 2023 22:16:04 +0100
Hello,

Nikolay Korotkiy via Guix-patches via <guix-patches <at> 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 sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Fri, 10 Mar 2023 21:17:02 GMT) Full text and rfc822 format available.

Notification sent to Nikolay Korotkiy <sikmir <at> disroot.org>:
bug acknowledged by developer. (Fri, 10 Mar 2023 21:17:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 08 Apr 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.