lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 39 lines 1.1 kB view raw
1{ fetchurl, lib, stdenv, intltool, libtool, pkgconfig, glib, dotconf, libsndfile 2, libao, python3Packages 3, withEspeak ? false, espeak 4, withPico ? true, svox 5}: 6 7stdenv.mkDerivation rec { 8 name = "speech-dispatcher-${version}"; 9 version = "0.8.5"; 10 11 src = fetchurl { 12 url = "http://www.freebsoft.org/pub/projects/speechd/${name}.tar.gz"; 13 sha256 = "18jlxnhlahyi6njc6l6576hfvmzivjjgfjyd2n7vvrvx9inphjrb"; 14 }; 15 16 buildInputs = [ intltool libtool glib dotconf libsndfile libao python3Packages.python ] 17 ++ lib.optional withEspeak espeak 18 ++ lib.optional withPico svox; 19 nativeBuildInputs = [ pkgconfig python3Packages.wrapPython ]; 20 21 hardeningDisable = [ "format" ]; 22 23 pythonPath = with python3Packages; [ pyxdg ]; 24 25 postPatch = lib.optionalString withPico '' 26 sed -i 's,/usr/share/pico/lang/,${svox}/share/pico/lang/,g' src/modules/pico.c 27 ''; 28 29 postInstall = '' 30 wrapPythonPrograms 31 ''; 32 33 meta = with stdenv.lib; { 34 description = "Common interface to speech synthesis"; 35 homepage = http://www.freebsoft.org/speechd; 36 license = licenses.gpl2Plus; 37 platforms = platforms.linux; 38 }; 39}