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, ocaml, findlib, camlp4}:
{stdenv, lib, fetchurl, ocaml, findlib, camlp4}:
if stdenv.lib.versionAtLeast ocaml.version "4.05"
if lib.versionAtLeast ocaml.version "4.05"
then throw "camomile-0.8.2 is not available for OCaml ${ocaml.version}"
else
@@ -20,11 +20,11 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://camomile.sourceforge.net/";
description = "A comprehensive Unicode library for OCaml";
license = stdenv.lib.licenses.lgpl21;
license = lib.licenses.lgpl21;
branch = "0.8.2";
platforms = ocaml.meta.platforms or [];
maintainers = [
stdenv.lib.maintainers.maggesi
lib.maintainers.maggesi
];
};
}
@@ -1,4 +1,4 @@
{stdenv, fetchurl, fetchpatch, ocaml, findlib, camlp4}:
{stdenv, lib, fetchurl, fetchpatch, ocaml, findlib, camlp4}:
stdenv.mkDerivation {
pname = "camomile";
@@ -21,10 +21,10 @@ stdenv.mkDerivation {
meta = {
homepage = "https://github.com/yoriyuki/Camomile/tree/master/Camomile";
description = "A comprehensive Unicode library for OCaml";
license = stdenv.lib.licenses.lgpl21;
license = lib.licenses.lgpl21;
platforms = ocaml.meta.platforms or [];
maintainers = [
stdenv.lib.maintainers.maggesi
lib.maintainers.maggesi
];
};
}
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildDunePackage, cppo }:
{ stdenv, lib, fetchFromGitHub, buildDunePackage, cppo }:
buildDunePackage rec {
pname = "camomile";
@@ -17,8 +17,8 @@ buildDunePackage rec {
meta = {
inherit (src.meta) homepage;
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.lgpl21;
description = "A Unicode library for OCaml";
};
}