ocamlPackages.dose3: cleanup

This commit is contained in:
Vincent Laporte 2023-06-13 06:25:34 +02:00
parent 635e71f62c
commit b4e057c88d
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,7 +1,7 @@
{ lib, buildDunePackage, fetchFromGitLab { lib, buildDunePackage, fetchFromGitLab
, camlzip, ocamlgraph, parmap, re, stdlib-shims , ocamlgraph, parmap, re, stdlib-shims
, base64, bz2, extlib, cudf , base64, extlib, cudf
, dpkg, git, ocaml, ounit, python39, python39Packages , ocaml, ounit
}: }:
buildDunePackage rec { buildDunePackage rec {
@ -15,8 +15,7 @@ buildDunePackage rec {
sha256 = "sha256-K0fYSAWV48Rers/foDrEIqieyJ0PvpXkuYrFrZGBkkE="; sha256 = "sha256-K0fYSAWV48Rers/foDrEIqieyJ0PvpXkuYrFrZGBkkE=";
}; };
minimalOCamlVersion = "4.03"; minimalOCamlVersion = "4.07";
useDune2 = true;
buildInputs = [ buildInputs = [
parmap parmap
@ -24,8 +23,6 @@ buildDunePackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
base64 base64
bz2
camlzip
cudf cudf
extlib extlib
ocamlgraph ocamlgraph
@ -33,17 +30,10 @@ buildDunePackage rec {
stdlib-shims stdlib-shims
]; ];
nativeCheckInputs = [
python39 # Replaces: conf-python-3
python39Packages.pyyaml # Replaces: conf-python3-yaml
git
];
checkInputs = [ checkInputs = [
dpkg # Replaces: conf-dpkg
ounit ounit
]; ];
doCheck = false; # Tests are failing. doCheck = lib.versionAtLeast ocaml.version "4.08";
# To enable tests use: lib.versionAtLeast ocaml.version "4.04";
meta = with lib; { meta = with lib; {
description = "Dose library (part of Mancoosi tools)"; description = "Dose library (part of Mancoosi tools)";