ocamlPackages.angstrom: add update script

This commit is contained in:
José Romildo 2022-10-23 08:02:16 -03:00
parent 127c1662b7
commit 52b1e2fdf7

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, ocaml-syntax-shims, alcotest, result, bigstringaf, ppx_let }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, ocaml-syntax-shims, alcotest, result, bigstringaf, ppx_let, gitUpdater }:
buildDunePackage rec {
pname = "angstrom";
@ -19,6 +19,8 @@ buildDunePackage rec {
propagatedBuildInputs = [ bigstringaf result ];
doCheck = lib.versionAtLeast ocaml.version "4.08";
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://github.com/inhabitedtype/angstrom";
description = "OCaml parser combinators built for speed and memory efficiency";