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,10 +1,10 @@
{stdenv, fetchurl, automake, ocaml, autoconf, gnum4, pkgconfig, freetype, lablgtk, unzip, cairo, findlib, gdk-pixbuf, gtk2, pango }:
{stdenv, lib, fetchurl, automake, ocaml, autoconf, gnum4, pkgconfig, freetype, lablgtk, unzip, cairo, findlib, gdk-pixbuf, gtk2, pango }:
let
pname = "ocaml-cairo";
in
if stdenv.lib.versionAtLeast ocaml.version "4.06"
if lib.versionAtLeast ocaml.version "4.06"
then throw "${pname} is not available for OCaml ${ocaml.version}"
else
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://cairographics.org/cairo-ocaml";
description = "ocaml bindings for cairo library";
license = stdenv.lib.licenses.gpl2;
license = lib.licenses.gpl2;
platforms = ocaml.meta.platforms or [];
};
}