ocamlPackages.lablgtk3: 3.1.2 → 3.1.3
This commit is contained in:
parent
589445ea6f
commit
163a3544a8
|
@ -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 {
|
buildDunePackage rec {
|
||||||
version = "3.1.2";
|
version = "3.1.3";
|
||||||
pname = "lablgtk3";
|
pname = "lablgtk3";
|
||||||
|
|
||||||
useDune2 = true;
|
|
||||||
|
|
||||||
minimalOCamlVersion = "4.05";
|
minimalOCamlVersion = "4.05";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "garrigue";
|
owner = "garrigue";
|
||||||
repo = "lablgtk";
|
repo = "lablgtk";
|
||||||
rev = version;
|
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 ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ dune-configurator ];
|
buildInputs = [ dune-configurator camlp-streams ];
|
||||||
propagatedBuildInputs = [ gtk3 cairo2 ];
|
propagatedBuildInputs = [ gtk3 cairo2 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -4,5 +4,5 @@ buildDunePackage {
|
||||||
pname = "lablgtk3-gtkspell3";
|
pname = "lablgtk3-gtkspell3";
|
||||||
buildInputs = [ gtkspell3 ] ++ lablgtk3.buildInputs;
|
buildInputs = [ gtkspell3 ] ++ lablgtk3.buildInputs;
|
||||||
propagatedBuildInputs = [ lablgtk3 ];
|
propagatedBuildInputs = [ lablgtk3 ];
|
||||||
inherit (lablgtk3) src version useDune2 meta nativeBuildInputs;
|
inherit (lablgtk3) src version meta nativeBuildInputs;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,5 +4,5 @@ buildDunePackage {
|
||||||
pname = "lablgtk3-sourceview3";
|
pname = "lablgtk3-sourceview3";
|
||||||
buildInputs = lablgtk3.buildInputs ++ [ gtksourceview ];
|
buildInputs = lablgtk3.buildInputs ++ [ gtksourceview ];
|
||||||
propagatedBuildInputs = [ lablgtk3 ];
|
propagatedBuildInputs = [ lablgtk3 ];
|
||||||
inherit (lablgtk3) src version useDune2 meta nativeBuildInputs;
|
inherit (lablgtk3) src version meta nativeBuildInputs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue