evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / ocaml-modules / terminal_size / default.nix
blob228a6f222efc9f4f526ce1c709cece9d83b77e8f
1 { lib, buildDunePackage, ocaml, fetchurl, alcotest }:
3 buildDunePackage rec {
4   pname = "terminal_size";
5   version = "0.2.0";
7   duneVersion = "3";
9   src = fetchurl {
10     url = "https://github.com/cryptosense/terminal_size/releases/download/v${version}/terminal_size-${version}.tbz";
11     hash = "sha256-1rYs0oxAcayFypUoCIdFwSTJCU7+rpFyJRRzb5lzsPs=";
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   };