1 { lib, buildGoModule, fetchFromGitHub, testers, gojq }:
7 src = fetchFromGitHub {
11 hash = "sha256-tlnj0CCsPZRQjIZCvNPjN0JD6oqRDvdWOCYR3tYMPUA=";
14 vendorHash = "sha256-DVJZ35C+6SuhaaGDM3u+3fB1497qaW6oTByAUPVwhJI=";
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 ];