nixpkgs/pkgs/development/ocaml-modules/lablgtk3/default.nix
2024-08-21 10:48:07 +02:00

28 lines
725 B
Nix

{ lib, fetchurl, pkg-config, buildDunePackage, dune-configurator
, gtk3, cairo2
, camlp-streams
}:
buildDunePackage rec {
version = "3.1.5";
pname = "lablgtk3";
minimalOCamlVersion = "4.05";
src = fetchurl {
url = "https://github.com/garrigue/lablgtk/releases/download/${version}/lablgtk3-${version}.tbz";
hash = "sha256-1IIc2+zzrjdPIDF9Y+Q/5YAww7qWV7UaLoPmUhl+jqw=";
};
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 ];
};
}