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

This commit is contained in:
Ben Siraphob
2021-01-22 00:00:13 +07:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fixDarwinDylibNames }:
{ lib, stdenv, fetchFromGitHub, fixDarwinDylibNames }:
let
soVersion = "4";
@@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
outputs = [ "bin" "dev" "out" ];
nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
nativeBuildInputs = lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
buildFlags = [ "lib" "predict" "train" ];
@@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
install -Dm444 -t $dev/include linear.h
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A library for large linear classification";
homepage = "https://www.csie.ntu.edu.tw/~cjlin/liblinear/";
license = licenses.bsd3;