mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
28 lines
725 B
Nix
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 ];
|
|
};
|
|
}
|