ocamlPackages.ppx_deriving_yojson: 3.1 -> 3.3
This commit is contained in:
parent
d7f08cd90f
commit
8b79557600
@ -1,29 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, topkg, cppo
|
||||
, ppx_deriving, yojson, ounit
|
||||
{ lib, buildDunePackage, fetchFromGitHub, ppxfind, ounit
|
||||
, ppx_deriving, yojson
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-ppx_deriving_yojson-${version}";
|
||||
version = "3.1";
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_deriving_yojson";
|
||||
version = "3.3";
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-ppx";
|
||||
repo = "ppx_deriving_yojson";
|
||||
rev = "v${version}";
|
||||
sha256 = "1pwfnq7z60nchba4gnf58918ll11w3gj5i88qhz1p2jm45hxqgnw";
|
||||
sha256 = "1gbfziw03r9azqlsmyn6izrgrf1xc30s88jgdany1kblpgq41rsz";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild cppo ounit ];
|
||||
buildInputs = [ ppxfind ounit ];
|
||||
|
||||
propagatedBuildInputs = [ ppx_deriving yojson ];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "A Yojson codec generator for OCaml >= 4.02.";
|
||||
description = "A Yojson codec generator for OCaml >= 4.04";
|
||||
inherit (src.meta) homepage;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||
inherit (ocaml.meta) platforms;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user