2021-02-05 17:12:51 +00:00
|
|
|
{ config, lib, stdenv, autoreconfHook, fetchFromGitHub, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, alsaLib, libtool, icu
|
|
|
|
, pulseaudioSupport ? config.pulseaudio or false, libpulseaudio }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mimic";
|
|
|
|
version = "1.2.0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
repo = "mimic";
|
|
|
|
owner = "MycroftAI";
|
|
|
|
sha256 = "1wkpbwk88lsahzkc7pzbznmyy0lc02vsp0vkj8f1ags1gh0lc52j";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsaLib
|
|
|
|
libtool
|
|
|
|
icu
|
2021-01-17 00:15:33 +00:00
|
|
|
] ++ lib.optional pulseaudioSupport libpulseaudio;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)";
|
|
|
|
homepage = "https://mimic.mycroft.ai/";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.free;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.noneucat ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|