evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / ocaml-modules / terminal / default.nix
blob1e43b2f8ee2a2258ce8d21f3ecdac9a1a53f86cf
1 { lib, buildDunePackage, fetchurl, ocaml
2 , stdlib-shims, uutf, uucp
3 , alcotest, fmt
4 }:
6 buildDunePackage rec {
7   pname = "terminal";
8   version = "0.4.0";
10   minimalOCamlVersion = "4.03";
12   src = fetchurl {
13     url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz";
14     hash = "sha256-i+RJVTN5uy3F6LeYBcgER2kKA9yj6a7pWf7PRtgnj7c=";
15   };
17   propagatedBuildInputs = [ stdlib-shims uutf uucp ];
19   doCheck = lib.versionAtLeast ocaml.version "4.08";
20   checkInputs = [ alcotest fmt ];
22   meta = with lib; {
23     description = "Basic utilities for interacting with terminals";
24     homepage = "https://github.com/CraigFe/progress";
25     license = licenses.mit;
26     maintainers = [ maintainers.vbgl ];
27   };