1be0098156
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
29 lines
704 B
Nix
29 lines
704 B
Nix
{ lib, fetchFromGitHub, pkg-config, buildDunePackage, dune-configurator
|
|
, gtk3, cairo2
|
|
, camlp-streams
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
version = "3.1.3";
|
|
pname = "lablgtk3";
|
|
|
|
minimalOCamlVersion = "4.05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "garrigue";
|
|
repo = "lablgtk";
|
|
rev = version;
|
|
sha256 = "sha256-1kXJP+tKudP3qfosTgZAQueNK46H9aLevEj6wxPKDWY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ dune-configurator camlp-streams ];
|
|
propagatedBuildInputs = [ gtk3 cairo2 ];
|
|
|
|
meta = {
|
|
description = "OCaml interface to GTK 3";
|
|
homepage = "http://lablgtk.forge.ocamlcore.org/";
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|