Unverified Commit aecc6f19 authored by Vincent Laporte's avatar Vincent Laporte Committed by GitHub
Browse files

ocamlPackages.dockerfile: init at 8.3.2 (#451875)

parents 12854679 b692ac38
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  fmt,
  ppx_sexp_conv,
  sexplib,
  alcotest,
}:

buildDunePackage rec {
  pname = "dockerfile";
  version = "8.3.2";

  src = fetchFromGitHub {
    owner = "ocurrent";
    repo = "ocaml-dockerfile";
    tag = version;
    hash = "sha256-L4TjCf8SaNMxqkrr+AoL/Lx2oWgf2owJFs26lu68ejs=";
  };

  propagatedBuildInputs = [
    fmt
    ppx_sexp_conv
    sexplib
  ];

  checkInputs = [
    alcotest
  ];

  doCheck = true;

  meta = {
    description = "Interface for creating Dockerfiles";
    homepage = "https://www.ocurrent.org/ocaml-dockerfile/dockerfile/Dockerfile/index.html";
    downloadPage = "https://github.com/ocurrent/ocaml-dockerfile";
    changelog = "https://github.com/ocurrent/ocaml-dockerfile/blob/v${version}/CHANGES.md";
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.ethancedwards8 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -418,6 +418,8 @@ let

        dnssec = callPackage ../development/ocaml-modules/dns/dnssec.nix { };

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

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

        dolmen_loop = callPackage ../development/ocaml-modules/dolmen/loop.nix { };