python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / yojson / default.nix
blob38960dceb5e3df83078466aa67e809d1a45f72c8
1 { lib, fetchurl, buildDunePackage, cppo, seq }:
3 buildDunePackage rec {
4   pname = "yojson";
5   version = "2.0.2";
7   src = fetchurl {
8     url = "https://github.com/ocaml-community/yojson/releases/download/${version}/yojson-${version}.tbz";
9     sha256 = "sha256-h2u284r3OoSilDij2jXkhXxgoUVWpgZSWxSMb9vlRhs=";
10   };
12   nativeBuildInputs = [ cppo ];
13   propagatedBuildInputs = [ seq ];
15   meta = with lib; {
16     description = "An optimized parsing and printing library for the JSON format";
17     homepage = "https://github.com/ocaml-community/${pname}";
18     license = licenses.bsd3;
19     maintainers = [ maintainers.vbgl ];
20     mainProgram = "ydump";
21   };