2021-04-08 14:58:09 +01:00
|
|
|
{ lib, fetchurl, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
|
2018-12-03 12:10:15 +00:00
|
|
|
|
2019-03-20 10:39:25 +00:00
|
|
|
buildDunePackage rec {
|
2020-08-15 14:47:52 +01:00
|
|
|
version = "3.1.1";
|
2019-02-13 21:26:50 +00:00
|
|
|
pname = "lablgtk3";
|
2019-03-20 10:39:25 +00:00
|
|
|
|
2021-04-08 14:58:09 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-03-20 10:39:25 +00:00
|
|
|
minimumOCamlVersion = "4.05";
|
2019-02-13 21:26:50 +00:00
|
|
|
|
2019-05-10 13:14:11 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/garrigue/lablgtk/releases/download/${version}/lablgtk3-${version}.tbz";
|
2020-08-15 14:47:52 +01:00
|
|
|
sha256 = "1ygc1yh99gh44h958yffw1vxdlfpn799d4x1s36c2jfbi8f0dir2";
|
2018-12-03 12:10:15 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-04-08 14:58:09 +01:00
|
|
|
buildInputs = [ dune-configurator ];
|
2020-08-21 09:52:11 +01:00
|
|
|
propagatedBuildInputs = [ gtk3 cairo2 ];
|
2018-12-03 12:10:15 +00:00
|
|
|
|
|
|
|
meta = {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "OCaml interface to GTK 3";
|
2018-12-03 12:10:15 +00:00
|
|
|
homepage = "http://lablgtk.forge.ocamlcore.org/";
|
2019-02-13 21:26:50 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-12-03 12:10:15 +00:00
|
|
|
};
|
|
|
|
}
|