mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
commit
dcae925ccb
1 changed files with 8 additions and 9 deletions
|
@ -1,29 +1,28 @@
|
|||
{ lib, buildGoModule, fetchFromSourcehut, scdoc }:
|
||||
{ lib, buildGoModule, fetchFromSourcehut, scdoc, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kiln";
|
||||
version = "0.3.0";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~adnano";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-owON9ZNi8BufkeARjC6SwxzM81YJYu+bakhH5quzMrA=";
|
||||
hash = "sha256-PI80td/GV92Msdtive+f+H6FWo7wdaPmPCpwrX3iLlo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ scdoc ];
|
||||
nativeBuildInputs = [ scdoc installShellFiles ];
|
||||
|
||||
vendorSha256 = "sha256-C1ueL/zmPzFbpNo5BF56/t74nwCUvb2Vu1exssPqOPE=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make PREFIX=$out install
|
||||
runHook postInstall
|
||||
postInstall = ''
|
||||
scdoc < docs/kiln.1.scd > docs/kiln.1
|
||||
installManPage docs/kiln.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple static site generator for Gemini";
|
||||
homepage = "https://git.sr.ht/~adnano/kiln";
|
||||
homepage = "https://kiln.adnano.co/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue