Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
58 lines
1.3 KiB
Nix
58 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
ensureNewerSourcesForZipFilesHook,
|
|
pkg-config,
|
|
scons,
|
|
glibmm,
|
|
libpulseaudio,
|
|
libao,
|
|
speechd-minimal,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rhvoice";
|
|
version = "1.16.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "RHVoice";
|
|
repo = "RHVoice";
|
|
tag = version;
|
|
fetchSubmodules = true;
|
|
hash = "sha256-4l4S4MUnVGN/El1BBuZvzPPcavUefjMyBk1hk0ux7zo=";
|
|
};
|
|
|
|
patches = [
|
|
# SConstruct patch
|
|
# Scons creates an independent environment that assumes standard POSIX paths.
|
|
# The patch is needed to push the nix environment.
|
|
# - PATH
|
|
# - PKG_CONFIG_PATH, to find available (sound) libraries
|
|
# - RPATH, to link to the newly built libraries
|
|
./honor_nix_environment.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
ensureNewerSourcesForZipFilesHook
|
|
pkg-config
|
|
scons
|
|
];
|
|
|
|
buildInputs = [
|
|
glibmm
|
|
libpulseaudio
|
|
libao
|
|
speechd-minimal
|
|
];
|
|
|
|
meta = {
|
|
description = "Free and open source speech synthesizer for Russian language and others";
|
|
homepage = "https://github.com/Olga-Yakovleva/RHVoice/wiki";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ berce ];
|
|
platforms = with lib.platforms; all;
|
|
mainProgram = "RHVoice-test";
|
|
};
|
|
}
|