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";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.4.1";
|
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;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-BbKd+0Dmo6RaoS0N7rQmSGJasuJb6dl43GZ7LdMBy/o=";
|
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
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
vendorHash = "sha256-3s1+/RxOTNVFX9FnS94jLVGSr5IjZC/XucmnkxHhk5Q=";
|
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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "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 ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "kiln";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
}
|