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,7 +1,7 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, dune, benchmark }:
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, dune, benchmark }:
let param =
if stdenv.lib.versionAtLeast ocaml.version "4.03"
if lib.versionAtLeast ocaml.version "4.03"
then rec {
version = "0.6.2";
url = "https://github.com/Chris00/ocaml-rope/releases/download/${version}/rope-${version}.tbz";
@@ -33,7 +33,7 @@ stdenv.mkDerivation ({
homepage = "http://rope.forge.ocamlcore.org/";
platforms = ocaml.meta.platforms or [];
description = ''Ropes ("heavyweight strings") in OCaml'';
license = stdenv.lib.licenses.lgpl21;
maintainers = with stdenv.lib.maintainers; [ volth ];
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ volth ];
};
} // param.extra)