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