python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / gojq / default.nix
blob5c85a5c17418231304d117adfdcc753f0be4119c
1 { lib, buildGoModule, fetchFromGitHub, testers, gojq }:
3 buildGoModule rec {
4   pname = "gojq";
5   version = "0.12.9";
7   src = fetchFromGitHub {
8     owner = "itchyny";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-AII3mC+JWOP0x4zf8FQdRhOmckPgY7BDRoKICCFkn9Q=";
12   };
14   vendorSha256 = "sha256-RtackQ4uJo1j2jePu9xd0idQBKbwBh4L2spiS2mRynw=";
16   ldflags = [ "-s" "-w" ];
18   passthru.tests.version = testers.testVersion {
19     package = gojq;
20   };
22   meta = with lib; {
23     description = "Pure Go implementation of jq";
24     homepage = "https://github.com/itchyny/gojq";
25     license = licenses.mit;
26     maintainers = with maintainers; [ aaronjheng ];
27   };