Commit b08dad9f authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.lablgtk3: 3.1.4 → 3.1.5

parent 83753f08
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
{ lib, fetchurl, fetchpatch, pkg-config, buildDunePackage, dune-configurator
{ lib, fetchurl, pkg-config, buildDunePackage, dune-configurator
, gtk3, cairo2
, camlp-streams
}:

buildDunePackage rec {
  version = "3.1.4";
  version = "3.1.5";
  pname = "lablgtk3";

  minimalOCamlVersion = "4.05";

  src = fetchurl {
    url = "https://github.com/garrigue/lablgtk/releases/download/${version}/lablgtk3-${version}.tbz";
    hash = "sha256-bxEVMzfnaH5yHVxAmifNYOy8GnSivLLgSE/9+1yxBI4=";
  };

  # Fix build with clang 16
  # See: https://github.com/garrigue/lablgtk/pull/175
  patches = fetchpatch {
    url = "https://github.com/garrigue/lablgtk/commit/a9b64b9ed8a13855c672cde0a2d9f78687f4214b.patch";
    hash = "sha256-j/L+yYKLlj410jx2VG77hnn9SVHCcSzmr3wpOMZhX5w=";
    hash = "sha256-1IIc2+zzrjdPIDF9Y+Q/5YAww7qWV7UaLoPmUhl+jqw=";
  };

  nativeBuildInputs = [ pkg-config ];