nixpkgs/pkgs/development/ocaml-modules/lablgtk3/default.nix

27 lines
717 B
Nix
Raw Normal View History

2021-04-08 13:58:09 +00:00
{ lib, fetchurl, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
buildDunePackage rec {
2020-08-15 13:47:52 +00:00
version = "3.1.1";
pname = "lablgtk3";
2021-04-08 13:58:09 +00:00
useDune2 = true;
minimumOCamlVersion = "4.05";
src = fetchurl {
url = "https://github.com/garrigue/lablgtk/releases/download/${version}/lablgtk3-${version}.tbz";
2020-08-15 13:47:52 +00:00
sha256 = "1ygc1yh99gh44h958yffw1vxdlfpn799d4x1s36c2jfbi8f0dir2";
};
nativeBuildInputs = [ pkg-config ];
2021-04-08 13:58:09 +00:00
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ gtk3 cairo2 ];
meta = {
description = "OCaml interface to GTK 3";
homepage = "http://lablgtk.forge.ocamlcore.org/";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
};
}