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