[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60633] [PATCH] gnu: Add kiln.
From: |
Nikolay Korotkiy |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#60633] [PATCH] gnu: Add kiln.,
Nikolay Korotkiy <=