lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 15.09-beta 35 lines 844 B view raw
1{stdenv, fetchurl, ocaml, findlib, cppo, easy-format, biniou}: 2let 3 pname = "yojson"; 4 version = "1.1.8"; 5 webpage = "http://mjambon.com/${pname}.html"; 6in 7stdenv.mkDerivation { 8 9 name = "ocaml-${pname}-${version}"; 10 11 src = fetchurl { 12 url = "http://mjambon.com/releases/${pname}/${pname}-${version}.tar.gz"; 13 sha256 = "0ayx17dimnpavdfyq6dk9xv2x1fx69by85vc6vl3nqxjkcv5d2rv"; 14 }; 15 16 buildInputs = [ ocaml findlib ]; 17 18 propagatedBuildInputs = [ cppo easy-format biniou ]; 19 20 createFindlibDestdir = true; 21 22 makeFlags = "PREFIX=$(out)"; 23 24 preBuild = '' 25 mkdir $out/bin 26 ''; 27 28 meta = with stdenv.lib; { 29 description = "An optimized parsing and printing library for the JSON format"; 30 homepage = "${webpage}"; 31 license = licenses.bsd3; 32 maintainers = [ maintainers.vbgl ]; 33 platforms = ocaml.meta.platforms; 34 }; 35}