9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
35 lines
821 B
Nix
35 lines
821 B
Nix
{ config, lib, stdenv, autoreconfHook, fetchFromGitHub, pkg-config
|
|
, 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
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
alsaLib
|
|
libtool
|
|
icu
|
|
] ++ lib.optional pulseaudioSupport libpulseaudio;
|
|
|
|
meta = {
|
|
description = "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)";
|
|
homepage = "https://mimic.mycroft.ai/";
|
|
license = lib.licenses.free;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ lib.maintainers.noneucat ];
|
|
};
|
|
}
|