ocaml-yojson: 1.1.8 -> 1.2.3
This commit is contained in:
parent
fc8e28513d
commit
0b7fd5f621
@ -1,16 +1,15 @@
|
|||||||
{stdenv, fetchurl, ocaml, findlib, cppo, easy-format, biniou}:
|
{ stdenv, fetchzip, ocaml, findlib, cppo, easy-format, biniou }:
|
||||||
let
|
let
|
||||||
pname = "yojson";
|
pname = "yojson";
|
||||||
version = "1.1.8";
|
version = "1.2.3";
|
||||||
webpage = "http://mjambon.com/${pname}.html";
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
|
||||||
name = "ocaml-${pname}-${version}";
|
name = "ocaml-${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchzip {
|
||||||
url = "http://mjambon.com/releases/${pname}/${pname}-${version}.tar.gz";
|
url = "https://github.com/mjambon/${pname}/archive/v${version}.tar.gz";
|
||||||
sha256 = "0ayx17dimnpavdfyq6dk9xv2x1fx69by85vc6vl3nqxjkcv5d2rv";
|
sha256 = "10dvkndgwanvw4agbjln7kgb1n9s6lii7jw82kwxczl5rd1sgmvl";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ];
|
buildInputs = [ ocaml findlib ];
|
||||||
@ -27,7 +26,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An optimized parsing and printing library for the JSON format";
|
description = "An optimized parsing and printing library for the JSON format";
|
||||||
homepage = "${webpage}";
|
homepage = "http://mjambon.com/${pname}.html";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.vbgl ];
|
maintainers = [ maintainers.vbgl ];
|
||||||
platforms = ocaml.meta.platforms;
|
platforms = ocaml.meta.platforms;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user