ocamlPackages.printbox: add update script
This commit is contained in:
parent
100bc48bf0
commit
00b9b68cf1
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx }:
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx, gitUpdater }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "printbox";
|
pname = "printbox";
|
||||||
|
@ -20,6 +20,8 @@ buildDunePackage rec {
|
||||||
# mdx is not available for OCaml < 4.08
|
# mdx is not available for OCaml < 4.08
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/c-cube/printbox/";
|
homepage = "https://github.com/c-cube/printbox/";
|
||||||
description = "Allows to print nested boxes, lists, arrays, tables in several formats";
|
description = "Allows to print nested boxes, lists, arrays, tables in several formats";
|
||||||
|
|
Loading…
Reference in a new issue