ocamlPackages.terminal_size: init at 0.1.4

This commit is contained in:
sternenseemann 2021-01-18 14:25:08 +01:00 committed by Vincent Laporte
parent e5ce05cc1e
commit b4668b2699
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildDunePackage, fetchurl, alcotest }:
buildDunePackage rec {
pname = "terminal_size";
version = "0.1.4";
useDune2 = true;
src = fetchurl {
url = "https://github.com/cryptosense/terminal_size/releases/download/v${version}/terminal_size-v${version}.tbz";
sha256 = "fdca1fee7d872c4a8e5ab003d9915b6782b272e2a3661ca877f2d78dd25371a7";
};
checkInputs = [ alcotest ];
doCheck = true;
meta = with lib; {
description = "Get the dimensions of the terminal";
homepage = "https://github.com/cryptosense/terminal_size";
license = licenses.bsd2;
maintainers = [ maintainers.sternenseemann ];
};
}

View file

@ -1050,6 +1050,8 @@ let
tcslib = callPackage ../development/ocaml-modules/tcslib { };
terminal_size = callPackage ../development/ocaml-modules/terminal_size { };
toml = callPackage ../development/ocaml-modules/toml { };
topkg = callPackage ../development/ocaml-modules/topkg { };