1 { lib, buildGoModule, fetchFromGitHub, testers, gojq }:
7 src = fetchFromGitHub {
11 hash = "sha256-lCNh0J0vVvSJaNE9fu3X83YRZlWHOI4rQwmrGJDQWzk=";
14 vendorHash = "sha256-ZC0byawZLBwId5GcAgHXRdEOMUSAv4wDNHFHLrbhB+I=";
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 ];