diff options
author | Ben Siraphob | 2021-01-22 00:00:13 +0700 |
---|---|---|
committer | Jonathan Ringer | 2021-01-21 19:11:02 -0800 |
commit | 66e44425c6dfecbea68a5d6dc221ccd56561d4f1 (patch) | |
tree | 0a5bf7d41356ad47b4e6f0a737bf16c9a4a5b01e /pkgs/development/libraries/libsvm | |
parent | 046d24424ef32cca1227519f93f41b5ec8133f31 (diff) |
pkgs/development/libraries: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/libraries/libsvm')
-rw-r--r-- | pkgs/development/libraries/libsvm/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libsvm/default.nix b/pkgs/development/libraries/libsvm/default.nix index 5dc4deb30be9..6f4741ed4d05 100644 --- a/pkgs/development/libraries/libsvm/default.nix +++ b/pkgs/development/libraries/libsvm/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl}: +{lib, stdenv, fetchurl}: stdenv.mkDerivation rec { pname = "libsvm"; @@ -25,11 +25,11 @@ stdenv.mkDerivation rec { ln -s $out/include/svm.h $out/include/libsvm/svm.h ''; - postFixup = stdenv.lib.optionalString stdenv.isDarwin '' + postFixup = lib.optionalString stdenv.isDarwin '' install_name_tool -id libsvm.2.dylib $out/lib/libsvm.2.dylib; ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A library for support vector machines"; homepage = "https://www.csie.ntu.edu.tw/~cjlin/libsvm/"; license = licenses.bsd3; |