87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
30 lines
772 B
Nix
30 lines
772 B
Nix
{ lib, buildDunePackage, fetchurl, ocaml
|
|
, stdlib-shims, uutf, uucp
|
|
, alcotest, fmt
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "terminal";
|
|
version = "0.2.1";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/CraigFe/progress/releases/download/${version}/terminal-${version}.tbz";
|
|
hash = "sha256:0vjqkvmpyi8kvmb4vrx3f0994rph8i9pvlrz1dyi126vlb2zbrvs";
|
|
};
|
|
|
|
propagatedBuildInputs = [ stdlib-shims uutf uucp ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
checkInputs = [ alcotest fmt ];
|
|
|
|
meta = with lib; {
|
|
description = "Basic utilities for interacting with terminals";
|
|
homepage = "https://github.com/CraigFe/progress";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.vbgl ];
|
|
};
|
|
}
|
|
|