Files
nixpkgs/pkgs/development/ocaml-modules/dockerfile/default.nix
T
2025-12-04 01:53:44 +00:00

43 lines
911 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
fmt,
ppx_sexp_conv,
sexplib,
alcotest,
}:
buildDunePackage (finalAttrs: {
pname = "dockerfile";
version = "8.3.4";
src = fetchFromGitHub {
owner = "ocurrent";
repo = "ocaml-dockerfile";
tag = finalAttrs.version;
hash = "sha256-q8yzuRkGVe/t0N0HFLFqOPNyvWSxf4WHApZVk1CG1qw=";
};
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/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
})