Files
nixpkgs/pkgs/development/ocaml-modules/terminal/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
781 B
Nix

{
lib,
buildDunePackage,
fetchurl,
ocaml,
stdlib-shims,
uutf,
uucp,
alcotest,
fmt,
}:
buildDunePackage rec {
pname = "terminal";
version = "0.5.0";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz";
hash = "sha256-f4fwWXNjkoxFuoWa5aFDD2qjwp4lH/GlPPeG7Q4EWWE=";
};
propagatedBuildInputs = [
stdlib-shims
uutf
uucp
];
doCheck = lib.versionAtLeast ocaml.version "4.08";
checkInputs = [
alcotest
fmt
];
meta = {
description = "Basic utilities for interacting with terminals";
homepage = "https://github.com/CraigFe/progress";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}