2019-03-20 10:39:25 +00:00
|
|
|
{ lib, fetchFromGitHub, pkgconfig, buildDunePackage, gtk3, cairo2 }:
|
2018-12-03 12:10:15 +00:00
|
|
|
|
2019-03-20 10:39:25 +00:00
|
|
|
buildDunePackage rec {
|
2019-02-26 11:01:09 +00:00
|
|
|
version = "3.0.beta5";
|
2019-02-13 21:26:50 +00:00
|
|
|
pname = "lablgtk3";
|
2019-03-20 10:39:25 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.05";
|
2019-02-13 21:26:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "garrigue";
|
|
|
|
repo = "lablgtk";
|
|
|
|
rev = version;
|
2019-02-26 11:01:09 +00:00
|
|
|
sha256 = "05n3pjy4496gbgxwbypfm2462njv6dgmvkcv26az53ianpwa4vzz";
|
2018-12-03 12:10:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-03-20 10:39:25 +00:00
|
|
|
buildInputs = [ gtk3 ];
|
2019-02-13 21:26:50 +00:00
|
|
|
propagatedBuildInputs = [ cairo2 ];
|
2018-12-03 12:10:15 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OCaml interface to gtk+-3";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|