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

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

31 lines
699 B
Nix
Raw Normal View History

2021-06-01 18:10:31 +00:00
{ lib, buildGoModule, fetchFromSourcehut, scdoc }:
buildGoModule rec {
pname = "kiln";
2022-05-03 19:13:16 +00:00
version = "0.3.0";
2021-06-01 18:10:31 +00:00
src = fetchFromSourcehut {
owner = "~adnano";
repo = pname;
rev = version;
2022-05-03 19:13:16 +00:00
hash = "sha256-owON9ZNi8BufkeARjC6SwxzM81YJYu+bakhH5quzMrA=";
2021-06-01 18:10:31 +00:00
};
nativeBuildInputs = [ scdoc ];
2022-05-03 19:13:16 +00:00
vendorSha256 = "sha256-C1ueL/zmPzFbpNo5BF56/t74nwCUvb2Vu1exssPqOPE=";
2021-06-01 18:10:31 +00:00
installPhase = ''
runHook preInstall
make PREFIX=$out install
runHook postInstall
'';
meta = with lib; {
description = "A simple static site generator for Gemini";
homepage = "https://git.sr.ht/~adnano/kiln";
license = licenses.mit;
maintainers = with maintainers; [ sikmir ];
};
}