ocamlPackages: stdenv.lib → lib

This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
This commit is contained in:
sternenseemann
2021-01-12 16:33:18 +01:00
committed by Profpatsch
parent ff3057f61a
commit 4e42cac49d
159 changed files with 419 additions and 419 deletions
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchzip, ocaml, findlib, tcl, tk }:
{ stdenv, lib, fetchurl, fetchzip, ocaml, findlib, tcl, tk }:
let OCamlVersionAtLeast = stdenv.lib.versionAtLeast ocaml.version; in
let OCamlVersionAtLeast = lib.versionAtLeast ocaml.version; in
if !OCamlVersionAtLeast "4.04"
then throw "labltk is not available for OCaml ${ocaml.version}"
@@ -80,8 +80,8 @@ stdenv.mkDerivation rec {
meta = {
description = "OCaml interface to Tcl/Tk, including OCaml library explorer OCamlBrowser";
homepage = "http://labltk.forge.ocamlcore.org/";
license = stdenv.lib.licenses.lgpl21;
license = lib.licenses.lgpl21;
inherit (ocaml.meta) platforms;
maintainers = [ stdenv.lib.maintainers.vbgl ];
maintainers = [ lib.maintainers.vbgl ];
};
}