1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
7 src = fetchFromGitHub {
11 hash = "sha256-gVeeCJOqrEua5quID1n1928oHtP9gfIDe4erVn1y2Eo=";
14 nativeBuildInputs = [ installShellFiles ];
16 vendorHash = "sha256-otORAeD9+J6/10TDusEnFfRRxTb/52Zk7Ttaw46xnsU=/sTS1mJw=";
19 installShellCompletion --cmd fx \
20 --bash <($out/bin/fx --comp bash) \
21 --fish <($out/bin/fx --comp fish) \
22 --zsh <($out/bin/fx --comp zsh)
26 description = "Terminal JSON viewer";
28 homepage = "https://github.com/antonmedv/fx";
29 changelog = "https://github.com/antonmedv/fx/releases/tag/${src.rev}";
30 license = licenses.mit;
31 maintainers = with maintainers; [ figsoda ];