1 { lib, buildGoModule, fetchFromGitHub, testers, gojq }:
7 src = fetchFromGitHub {
11 hash = "sha256-2Og1Ek8Hnzd4KTgJurWtPaqm0W6ruoJ1RN2G+l/5yIY=";
14 vendorHash = "sha256-tZB52w15MpAO3UnrDkhmL1M3EIcm/QwrPy9gvJycuD0=";
16 ldflags = [ "-s" "-w" ];
18 passthru.tests.version = testers.testVersion {
23 description = "Pure Go implementation of jq";
24 homepage = "https://github.com/itchyny/gojq";
25 changelog = "https://github.com/itchyny/gojq/blob/v${version}/CHANGELOG.md";
26 license = licenses.mit;
27 maintainers = with maintainers; [ aaronjheng ];