ocamlPackages.lablgtk3: use Dune 2

This commit is contained in:
Vincent Laporte 2021-04-08 15:58:09 +02:00 committed by Vincent Laporte
parent 98d6b081d1
commit e3aa8c650b
3 changed files with 6 additions and 3 deletions

View File

@ -1,9 +1,11 @@
{ lib, fetchurl, pkg-config, buildDunePackage, gtk3, cairo2 }:
{ lib, fetchurl, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
buildDunePackage rec {
version = "3.1.1";
pname = "lablgtk3";
useDune2 = true;
minimumOCamlVersion = "4.05";
src = fetchurl {
@ -12,6 +14,7 @@ buildDunePackage rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ gtk3 cairo2 ];
meta = {

View File

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

View File

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