2022-07-14 12:49:19 +00:00
|
|
|
{ lib, buildGoModule, fetchFromSourcehut, scdoc, installShellFiles }:
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kiln";
|
2022-10-30 15:09:59 +00:00
|
|
|
version = "0.4.0";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~adnano";
|
2022-10-30 15:09:59 +00:00
|
|
|
repo = "kiln";
|
2021-07-14 22:03:04 +00:00
|
|
|
rev = version;
|
2022-10-30 15:09:59 +00:00
|
|
|
hash = "sha256-BMYySYbV4Exl0gCUt+95FnOoIhKM1UO4cw8gCw3Zf9M=";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
nativeBuildInputs = [ scdoc installShellFiles ];
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
vendorSha256 = "sha256-C1ueL/zmPzFbpNo5BF56/t74nwCUvb2Vu1exssPqOPE=";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
postInstall = ''
|
|
|
|
scdoc < docs/kiln.1.scd > docs/kiln.1
|
|
|
|
installManPage docs/kiln.1
|
2021-07-14 22:03:04 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple static site generator for Gemini";
|
2022-07-14 12:49:19 +00:00
|
|
|
homepage = "https://kiln.adnano.co/";
|
2021-07-14 22:03:04 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sikmir ];
|
|
|
|
};
|
|
|
|
}
|