ocamlPackages.lablgtk3: fix version reporting

This commit is contained in:
Théo Zimmermann 2022-01-20 14:17:34 +01:00 committed by Vincent Laporte
parent b4797eaffc
commit 86ece89658

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
{ lib, fetchFromGitHub, fetchpatch, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
buildDunePackage rec {
version = "3.1.2";
@ -15,6 +15,11 @@ buildDunePackage rec {
sha256 = "sha256:0b17w9qb1f02h3313cm62mrqlhwxficppzm72n7sf8mmwrylxbm7";
};
patches = [ (fetchpatch {
name = "dune-project.patch";
url = "https://raw.githubusercontent.com/ocaml/opam-repository/10a48cb9fab88f67f6cb70280e0fec035c32d41c/packages/lablgtk3/lablgtk3.3.1.2/files/dune-project.patch";
sha256 = "03jf5hclqdq7iq84djaqcnfnnnd7z3hb48rr8n1gyxzjyx86b3fh";
}) ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ gtk3 cairo2 ];