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
|
, alsaLib, libtool, icu
|
||||||
, pulseaudioSupport ? true, libpulseaudio }:
|
, pulseaudioSupport ? config.pulseaudio or false, libpulseaudio }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mimic-${version}";
|
name = "mimic-${version}";
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1wkpbwk88lsahzkc7pzbznmyy0lc02vsp0vkj8f1ags1gh0lc52j";
|
sha256 = "1wkpbwk88lsahzkc7pzbznmyy0lc02vsp0vkj8f1ags1gh0lc52j";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
pkgconfig
|
pkgconfig
|
||||||
];
|
];
|
||||||
@ -21,15 +21,14 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsaLib
|
alsaLib
|
||||||
libtool
|
libtool
|
||||||
icu
|
icu
|
||||||
] ++ stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
] ++ stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)";
|
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;
|
license = stdenv.lib.licenses.free;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
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 { };
|
minitube = libsForQt5.callPackage ../applications/video/minitube { };
|
||||||
|
|
||||||
mimic = callPackage ../applications/audio/mimic {
|
mimic = callPackage ../applications/audio/mimic { };
|
||||||
pulseaudioSupport = config.pulseaudio or false;
|
|
||||||
};
|
|
||||||
|
|
||||||
mimms = callPackage ../applications/audio/mimms {};
|
mimms = callPackage ../applications/audio/mimms {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user