git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.terminal: init at 0.2.1
commit55eac498436b38fe8630dea089cdd861e191130b authorVincent Laporte <Vincent.Laporte@gmail.com> dateFri 14 Jan 2022, 15:42 (5 years ago) parent35f8dc6
2 files changed+32
pkgs/development/ocaml-modules/terminal/default.nix+30 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/terminal/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ lib, buildDunePackage, fetchurl, ocaml
2+, stdlib-shims, uutf, uucp
3+, alcotest, fmt
4+}:
5+
6+buildDunePackage rec {
7+ pname = "terminal";
8+ version = "0.2.1";
9+
10+ minimalOCamlVersion = "4.03";
11+ useDune2 = true;
12+
13+ src = fetchurl {
14+ url = "https://github.com/CraigFe/progress/releases/download/${version}/terminal-${version}.tbz";
15+ sha256 = "sha256:0vjqkvmpyi8kvmb4vrx3f0994rph8i9pvlrz1dyi126vlb2zbrvs";
16+ };
17+
18+ propagatedBuildInputs = [ stdlib-shims uutf uucp ];
19+
20+ doCheck = lib.versionAtLeast ocaml.version "4.05";
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+
pkgs/top-level/ocaml-packages.nix+2
@@ -1281,6 +1281,8 @@ let
12811281
12821282 tcslib = callPackage ../development/ocaml-modules/tcslib { };
12831283
1284+ terminal = callPackage ../development/ocaml-modules/terminal { };
1285+
12841286 terminal_size = callPackage ../development/ocaml-modules/terminal_size { };
12851287
12861288 tezos-010-PtGRANAD-test-helpers = callPackage ../development/ocaml-modules/tezos/010-PtGRANAD-test-helpers.nix { };