Commit 41b66071 authored by Tobiasz Laskowski's avatar Tobiasz Laskowski
Browse files

ocamlPackages.luv: clean up ocaml version handling

OCaml 4.08 and below has been removed from nix so we can assume we have
at least 4.09.
parent 4c4626a7
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
{
  lib,
  buildDunePackage,
  ocaml,
  fetchurl,
  ctypes,
  result,
@@ -19,8 +18,6 @@ let
      pname = "luv";
      inherit version;

      minimalOCamlVersion = "4.03";

      src = fetchurl {
        url = "https://github.com/aantron/luv/releases/download/${version}/luv-${version}.tar.gz";
        inherit sha256;
@@ -40,8 +37,7 @@ let
        result
      ];
      checkInputs = [ alcotest ];
      # Alcotest depends on fmt that needs 4.08 or newer
      doCheck = lib.versionAtLeast ocaml.version "4.08";
      doCheck = true;

      meta = {
        homepage = "https://github.com/aantron/luv";