eflite: fix build (#344991)
This commit is contained in:
commit
939a71cf40
@ -1,18 +1,29 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, flite, alsa-lib, debug ? false }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
flite,
|
||||
alsa-lib,
|
||||
debug ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "eflite";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://sourceforge.net/projects/eflite/files/eflite/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "088p9w816s02s64grfs28gai3lnibzdjb9d1jwxzr8smbs2qbbci";
|
||||
url = "mirror://sourceforge/eflite/eflite/${finalAttrs.version}/eflite-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-ka2FhV5Vo/w7l6GlJdtf0dIR1UNCu/yI0QJoExBPFyE=";
|
||||
};
|
||||
|
||||
buildInputs = [ flite alsa-lib ];
|
||||
buildInputs = [
|
||||
flite
|
||||
alsa-lib
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"flite_dir=${flite}"
|
||||
"flite_dir=${flite.dev}"
|
||||
"--with-audio=alsa"
|
||||
"--with-vox=cmu_us_kal16"
|
||||
];
|
||||
@ -46,7 +57,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||
mainProgram = "eflite";
|
||||
};
|
||||
}
|
||||
})
|
@ -7175,8 +7175,6 @@ with pkgs;
|
||||
|
||||
eff = callPackage ../development/interpreters/eff { };
|
||||
|
||||
eflite = callPackage ../applications/audio/eflite { };
|
||||
|
||||
eid-mw = callPackage ../tools/security/eid-mw {
|
||||
autoreconfHook = buildPackages.autoreconfHook269;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user