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
724 B
Nix
Raw Normal View History

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