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,9 +1,9 @@
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, oasis, ocaml_optcomp, camlp4
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild, oasis, ocaml_optcomp, camlp4
, num
}:
let param =
if stdenv.lib.versionAtLeast ocaml.version "4.03"
if lib.versionAtLeast ocaml.version "4.03"
then {
version = "0.8.1";
sha256 = "03vzrybdpjydbpil97zmir71kpsn2yxkjnzysma7fvybk8ll4zh9";
@@ -32,9 +32,9 @@ stdenv.mkDerivation {
meta = {
homepage = "https://github.com/ocsigen/deriving";
description = "Extension to OCaml for deriving functions from type declarations";
license = stdenv.lib.licenses.mit;
license = lib.licenses.mit;
platforms = ocaml.meta.platforms or [];
maintainers = with stdenv.lib.maintainers; [
maintainers = with lib.maintainers; [
gal_bolle vbgl
];
};