depot/third_party/nixpkgs/pkgs/development/libraries/flite/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
687 B
Nix

{ lib, stdenv, fetchFromGitHub, alsaLib }:
stdenv.mkDerivation rec {
pname = "flite";
version = "2.2";
src = fetchFromGitHub {
owner = "festvox";
repo = "flite";
rev = "v${version}";
sha256 = "1n0p81jzndzc1rzgm66kw9ls189ricy5v1ps11y0p2fk1p56kbjf";
};
buildInputs = lib.optionals stdenv.isLinux [ alsaLib ];
configureFlags = [
"--enable-shared"
] ++ lib.optionals stdenv.isLinux [ "--with-audio=alsa" ];
enableParallelBuilding = true;
meta = with lib; {
description = "A small, fast run-time speech synthesis engine";
homepage = "http://www.festvox.org/flite/";
license = licenses.bsdOriginal;
platforms = platforms.all;
};
}