ocamlPackages.lablgtk3: use Dune 2
This commit is contained in:
parent
98d6b081d1
commit
e3aa8c650b
@ -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 = {
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user