Merge pull request #155014 from vbgl/ocaml-progress-0.2.1

ocamlPackages.progress: 0.1.1 → 0.2.1

authored by sterni and committed by GitHub b65da092 297cb651

+67 -13
+3 -3
pkgs/development/ocaml-modules/index/default.nix
··· 6 7 buildDunePackage rec { 8 pname = "index"; 9 - version = "1.4.0"; 10 11 src = fetchurl { 12 url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz"; 13 - sha256 = "13xd858c50fs651p1y8x70323ff0gzbf6zgc0a25f6xh3rsmkn4c"; 14 }; 15 16 - minimumOCamlVersion = "4.08"; 17 useDune2 = true; 18 19 buildInputs = [
··· 6 7 buildDunePackage rec { 8 pname = "index"; 9 + version = "1.4.1"; 10 11 src = fetchurl { 12 url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz"; 13 + sha256 = "sha256:01i24m1xh7vn44sq7gsxg1z0jxa6rg80bpjcp3cvg6zfjpsl7sfx"; 14 }; 15 16 + minimalOCamlVersion = "4.08"; 17 useDune2 = true; 18 19 buildInputs = [
+7 -10
pkgs/development/ocaml-modules/progress/default.nix
··· 1 - { lib, buildDunePackage, fetchurl 2 - , mtime, terminal_size, alcotest, astring, fmt 3 }: 4 5 buildDunePackage rec { 6 pname = "progress"; 7 - version = "0.1.1"; 8 9 - minimumOCamlVersion = "4.08"; 10 useDune2 = true; 11 12 - src = fetchurl { 13 - url = "https://github.com/CraigFe/progress/releases/download/${version}/progress-${version}.tbz"; 14 - sha256 = "90c6bec19d014a4c6b0b67006f08bdfcf36981d2176769bebe0ccd75d6785a32"; 15 - }; 16 17 - propagatedBuildInputs = [ mtime terminal_size ]; 18 19 doCheck = true; 20 - checkInputs = [ alcotest astring fmt ]; 21 22 meta = with lib; { 23 description = "Progress bar library for OCaml";
··· 1 + { lib, buildDunePackage 2 + , fmt, logs, mtime, optint, terminal, vector 3 + , alcotest, astring 4 }: 5 6 buildDunePackage rec { 7 pname = "progress"; 8 9 + minimalOCamlVersion = "4.08"; 10 useDune2 = true; 11 12 + inherit (terminal) version src; 13 14 + propagatedBuildInputs = [ fmt logs mtime optint terminal vector ]; 15 16 doCheck = true; 17 + checkInputs = [ alcotest astring ]; 18 19 meta = with lib; { 20 description = "Progress bar library for OCaml";
+30
pkgs/development/ocaml-modules/terminal/default.nix
···
··· 1 + { lib, buildDunePackage, fetchurl, ocaml 2 + , stdlib-shims, uutf, uucp 3 + , alcotest, fmt 4 + }: 5 + 6 + buildDunePackage rec { 7 + pname = "terminal"; 8 + version = "0.2.1"; 9 + 10 + minimalOCamlVersion = "4.03"; 11 + useDune2 = true; 12 + 13 + src = fetchurl { 14 + url = "https://github.com/CraigFe/progress/releases/download/${version}/terminal-${version}.tbz"; 15 + sha256 = "sha256:0vjqkvmpyi8kvmb4vrx3f0994rph8i9pvlrz1dyi126vlb2zbrvs"; 16 + }; 17 + 18 + propagatedBuildInputs = [ stdlib-shims uutf uucp ]; 19 + 20 + doCheck = lib.versionAtLeast ocaml.version "4.05"; 21 + checkInputs = [ alcotest fmt ]; 22 + 23 + meta = with lib; { 24 + description = "Basic utilities for interacting with terminals"; 25 + homepage = "https://github.com/CraigFe/progress"; 26 + license = licenses.mit; 27 + maintainers = [ maintainers.vbgl ]; 28 + }; 29 + } 30 +
+23
pkgs/development/ocaml-modules/vector/default.nix
···
··· 1 + { lib, buildDunePackage, fetchurl }: 2 + 3 + buildDunePackage rec { 4 + pname = "vector"; 5 + version = "1.0.0"; 6 + 7 + useDune2 = true; 8 + 9 + src = fetchurl { 10 + url = "https://github.com/backtracking/vector/releases/download/${version}/vector-${version}.tbz"; 11 + sha256 = "sha256:0hb6prpada4c5z07sxf5ayj5xbahsnwall15vaqdwdyfjgbd24pj"; 12 + }; 13 + 14 + doCheck = true; 15 + 16 + meta = { 17 + description = "Resizable arrays for OCaml"; 18 + license = lib.licenses.lgpl2Only; 19 + homepage = "https://github.com/backtracking/vector"; 20 + maintainers = [ lib.maintainers.vbgl ]; 21 + }; 22 + 23 + }
+4
pkgs/top-level/ocaml-packages.nix
··· 1281 1282 tcslib = callPackage ../development/ocaml-modules/tcslib { }; 1283 1284 terminal_size = callPackage ../development/ocaml-modules/terminal_size { }; 1285 1286 tezos-010-PtGRANAD-test-helpers = callPackage ../development/ocaml-modules/tezos/010-PtGRANAD-test-helpers.nix { }; ··· 1371 uuuu = callPackage ../development/ocaml-modules/uuuu { }; 1372 1373 vchan = callPackage ../development/ocaml-modules/vchan { }; 1374 1375 vg = callPackage ../development/ocaml-modules/vg { }; 1376
··· 1281 1282 tcslib = callPackage ../development/ocaml-modules/tcslib { }; 1283 1284 + terminal = callPackage ../development/ocaml-modules/terminal { }; 1285 + 1286 terminal_size = callPackage ../development/ocaml-modules/terminal_size { }; 1287 1288 tezos-010-PtGRANAD-test-helpers = callPackage ../development/ocaml-modules/tezos/010-PtGRANAD-test-helpers.nix { }; ··· 1373 uuuu = callPackage ../development/ocaml-modules/uuuu { }; 1374 1375 vchan = callPackage ../development/ocaml-modules/vchan { }; 1376 + 1377 + vector = callPackage ../development/ocaml-modules/vector { }; 1378 1379 vg = callPackage ../development/ocaml-modules/vg { }; 1380