nixpkgs/pkgs/applications/misc/kiln/default.nix

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

30 lines
725 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";
2022-07-06 17:09:08 +00:00
version = "0.3.2";
2021-06-01 18:10:31 +00:00
src = fetchFromSourcehut {
owner = "~adnano";
repo = pname;
rev = version;
2022-07-06 17:09:08 +00:00
hash = "sha256-PI80td/GV92Msdtive+f+H6FWo7wdaPmPCpwrX3iLlo=";
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
2022-05-03 19:13:16 +00:00
vendorSha256 = "sha256-C1ueL/zmPzFbpNo5BF56/t74nwCUvb2Vu1exssPqOPE=";
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 = "A 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 ];
};
}