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, alsaLib }:
{ lib, stdenv, fetchFromGitHub, alsaLib }:
stdenv.mkDerivation rec {
pname = "flite";
@@ -11,15 +11,15 @@ stdenv.mkDerivation rec {
sha256 = "1n0p81jzndzc1rzgm66kw9ls189ricy5v1ps11y0p2fk1p56kbjf";
};
buildInputs = stdenv.lib.optionals stdenv.isLinux [ alsaLib ];
buildInputs = lib.optionals stdenv.isLinux [ alsaLib ];
configureFlags = [
"--enable-shared"
] ++ stdenv.lib.optionals stdenv.isLinux [ "--with-audio=alsa" ];
] ++ lib.optionals stdenv.isLinux [ "--with-audio=alsa" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "A small, fast run-time speech synthesis engine";
homepage = "http://www.festvox.org/flite/";
license = licenses.bsdOriginal;