mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
lablgtk: update 2.16.0 -> 2.18.2
This commit is contained in:
parent
ef169ca69d
commit
59a184824f
@ -3,16 +3,16 @@
|
|||||||
let
|
let
|
||||||
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
||||||
pname = "lablgtk";
|
pname = "lablgtk";
|
||||||
version = "2.16.0";
|
version = "2.18.2";
|
||||||
in
|
in
|
||||||
|
|
||||||
assert stdenv.lib.versionAtLeast ocaml_version "3.12";
|
assert stdenv.lib.versionAtLeast ocaml_version "3.12";
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://forge.ocamlcore.org/frs/download.php/979/${name}.tar.gz";
|
url = https://forge.ocamlcore.org/frs/download.php/1456/lablgtk-2.18.2.tar.gz;
|
||||||
sha256 = "a0ea9752eb257dadcfc2914408fff339d4c34357802f02c63329dd41b777de2f";
|
sha256 = "0f9rs4av0v7p5k8hifcq4b49xx8jmmfch3sdk9pij8a8jfgwxvfy";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ocaml findlib pkgconfig gtk libgnomecanvas libglade gtksourceview camlp4];
|
buildInputs = [ocaml findlib pkgconfig gtk libgnomecanvas libglade gtksourceview camlp4];
|
||||||
@ -25,14 +25,13 @@ stdenv.mkDerivation (rec {
|
|||||||
export OCAMLPATH=$out/lib/ocaml/${ocaml_version}/site-lib/:$OCAMLPATH
|
export OCAMLPATH=$out/lib/ocaml/${ocaml_version}/site-lib/:$OCAMLPATH
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
platforms = ocaml.meta.platforms;
|
platforms = ocaml.meta.platforms;
|
||||||
maintainers = [
|
maintainers = with maintainers; [
|
||||||
stdenv.lib.maintainers.z77z
|
z77z roconnor vbgl
|
||||||
stdenv.lib.maintainers.roconnor
|
|
||||||
];
|
];
|
||||||
homepage = http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html;
|
homepage = http://lablgtk.forge.ocamlcore.org/;
|
||||||
description = "LablGTK is is an Objective Caml interface to gtk+";
|
description = "An OCaml interface to gtk+";
|
||||||
license = stdenv.lib.licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
};
|
};
|
||||||
})
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user