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:
parent
100bc48bf0
commit
00b9b68cf1
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue