diff options
author | Nikolay Korotkiy <sikmir@gmail.com> | 2021-06-01 21:10:31 +0300 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@gmail.com> | 2021-07-01 02:13:58 +0300 |
commit | 40888fda31896a5d43ba77380fb6df42890d8e83 (patch) | |
tree | b174e27e1ba598d5af712991cc1965a9013af574 /pkgs/applications/misc/kiln | |
parent | cd3ed54f6ea1c13d45c6772b4752ae6d2ff35997 (diff) |
kiln: init at 0.2.1
Diffstat (limited to 'pkgs/applications/misc/kiln')
-rw-r--r-- | pkgs/applications/misc/kiln/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/misc/kiln/default.nix b/pkgs/applications/misc/kiln/default.nix new file mode 100644 index 0000000000000..dfa114f446a1e --- /dev/null +++ b/pkgs/applications/misc/kiln/default.nix @@ -0,0 +1,30 @@ +{ 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 ]; + }; +} |