2022-11-04 12:27:35 +00:00
|
|
|
{ lib, fetchFromGitHub, pkg-config, buildDunePackage, dune-configurator
|
|
|
|
, gtk3, cairo2
|
|
|
|
, camlp-streams
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "3.1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "lablgtk3";
|
|
|
|
|
2022-01-22 01:22:15 +00:00
|
|
|
minimalOCamlVersion = "4.05";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-01-22 01:22:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "garrigue";
|
|
|
|
repo = "lablgtk";
|
|
|
|
rev = version;
|
2022-11-04 12:27:35 +00:00
|
|
|
sha256 = "sha256-1kXJP+tKudP3qfosTgZAQueNK46H9aLevEj6wxPKDWY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2022-11-04 12:27:35 +00:00
|
|
|
buildInputs = [ dune-configurator camlp-streams ];
|
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 ];
|
|
|
|
};
|
|
|
|
}
|