Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / terminal / default.nix
blob1700da0606891babb735e9a476dc3179c78d2950
1 { lib, buildDunePackage, fetchurl, ocaml
2 , stdlib-shims, uutf, uucp
3 , alcotest, fmt
4 }:
6 buildDunePackage rec {
7   pname = "terminal";
8   version = "0.2.1";
10   minimalOCamlVersion = "4.03";
11   duneVersion = "3";
13   src = fetchurl {
14     url = "https://github.com/CraigFe/progress/releases/download/${version}/terminal-${version}.tbz";
15     hash = "sha256:0vjqkvmpyi8kvmb4vrx3f0994rph8i9pvlrz1dyi126vlb2zbrvs";
16   };
18   propagatedBuildInputs = [ stdlib-shims uutf uucp ];
20   doCheck = lib.versionAtLeast ocaml.version "4.08";
21   checkInputs = [ alcotest fmt ];
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   };