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.

Full log


View this message in rfc822 format

From: Nikolay Korotkiy <sikmir <at> disroot.org>
To: 60633 <at> debbugs.gnu.org
Cc: Nikolay Korotkiy <sikmir <at> disroot.org>
Subject: [bug#60633] [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





This bug report was last modified 2 years and 125 days ago.

Previous Next


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