2019-05-10 14:14:11 +02:00
|
|
|
{ lib, fetchurl, pkgconfig, buildDunePackage, gtk3, cairo2 }:
|
2018-12-03 13:10:15 +01:00
|
|
|
|
2019-03-20 11:39:25 +01:00
|
|
|
buildDunePackage rec {
|
2020-02-01 12:20:32 +01:00
|
|
|
version = "3.1.0";
|
2019-02-13 22:26:50 +01:00
|
|
|
pname = "lablgtk3";
|
2019-03-20 11:39:25 +01:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.05";
|
2019-02-13 22:26:50 +01:00
|
|
|
|
2019-05-10 14:14:11 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/garrigue/lablgtk/releases/download/${version}/lablgtk3-${version}.tbz";
|
2020-02-01 12:20:32 +01:00
|
|
|
sha256 = "1fn04qwgkwc86jndlrnv4vxcmasjsp1mmcgfznahj1ccc7bv47sv";
|
2018-12-03 13:10:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-03-20 11:39:25 +01:00
|
|
|
buildInputs = [ gtk3 ];
|
2019-02-13 22:26:50 +01:00
|
|
|
propagatedBuildInputs = [ cairo2 ];
|
2018-12-03 13:10:15 +01:00
|
|
|
|
|
|
|
meta = {
|
2019-09-04 00:49:40 +02:00
|
|
|
description = "OCaml interface to GTK 3";
|
2018-12-03 13:10:15 +01:00
|
|
|
homepage = "http://lablgtk.forge.ocamlcore.org/";
|
2019-02-13 22:26:50 +01:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-12-03 13:10:15 +01:00
|
|
|
};
|
|
|
|
}
|