1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

ocamlPackages.printbox: add update script

This commit is contained in:
José Romildo 2022-10-23 09:01:16 -03:00
parent 100bc48bf0
commit 00b9b68cf1

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx, gitUpdater }:
buildDunePackage rec {
pname = "printbox";
@ -20,6 +20,8 @@ buildDunePackage rec {
# mdx is not available for OCaml < 4.08
doCheck = lib.versionAtLeast ocaml.version "4.08";
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
homepage = "https://github.com/c-cube/printbox/";
description = "Allows to print nested boxes, lists, arrays, tables in several formats";