uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
55
pkgs/applications/audio/rhvoice/default.nix
Normal file
55
pkgs/applications/audio/rhvoice/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, ensureNewerSourcesForZipFilesHook
|
||||
, pkg-config
|
||||
, scons
|
||||
, glibmm
|
||||
, libpulseaudio
|
||||
, libao
|
||||
, speechd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rhvoice";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RHVoice";
|
||||
repo = "RHVoice";
|
||||
rev = version;
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-G5886rjBaAp0AXcr07O0q7K1OXTayfIbd4zniKwDiLw=";
|
||||
};
|
||||
|
||||
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
|
||||
];
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue