From e286f0cf3bcffd5c0f006bb1831563d63b281fb2 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 15 Nov 2020 06:04:44 +0100 Subject: [PATCH] =?UTF-8?q?ocamlPackages.containers:=203.0=20=E2=86=92=203?= =?UTF-8?q?.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/containers/data.nix | 4 +++- pkgs/development/ocaml-modules/containers/default.nix | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/containers/data.nix b/pkgs/development/ocaml-modules/containers/data.nix index 9cbaabd9cf1..3694a7b2941 100644 --- a/pkgs/development/ocaml-modules/containers/data.nix +++ b/pkgs/development/ocaml-modules/containers/data.nix @@ -1,12 +1,14 @@ { buildDunePackage, containers +, dune-configurator , gen, iter, qcheck }: buildDunePackage { pname = "containers-data"; - inherit (containers) src version; + inherit (containers) src version useDune2; + buildInputs = [ dune-configurator ]; doCheck = true; checkInputs = [ gen iter qcheck ]; diff --git a/pkgs/development/ocaml-modules/containers/default.nix b/pkgs/development/ocaml-modules/containers/default.nix index 970122dd79f..c3847acb959 100644 --- a/pkgs/development/ocaml-modules/containers/default.nix +++ b/pkgs/development/ocaml-modules/containers/default.nix @@ -1,19 +1,23 @@ { lib, fetchFromGitHub, buildDunePackage, ocaml +, dune-configurator , seq , gen, iter, ounit, qcheck, uutf }: buildDunePackage rec { - version = "3.0"; + version = "3.0.1"; pname = "containers"; + useDune2 = true; + src = fetchFromGitHub { owner = "c-cube"; repo = "ocaml-containers"; rev = "v${version}"; - sha256 = "0c75d5csgc68qqbsdz4279nlin111zrjbg4d47k32ska28myvpqn"; + sha256 = "1m19cfcwks3xcj16nqldfb49dg0vdc7by1q1j8bpac3z2mjvks0l"; }; + buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ seq ]; checkInputs = [ gen iter ounit qcheck uutf ];