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, autoreconfHook, givaro, pkg-config, blas, lapack
{ lib, stdenv, fetchFromGitHub, autoreconfHook, givaro, pkg-config, blas, lapack
, gmpxx
}:
@@ -24,14 +24,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
autoreconfHook
pkg-config
] ++ stdenv.lib.optionals doCheck checkInputs;
] ++ lib.optionals doCheck checkInputs;
buildInputs = [ givaro blas lapack ];
configureFlags = [
"--with-blas-libs=-lcblas"
"--with-lapack-libs=-llapacke"
] ++ stdenv.lib.optionals stdenv.isx86_64 [
] ++ lib.optionals stdenv.isx86_64 [
# disable SIMD instructions (which are enabled *when available* by default)
# for now we need to be careful to disable *all* relevant versions of an instruction set explicitly (https://github.com/linbox-team/fflas-ffpack/issues/284)
"--${if stdenv.hostPlatform.sse3Support then "enable" else "disable"}-sse3"
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
];
doCheck = true;
meta = with stdenv.lib; {
meta = with lib; {
inherit version;
description = "Finite Field Linear Algebra Subroutines";
license = licenses.lgpl21Plus;