2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchurl, pkgconfig, buildDunePackage, gtk3, cairo2 }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "3.1.0";
|
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-05-15 21:57:56 +00:00
|
|
|
sha256 = "1fn04qwgkwc86jndlrnv4vxcmasjsp1mmcgfznahj1ccc7bv47sv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
propagatedBuildInputs = [ cairo2 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OCaml interface to GTK 3";
|
|
|
|
homepage = "http://lablgtk.forge.ocamlcore.org/";
|
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|