1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

ocamlPackages.lablgtk3: 3.1.4 → 3.1.5

This commit is contained in:
Vincent Laporte 2024-08-14 10:52:35 +02:00 committed by Vincent Laporte
parent 83753f08b4
commit b08dad9f35

View file

@ -1,24 +1,17 @@
{ 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 ];