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