pkgs/development/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-23 19:26:19 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions

View File

@@ -1,11 +1,11 @@
{stdenv, fetchurl, makeWrapper, ocaml, ncurses}:
{lib, stdenv, fetchurl, makeWrapper, ocaml, ncurses}:
let
pname = "omake";
version = "0.9.8.6-0.rc1";
webpage = "http://omake.metaprl.org";
in
if stdenv.lib.versionAtLeast ocaml.version "4.06"
if lib.versionAtLeast ocaml.version "4.06"
then throw "${pname}-${version} is not available for OCaml ${ocaml.version}"
else

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, ncurses }:
{ lib, stdenv, fetchurl, ocaml, ncurses }:
stdenv.mkDerivation rec {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A build system designed for scalability and portability";
homepage = "http://projects.camlcity.org/projects/omake.html";
license = with stdenv.lib.licenses; [
license = with lib.licenses; [
mit /* scripts */
gpl2 /* program */
];