2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchurl, pkg-config, buildDunePackage, gtk3, cairo2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "3.1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "lablgtk3";
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.05";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/garrigue/lablgtk/releases/download/${version}/lablgtk3-${version}.tbz";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "1ygc1yh99gh44h958yffw1vxdlfpn799d4x1s36c2jfbi8f0dir2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-09-25 04:45:31 +00:00
|
|
|
propagatedBuildInputs = [ gtk3 cairo2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OCaml interface to GTK 3";
|
|
|
|
homepage = "http://lablgtk.forge.ocamlcore.org/";
|
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|