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-11 13:49:15 +01:00
committed by Profpatsch
parent ff3057f61a
commit 4e42cac49d
159 changed files with 419 additions and 419 deletions

View File

@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, camlp4 }:
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild, camlp4 }:
let
pname = "ulex";
param =
if stdenv.lib.versionAtLeast ocaml.version "4.02" then {
if lib.versionAtLeast ocaml.version "4.02" then {
version = "1.2";
sha256 = "08yf2x9a52l2y4savjqfjd2xy4pjd1rpla2ylrr9qrz1drpfw4ic";
} else {
@@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
meta = {
inherit (src.meta) homepage;
description = "A lexer generator for Unicode and OCaml";
license = stdenv.lib.licenses.mit;
license = lib.licenses.mit;
platforms = ocaml.meta.platforms or [];
maintainers = [ stdenv.lib.maintainers.roconnor ];
maintainers = [ lib.maintainers.roconnor ];
};
}