at 23.11-beta 30 lines 772 B view raw
1{ lib, buildDunePackage, fetchurl, ocaml 2, stdlib-shims, uutf, uucp 3, alcotest, fmt 4}: 5 6buildDunePackage rec { 7 pname = "terminal"; 8 version = "0.2.1"; 9 10 minimalOCamlVersion = "4.03"; 11 duneVersion = "3"; 12 13 src = fetchurl { 14 url = "https://github.com/CraigFe/progress/releases/download/${version}/terminal-${version}.tbz"; 15 hash = "sha256:0vjqkvmpyi8kvmb4vrx3f0994rph8i9pvlrz1dyi126vlb2zbrvs"; 16 }; 17 18 propagatedBuildInputs = [ stdlib-shims uutf uucp ]; 19 20 doCheck = lib.versionAtLeast ocaml.version "4.08"; 21 checkInputs = [ alcotest fmt ]; 22 23 meta = with lib; { 24 description = "Basic utilities for interacting with terminals"; 25 homepage = "https://github.com/CraigFe/progress"; 26 license = licenses.mit; 27 maintainers = [ maintainers.vbgl ]; 28 }; 29} 30