Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
783 B
Nix
43 lines
783 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
ocaml,
|
|
stdlib-shims,
|
|
uutf,
|
|
uucp,
|
|
alcotest,
|
|
fmt,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "terminal";
|
|
version = "0.4.0";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz";
|
|
hash = "sha256-i+RJVTN5uy3F6LeYBcgER2kKA9yj6a7pWf7PRtgnj7c=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
stdlib-shims
|
|
uutf
|
|
uucp
|
|
];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
checkInputs = [
|
|
alcotest
|
|
fmt
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Basic utilities for interacting with terminals";
|
|
homepage = "https://github.com/CraigFe/progress";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.vbgl ];
|
|
};
|
|
}
|