python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / terminal_size / default.nix
blobfa6bd003eaec6b47c58df528c201b11e6a2c2a3d
1 { lib, buildDunePackage, ocaml, fetchurl, alcotest }:
3 buildDunePackage rec {
4   pname = "terminal_size";
5   version = "0.1.4";
7   useDune2 = true;
9   src = fetchurl {
10     url = "https://github.com/cryptosense/terminal_size/releases/download/v${version}/terminal_size-v${version}.tbz";
11     sha256 = "fdca1fee7d872c4a8e5ab003d9915b6782b272e2a3661ca877f2d78dd25371a7";
12   };
14   checkInputs = [ alcotest ];
15   doCheck = lib.versionAtLeast ocaml.version "4.08";
17   meta = with lib; {
18     description = "Get the dimensions of the terminal";
19     homepage = "https://github.com/cryptosense/terminal_size";
20     license = licenses.bsd2;
21     maintainers = [ maintainers.sternenseemann ];
22   };