ocamlPackages.lablgtk3: init at 3.0.beta1
This commit is contained in:
parent
eb250e2ddd
commit
113a7562fe
27
pkgs/development/ocaml-modules/lablgtk3/default.nix
Normal file
27
pkgs/development/ocaml-modules/lablgtk3/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, ocaml, findlib, gtk3, gtkspell3, gtksourceview }:
|
||||||
|
|
||||||
|
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||||
|
then throw "lablgtk3 is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "3.0.beta1";
|
||||||
|
name = "ocaml${ocaml.version}-lablgtk3-${version}";
|
||||||
|
src = fetchurl {
|
||||||
|
url = https://forge.ocamlcore.org/frs/download.php/1769/lablgtk-3.0.beta1.tar.gz;
|
||||||
|
sha256 = "08izn2kwxdz1i74m11lqkl9n50bs7sy6pl8mcq6br77znarvqb91";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
buildInputs = [ ocaml findlib gtk3 gtkspell3 gtksourceview ];
|
||||||
|
|
||||||
|
buildFlags = "world";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "OCaml interface to gtk+-3";
|
||||||
|
homepage = "http://lablgtk.forge.ocamlcore.org/";
|
||||||
|
license = stdenv.lib.licenses.lgpl21;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||||
|
inherit (ocaml.meta) platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -361,6 +361,8 @@ let
|
|||||||
|
|
||||||
lablgl = callPackage ../development/ocaml-modules/lablgl { };
|
lablgl = callPackage ../development/ocaml-modules/lablgl { };
|
||||||
|
|
||||||
|
lablgtk3 = callPackage ../development/ocaml-modules/lablgtk3 { };
|
||||||
|
|
||||||
lablgtk_2_14 = callPackage ../development/ocaml-modules/lablgtk/2.14.0.nix {
|
lablgtk_2_14 = callPackage ../development/ocaml-modules/lablgtk/2.14.0.nix {
|
||||||
inherit (pkgs.gnome2) libgnomecanvas libglade gtksourceview;
|
inherit (pkgs.gnome2) libgnomecanvas libglade gtksourceview;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user