nixpkgs/pkgs/by-name/ki/kiln/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
748 B
Nix
Raw Normal View History

2022-07-06 17:09:08 +00:00
{ lib, buildGoModule, fetchFromSourcehut, scdoc, installShellFiles }:
2021-06-01 18:10:31 +00:00
buildGoModule rec {
pname = "kiln";
2024-05-28 19:37:29 +00:00
version = "0.4.1";
2021-06-01 18:10:31 +00:00
src = fetchFromSourcehut {
owner = "~adnano";
2022-10-22 20:04:05 +00:00
repo = "kiln";
2021-06-01 18:10:31 +00:00
rev = version;
2024-05-28 19:37:29 +00:00
hash = "sha256-BbKd+0Dmo6RaoS0N7rQmSGJasuJb6dl43GZ7LdMBy/o=";
2021-06-01 18:10:31 +00:00
};
2022-07-06 17:09:08 +00:00
nativeBuildInputs = [ scdoc installShellFiles ];
2021-06-01 18:10:31 +00:00
2024-05-28 19:37:29 +00:00
vendorHash = "sha256-3s1+/RxOTNVFX9FnS94jLVGSr5IjZC/XucmnkxHhk5Q=";
2021-06-01 18:10:31 +00:00
2022-07-06 17:09:08 +00:00
postInstall = ''
scdoc < docs/kiln.1.scd > docs/kiln.1
installManPage docs/kiln.1
2021-06-01 18:10:31 +00:00
'';
meta = with lib; {
description = "Simple static site generator for Gemini";
2022-07-06 17:09:08 +00:00
homepage = "https://kiln.adnano.co/";
2021-06-01 18:10:31 +00:00
license = licenses.mit;
maintainers = with maintainers; [ sikmir ];
2024-02-11 02:19:15 +00:00
mainProgram = "kiln";
2021-06-01 18:10:31 +00:00
};
}