nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at fix-function-merge 29 lines 743 B view raw
1{ lib, buildDunePackage, fetchurl, ocaml 2, stdlib-shims, uutf, uucp 3, alcotest, fmt 4}: 5 6buildDunePackage rec { 7 pname = "terminal"; 8 version = "0.4.0"; 9 10 minimalOCamlVersion = "4.03"; 11 12 src = fetchurl { 13 url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz"; 14 hash = "sha256-i+RJVTN5uy3F6LeYBcgER2kKA9yj6a7pWf7PRtgnj7c="; 15 }; 16 17 propagatedBuildInputs = [ stdlib-shims uutf uucp ]; 18 19 doCheck = lib.versionAtLeast ocaml.version "4.08"; 20 checkInputs = [ alcotest fmt ]; 21 22 meta = with lib; { 23 description = "Basic utilities for interacting with terminals"; 24 homepage = "https://github.com/CraigFe/progress"; 25 license = licenses.mit; 26 maintainers = [ maintainers.vbgl ]; 27 }; 28} 29