mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Adds ocaml-lablgtk-extras
Lablgtk-extras is a collection of libraries and modules useful when developing OCaml/LablGtk2 applications. Homepage: http://gtk-extras.forge.ocamlcore.org/
This commit is contained in:
parent
81b57bb8ef
commit
7169b87664
23
pkgs/development/ocaml-modules/lablgtk-extras/1.4.nix
Normal file
23
pkgs/development/ocaml-modules/lablgtk-extras/1.4.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, fetchurl, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml-lablgtk-extras-1.4";
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://forge.ocamlcore.org/frs/download.php/1282/lablgtkextras-1.4.tar.gz;
|
||||||
|
sha256 = "09fqxwdib7r9yxynknc9gv3jw2hnhj5cak7q5jngk6m8rzvmhfcc";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib camlp4 ];
|
||||||
|
propagatedBuildInputs = [ config-file lablgtk xmlm ];
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
platforms = ocaml.meta.platforms;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||||
|
homepage = http://gtk-extras.forge.ocamlcore.org/;
|
||||||
|
description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
|
||||||
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||||||
|
branch = "1.4";
|
||||||
|
};
|
||||||
|
}
|
24
pkgs/development/ocaml-modules/lablgtk-extras/default.nix
Normal file
24
pkgs/development/ocaml-modules/lablgtk-extras/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, fetchurl, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }:
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02";
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml-lablgtk-extras-1.5";
|
||||||
|
src = fetchurl {
|
||||||
|
url = https://forge.ocamlcore.org/frs/download.php/1453/lablgtkextras-1.5.tar.gz;
|
||||||
|
sha256 = "1bgflgadmy2nqnqjf34zja0jy6f9wpqq8x22qcfilj9g8c9wkrmi";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib camlp4 ];
|
||||||
|
propagatedBuildInputs = [ config-file lablgtk xmlm ];
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
platforms = ocaml.meta.platforms;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||||
|
homepage = http://gtk-extras.forge.ocamlcore.org/;
|
||||||
|
description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
|
||||||
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||||||
|
};
|
||||||
|
}
|
@ -3758,6 +3758,11 @@ let
|
|||||||
inherit (gnome) libgnomecanvas libglade gtksourceview;
|
inherit (gnome) libgnomecanvas libglade gtksourceview;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lablgtk-extras =
|
||||||
|
if lib.versionOlder "4.02" ocaml_version
|
||||||
|
then callPackage ../development/ocaml-modules/lablgtk-extras { }
|
||||||
|
else callPackage ../development/ocaml-modules/lablgtk-extras/1.4.nix { };
|
||||||
|
|
||||||
lablgtkmathview = callPackage ../development/ocaml-modules/lablgtkmathview {
|
lablgtkmathview = callPackage ../development/ocaml-modules/lablgtkmathview {
|
||||||
gtkmathview = callPackage ../development/libraries/gtkmathview { };
|
gtkmathview = callPackage ../development/libraries/gtkmathview { };
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user