Commit 911e5bf6 authored by toastal's avatar toastal Committed by Vincent Laporte
Browse files

ocamlPackages.kdl: init at 0.2.0

parent 8be52b5c
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
  menhir,
  menhirLib,
  ppx_expect,
  sexplib0,
  zarith,
}:

buildDunePackage rec {
  pname = "kdl";
  version = "0.2.0";

  minimalOCamlVersion = "4.14";

  nativeBuildInputs = [
    menhir
  ];

  propagatedBuildInputs = [
    menhirLib
    sexplib0
  ];

  checkInputs = [
    ppx_expect
    zarith
  ];

  doCheck = true;

  src = fetchFromGitHub {
    owner = "eilvelia";
    repo = "ocaml-kdl";
    tag = "v${version}";
    hash = "sha256-0MiJe0XbWAlS2NvGxLplsgVfCNaA/7iCMx4+F+6FAtM=";
  };

  meta = {
    description = "OCaml implementation of the KDL Document Language v2";
    license = lib.licenses.mpl20;
    maintainers = with lib.maintainers; [ toastal ];
    homepage = "https://github.com/eilvelia/ocaml-kdl";
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -968,6 +968,8 @@ let

        kdf = callPackage ../development/ocaml-modules/kdf { };

        kdl = callPackage ../development/ocaml-modules/kdl { };

        ke = callPackage ../development/ocaml-modules/ke { };

        kicadsch = callPackage ../development/ocaml-modules/kicadsch { };