diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/macaddr/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/macaddr/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/macaddr/default.nix b/pkgs/development/ocaml-modules/macaddr/default.nix index ab2126843a2..aac62b549d8 100644 --- a/pkgs/development/ocaml-modules/macaddr/default.nix +++ b/pkgs/development/ocaml-modules/macaddr/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchurl, buildDunePackage +{ lib, fetchurl, buildDunePackage, ocaml , ppx_sexp_conv, ounit2 }: @@ -7,7 +7,6 @@ buildDunePackage rec { version = "5.4.0"; minimalOCamlVersion = "4.04"; - duneVersion = "3"; src = fetchurl { url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz"; @@ -15,7 +14,7 @@ buildDunePackage rec { }; checkInputs = [ ppx_sexp_conv ounit2 ]; - doCheck = true; + doCheck = lib.versionAtLeast ocaml.version "4.08"; meta = with lib; { homepage = "https://github.com/mirage/ocaml-ipaddr"; |