mimic: move defaults to package file
and fix some eol spaces.
This commit is contained in:
parent
15a1e879a9
commit
ce14636ae0
@ -1,6 +1,6 @@
|
||||
{ stdenv, autoreconfHook, fetchFromGitHub, pkgconfig
|
||||
{ config, stdenv, autoreconfHook, fetchFromGitHub, pkgconfig
|
||||
, alsaLib, libtool, icu
|
||||
, pulseaudioSupport ? true, libpulseaudio }:
|
||||
, pulseaudioSupport ? config.pulseaudio or false, libpulseaudio }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mimic-${version}";
|
||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1wkpbwk88lsahzkc7pzbznmyy0lc02vsp0vkj8f1ags1gh0lc52j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkgconfig
|
||||
];
|
||||
@ -21,15 +21,14 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
alsaLib
|
||||
libtool
|
||||
icu
|
||||
icu
|
||||
] ++ stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
||||
|
||||
meta = {
|
||||
description = "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)";
|
||||
homepage = https://mimic.mycroft.ai/;
|
||||
homepage = https://mimic.mycroft.ai/;
|
||||
license = stdenv.lib.licenses.free;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.noneucat ];
|
||||
maintainers = [ stdenv.lib.maintainers.noneucat ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -18118,9 +18118,7 @@ in
|
||||
|
||||
minitube = libsForQt5.callPackage ../applications/video/minitube { };
|
||||
|
||||
mimic = callPackage ../applications/audio/mimic {
|
||||
pulseaudioSupport = config.pulseaudio or false;
|
||||
};
|
||||
mimic = callPackage ../applications/audio/mimic { };
|
||||
|
||||
mimms = callPackage ../applications/audio/mimms {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user