1 { lib, buildGoModule, fetchFromSourcehut, scdoc, installShellFiles }:
7 src = fetchFromSourcehut {
11 hash = "sha256-nKNSLVBBdZI5mkbEUkMv0CIOQIyH3OX+SEFf5O47DFY=";
13 vendorHash = "sha256-Cx8x8AISRVTA4Ufd73vOVky97LX23NkizHDingr/zVk=";
15 ldflags = [ "-s" "-w" ];
17 # Build and install the man pages
18 nativeBuildInputs = [ scdoc installShellFiles ];
25 installManPage gmnitohtml.1
28 doInstallCheck = true;
29 installCheckPhase = ''
30 runHook preInstallCheck
31 $out/bin/gmnitohtml --help
32 runHook postInstallCheck
36 homepage = "https://git.sr.ht/~adnano/gmnitohtml";
37 changelog = "https://git.sr.ht/~adnano/gmnitohtml/log";
38 description = "Gemini text to HTML converter";
40 he gmnitohtml utility reads Gemini text from the standard input and writes
41 HTML to the standard output.
43 license = licenses.mit;
44 maintainers = with maintainers; [ jk sikmir ];