ocamlPackages.lablgtk3: 3.1.2 → 3.1.3

This commit is contained in:
Vincent Laporte 2022-10-27 16:32:42 +02:00 committed by Vincent Laporte
parent 589445ea6f
commit 163a3544a8
3 changed files with 9 additions and 13 deletions

View file

@ -1,27 +1,23 @@
{ lib, fetchFromGitHub, fetchpatch, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
{ lib, fetchFromGitHub, pkg-config, buildDunePackage, dune-configurator
, gtk3, cairo2
, camlp-streams
}:
buildDunePackage rec {
version = "3.1.2";
version = "3.1.3";
pname = "lablgtk3";
useDune2 = true;
minimalOCamlVersion = "4.05";
src = fetchFromGitHub {
owner = "garrigue";
repo = "lablgtk";
rev = version;
sha256 = "sha256:0b17w9qb1f02h3313cm62mrqlhwxficppzm72n7sf8mmwrylxbm7";
sha256 = "sha256-1kXJP+tKudP3qfosTgZAQueNK46H9aLevEj6wxPKDWY=";
};
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 ];
buildInputs = [ dune-configurator camlp-streams ];
propagatedBuildInputs = [ gtk3 cairo2 ];
meta = {

View file

@ -4,5 +4,5 @@ buildDunePackage {
pname = "lablgtk3-gtkspell3";
buildInputs = [ gtkspell3 ] ++ lablgtk3.buildInputs;
propagatedBuildInputs = [ lablgtk3 ];
inherit (lablgtk3) src version useDune2 meta nativeBuildInputs;
inherit (lablgtk3) src version meta nativeBuildInputs;
}

View file

@ -4,5 +4,5 @@ buildDunePackage {
pname = "lablgtk3-sourceview3";
buildInputs = lablgtk3.buildInputs ++ [ gtksourceview ];
propagatedBuildInputs = [ lablgtk3 ];
inherit (lablgtk3) src version useDune2 meta nativeBuildInputs;
inherit (lablgtk3) src version meta nativeBuildInputs;
}