depot/third_party/nixpkgs/pkgs/applications/misc/kiln/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

30 lines
699 B
Nix

{ lib, buildGoModule, fetchFromSourcehut, scdoc }:
buildGoModule rec {
pname = "kiln";
version = "0.2.1";
src = fetchFromSourcehut {
owner = "~adnano";
repo = pname;
rev = version;
hash = "sha256-c6ed62Nn++qw+U/DCiYeGwF77YsBxexWKZ7UQ3LE4fI=";
};
nativeBuildInputs = [ scdoc ];
vendorSha256 = "sha256-bMpzebwbVHAbBtw0uuGyWd4wnM9z6tlsEQN4S/iucgk=";
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 ];
};
}