1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/ppx_deriving_yojson/default.nix

31 lines
678 B
Nix
Raw Normal View History

{ lib, buildDunePackage, fetchFromGitHub, ppxfind, ounit
, ppx_deriving, yojson
}:
buildDunePackage rec {
pname = "ppx_deriving_yojson";
version = "3.5.3";
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = "ppx_deriving_yojson";
rev = "v${version}";
sha256 = "030638gp39mr4hkilrjhd98q4s8gjqxifm6fy6bwqrg74hmrl2y5";
};
buildInputs = [ ppxfind ounit ];
propagatedBuildInputs = [ ppx_deriving yojson ];
doCheck = true;
meta = {
description = "A Yojson codec generator for OCaml >= 4.04";
inherit (src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}