2021-01-19 06:50:56 +00:00
|
|
|
{ config, lib, stdenv, autoreconfHook, fetchFromGitHub, pkg-config
|
2018-08-15 20:43:37 +01:00
|
|
|
, alsaLib, libtool, icu
|
2019-02-03 15:31:28 +00:00
|
|
|
, pulseaudioSupport ? config.pulseaudio or false, libpulseaudio }:
|
2018-08-15 20:43:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mimic";
|
2018-08-15 20:43:37 +01:00
|
|
|
version = "1.2.0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
repo = "mimic";
|
|
|
|
owner = "MycroftAI";
|
|
|
|
sha256 = "1wkpbwk88lsahzkc7pzbznmyy0lc02vsp0vkj8f1ags1gh0lc52j";
|
|
|
|
};
|
|
|
|
|
2019-02-03 15:31:28 +00:00
|
|
|
nativeBuildInputs = [
|
2018-08-15 20:43:37 +01:00
|
|
|
autoreconfHook
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2018-08-15 20:43:37 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsaLib
|
|
|
|
libtool
|
2019-02-03 15:31:28 +00:00
|
|
|
icu
|
2021-01-15 13:21:58 +00:00
|
|
|
] ++ lib.optional pulseaudioSupport libpulseaudio;
|
2018-08-15 20:43:37 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://mimic.mycroft.ai/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.free;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.noneucat ];
|
2018-08-15 20:43:37 +01:00
|
|
|
};
|
|
|
|
}
|