mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
bfbfe941ab
Lots of packages can use it. Here is the list: - jackmix - klick - mixx - nova-filters - rhvoice - giv - mypaint - swift-im - bombono - mapnik - serf - nuitka - pyexiv2 - godot - hammer - toluapp - btanks - dxx-rebirth - endless-sky - globulation - the-powder-toy - fceux - gpsd - mongodb - rippled - mariadb - lprof
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ stdenv, lib, pkgconfig, fetchFromGitHub, scons
|
|
, python, glibmm, libpulseaudio, libao }:
|
|
|
|
let
|
|
version = "unstable-2018-02-10";
|
|
in stdenv.mkDerivation rec {
|
|
name = "rhvoice-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Olga-Yakovleva";
|
|
repo = "RHVoice";
|
|
rev = "7a25a881b0465e47a12d8029b56f3b71a1d02312";
|
|
sha256 = "1gkrlmv7msh9qlm0gkjqpl9gswghpclfdwszr1p85v8vk6m63v0b";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
scons pkgconfig
|
|
];
|
|
|
|
buildInputs = [
|
|
python glibmm libpulseaudio libao
|
|
];
|
|
|
|
# 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
|
|
|
|
patches = [ ./honor_nix_environment.patch ];
|
|
|
|
meta = {
|
|
description = "A 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;
|
|
};
|
|
}
|