{ afl-persistent, alcotest, buildDunePackage, calendar, cmdliner, fetchurl, fpath, lib, ocaml, pprint, uucp, uunf, }: buildDunePackage (finalAttrs: { pname = "alcobar"; version = "0.3.1"; minimalOCamlVersion = "4.10"; __structuredAttrs = true; src = fetchurl { url = "https://github.com/samoht/alcobar/releases/download/v${finalAttrs.version}/alcobar-${finalAttrs.version}.tbz"; hash = "sha256-V2UnvLrtf+XXkp7uFlrIpxg6+fZqwhCS/J7C3Nw+eVU="; }; propagatedBuildInputs = [ afl-persistent alcotest cmdliner ]; checkInputs = [ calendar fpath pprint uucp uunf ]; doCheck = lib.versionAtLeast ocaml.version "5.0"; meta = { description = "Crowbar with an Alcotest-compatible API"; homepage = "https://github.com/samoht/alcobar"; changelog = "https://github.com/samoht/alcobar/blob/v${finalAttrs.version}/CHANGES.md"; license = lib.licenses.isc; maintainers = [ lib.maintainers.vog ]; }; })