aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix4
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers/default.nix8
2 files changed, 9 insertions, 3 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix b/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix
index 9cbaabd9cf1e..3694a7b2941b 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix
+++ b/infra/libkookie/nixpkgs/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/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers/default.nix b/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers/default.nix
index 970122dd79f3..c3847acb9594 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/containers/default.nix
+++ b/infra/libkookie/nixpkgs/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 ];