lol
at 23.05-pre 22 lines 650 B view raw
1{ lib, fetchurl, buildDunePackage, cppo, seq }: 2 3buildDunePackage rec { 4 pname = "yojson"; 5 version = "2.0.2"; 6 7 src = fetchurl { 8 url = "https://github.com/ocaml-community/yojson/releases/download/${version}/yojson-${version}.tbz"; 9 sha256 = "sha256-h2u284r3OoSilDij2jXkhXxgoUVWpgZSWxSMb9vlRhs="; 10 }; 11 12 nativeBuildInputs = [ cppo ]; 13 propagatedBuildInputs = [ seq ]; 14 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 }; 22}