Unverified Commit 82963b47 authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.extunix: fix

Fix src url (now the package knows about its version).

Set minimalOCamlVersion (this library needs ppxlib ≥ 0.36).
parent b585cdcd
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  fetchurl,
  dune-configurator,
  ppxlib,
}:
@@ -10,11 +10,11 @@ buildDunePackage (finalAttrs: {
  pname = "extunix";
  version = "0.4.4";

  src = fetchFromGitHub {
    owner = "ygrek";
    repo = "extunix";
    tag = "v${finalAttrs.version}";
    hash = "sha256-7wJDGv19etkDHRwwQ+WONtJswxNMjr2Q2Vhis4WgFek=";
  minimalOCamlVersion = "5.3.0";

  src = fetchurl {
    url = "https://github.com/ygrek/extunix/releases/download/v${finalAttrs.version}/extunix-${finalAttrs.version}.tbz";
    hash = "sha256-kzTIkjFiI+aK73lcpystQp1O7Apkf0GLA142oFPRSX0=";
  };

  postPatch = ''