Skip to content

Commit

Permalink
eflite: fix build (#344991)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Sep 29, 2024
2 parents 9f2fef7 + 1b2f702 commit 939a71c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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"
];
Expand Down Expand Up @@ -46,7 +57,7 @@ stdenv.mkDerivation rec {
'';
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = [ ];
maintainers = with lib.maintainers; [ bot-wxt1221 ];
mainProgram = "eflite";
};
}
})
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 939a71c

Please sign in to comment.