Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 seq, 6}: 7 8buildDunePackage rec { 9 pname = "yojson"; 10 version = "2.2.2"; 11 12 src = fetchurl { 13 url = "https://github.com/ocaml-community/yojson/releases/download/${version}/yojson-${version}.tbz"; 14 hash = "sha256-mr+tjJp51HI60vZEjmacHmjb/IfMVKG3wGSwyQkSxZU="; 15 }; 16 17 propagatedBuildInputs = [ seq ]; 18 19 meta = with lib; { 20 description = "Optimized parsing and printing library for the JSON format"; 21 homepage = "https://github.com/ocaml-community/${pname}"; 22 license = licenses.bsd3; 23 maintainers = [ maintainers.vbgl ]; 24 mainProgram = "ydump"; 25 }; 26}