1 { buildGoModule, fetchFromSourcehut, lib, jq, installShellFiles, makeWrapper, scdoc }:
7 src = fetchFromSourcehut {
11 sha256 = "sha256-WTA14W8JFHdouDgWmsc4wMygnwlANPjSYCAhxFVrwAA=";
14 vendorHash = "sha256-DX8m5FsqMZnzk1wgJA/ESZl0QeDv3p9huF4h1HY9DIA=";
16 nativeBuildInputs = [ installShellFiles makeWrapper scdoc ];
18 ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
21 scdoc < ijq.1.scd > ijq.1
26 wrapProgram "$out/bin/ijq" \
27 --prefix PATH : "${lib.makeBinPath [ jq ]}"
31 description = "Interactive wrapper for jq";
32 homepage = "https://git.sr.ht/~gpanders/ijq";
33 license = licenses.gpl3Plus;
34 maintainers = with maintainers; [ justinas SuperSandro2000 ];