Unverified Commit b4e057c8 authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.dose3: cleanup

parent 635e71f6
Loading
Loading
Loading
Loading
+5 −15
Original line number Diff line number Diff line
{ lib, buildDunePackage, fetchFromGitLab
, camlzip, ocamlgraph, parmap, re, stdlib-shims
, base64, bz2, extlib, cudf
, dpkg, git, ocaml, ounit, python39, python39Packages
, ocamlgraph, parmap, re, stdlib-shims
, base64, extlib, cudf
, ocaml, ounit
}:

buildDunePackage rec {
@@ -15,8 +15,7 @@ buildDunePackage rec {
    sha256 = "sha256-K0fYSAWV48Rers/foDrEIqieyJ0PvpXkuYrFrZGBkkE=";
  };

  minimalOCamlVersion = "4.03";
  useDune2 = true;
  minimalOCamlVersion = "4.07";

  buildInputs = [
    parmap
@@ -24,8 +23,6 @@ buildDunePackage rec {

  propagatedBuildInputs = [
    base64
    bz2
    camlzip
    cudf
    extlib
    ocamlgraph
@@ -33,17 +30,10 @@ buildDunePackage rec {
    stdlib-shims
  ];

  nativeCheckInputs = [
    python39                  # Replaces: conf-python-3
    python39Packages.pyyaml   # Replaces: conf-python3-yaml
    git
  ];
  checkInputs = [
    dpkg                      # Replaces: conf-dpkg
    ounit
  ];
  doCheck = false; # Tests are failing.
                   # To enable tests use: lib.versionAtLeast ocaml.version "4.04";
  doCheck = lib.versionAtLeast ocaml.version "4.08";

  meta = with lib; {
    description = "Dose library (part of Mancoosi tools)";