2022-10-27 14:32:42 +00:00
|
|
|
{ lib, fetchFromGitHub, pkg-config, buildDunePackage, dune-configurator
|
|
|
|
, gtk3, cairo2
|
|
|
|
, camlp-streams
|
|
|
|
}:
|
2018-12-03 12:10:15 +00:00
|
|
|
|
2019-03-20 10:39:25 +00:00
|
|
|
buildDunePackage rec {
|
2022-10-27 14:32:42 +00:00
|
|
|
version = "3.1.3";
|
2019-02-13 21:26:50 +00:00
|
|
|
pname = "lablgtk3";
|
2019-03-20 10:39:25 +00:00
|
|
|
|
2022-01-13 10:06:04 +00:00
|
|
|
minimalOCamlVersion = "4.05";
|
2019-02-13 21:26:50 +00:00
|
|
|
|
2022-01-13 10:06:04 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "garrigue";
|
|
|
|
repo = "lablgtk";
|
|
|
|
rev = version;
|
2022-10-27 14:32:42 +00:00
|
|
|
sha256 = "sha256-1kXJP+tKudP3qfosTgZAQueNK46H9aLevEj6wxPKDWY=";
|
2018-12-03 12:10:15 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2022-10-27 14:32:42 +00:00
|
|
|
buildInputs = [ dune-configurator camlp-streams ];
|
2020-08-21 08:52:11 +00:00
|
|
|
propagatedBuildInputs = [ gtk3 cairo2 ];
|
2018-12-03 12:10:15 +00:00
|
|
|
|
|
|
|
meta = {
|
2019-09-03 22:49:40 +00: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
|
|
|
};
|
|
|
|
}
|