ocamlPackages.containers: 3.6.1 → 3.9

This commit is contained in:
Vincent Laporte 2022-07-13 17:10:27 +02:00 committed by Vincent Laporte
parent b55563cc57
commit a8ce8ba5dc
2 changed files with 7 additions and 9 deletions

View File

@ -1,15 +1,15 @@
{ buildDunePackage, containers { buildDunePackage, containers
, dune-configurator , dune-configurator
, gen, iter, qcheck , gen, iter, qcheck-core
}: }:
buildDunePackage { buildDunePackage {
pname = "containers-data"; pname = "containers-data";
inherit (containers) src version doCheck useDune2; inherit (containers) src version doCheck;
buildInputs = [ dune-configurator ]; buildInputs = [ dune-configurator ];
checkInputs = [ gen iter qcheck ]; checkInputs = [ gen iter qcheck-core ];
propagatedBuildInputs = [ containers ]; propagatedBuildInputs = [ containers ];

View File

@ -1,26 +1,24 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml { lib, fetchFromGitHub, buildDunePackage, ocaml
, dune-configurator , dune-configurator
, either, seq , either, seq
, gen, iter, ounit, qcheck, uutf , gen, iter, qcheck-core, uutf, yojson
}: }:
buildDunePackage rec { buildDunePackage rec {
version = "3.6.1"; version = "3.9";
pname = "containers"; pname = "containers";
useDune2 = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "c-cube"; owner = "c-cube";
repo = "ocaml-containers"; repo = "ocaml-containers";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256:1k8xrs3nki8g875sig9f5v6k4vwxrk5gn7ixrlkkys5ksbr4kis7"; sha256 = "sha256-uQyKBSXgf3kGx5HvS2VQrrkh0WqNZfxr5j8tTRjeTX4=";
}; };
buildInputs = [ dune-configurator ]; buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ either seq ]; propagatedBuildInputs = [ either seq ];
checkInputs = [ gen iter ounit qcheck uutf ]; checkInputs = [ gen iter qcheck-core uutf yojson ];
doCheck = lib.versionAtLeast ocaml.version "4.08"; doCheck = lib.versionAtLeast ocaml.version "4.08";