lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.11-pre 35 lines 740 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4, testers 5}: 6 7buildGoModule rec { 8 pname = "goodhosts"; 9 version = "1.1.2"; 10 11 src = fetchFromGitHub { 12 owner = "goodhosts"; 13 repo = "cli"; 14 rev = "v${version}"; 15 hash = "sha256-ZasS7AYGYPV+nzp9JbJC5pD0yQ+ik+QnuL+3qC1uqFk="; 16 }; 17 18 ldflags = [ 19 "-s -w -X main.version=${version}" 20 ]; 21 22 postInstall = '' 23 mv $out/bin/cli $out/bin/goodhosts 24 ''; 25 26 vendorHash = "sha256-t/pdJWz6rLnBbH8iq9Nqy+E+DD2770UCEcowwStPdqM="; 27 28 meta = with lib; { 29 description = "A CLI tool for managing hostfiles"; 30 license = licenses.mit; 31 homepage = "https://github.com/goodhosts/cli/tree/main"; 32 maintainers = with maintainers; [ schinmai-akamai ]; 33 mainProgram = "goodhosts"; 34 }; 35}