nixpkgs/pkgs/development/libraries/flite/default.nix
Orivej Desh 3f7751ecd4 flite: 1.9.0 -> 2.0.0, fix build with Nix 1.12
It is failing with:

     RPATH of binary /nix/store/...-flite-.../bin/flite contains a forbidden reference to /build

because of the rpath entry `../build/x86_64-linux-gnu/lib`.
2017-11-21 01:14:34 +00:00

24 lines
580 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "flite-2.0.0";
src = fetchurl {
url = "http://www.festvox.org/flite/packed/flite-2.0/${name}-release.tar.bz2";
sha256 = "04g4r83jh4cl0irc8bg7njngcah7749956v9s6sh552kzmh3i337";
};
patches = [ ./fix-rpath.patch ];
configureFlags = [ "--enable-shared" ];
enableParallelBuilding = true;
meta = {
description = "A small, fast run-time speech synthesis engine";
homepage = http://www.festvox.org/flite/;
license = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.linux;
};
}