1 { stdenv, lib, fetchFromGitHub, buildGoModule }:
7 src = fetchFromGitHub {
8 owner = "makeworld-the-better-one";
11 hash = "sha256-KOuKgxH3n4rdF+oj/TwEcRqX1sn4A9e23FNwQMhMVO4=";
14 vendorHash = "sha256-T/hnlQMDOZV+QGl7xp29sBGfb4VXcXqN6PDoBFdpp4M=";
16 postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
17 sed -i "s:amfora:$out/bin/amfora:" amfora.desktop
18 install -Dm644 amfora.desktop -t $out/share/applications
22 description = "Fancy terminal browser for the Gemini protocol";
23 mainProgram = "amfora";
24 homepage = "https://github.com/makeworld-the-better-one/amfora";
25 license = with licenses; [ gpl3 ];
26 maintainers = with maintainers; [ deifactor ];
27 changelog = "https://github.com/makeworld-the-better-one/amfora/blob/v${version}/CHANGELOG.md";