xwax: init at version 1.9 (#377421)
[NixPkgs.git] / pkgs / by-name / sv / svox / package.nix
blob7664f04335757cdadba76ef3a6e04eff262bfa39
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   autoreconfHook,
6   popt,
7 }:
9 stdenv.mkDerivation {
10   pname = "svox";
11   version = "2018-02-14";
13   # basically took the source code from android and borrowed autotool patches from debian
14   src = fetchFromGitHub {
15     owner = "naggety";
16     repo = "picotts";
17     rev = "e3ba46009ee868911fa0b53db672a55f9cc13b1c";
18     sha256 = "0k3m7vh1ak9gmxd83x29cvhzfkybgz5hnlhd9xj19l1bjyx84s8v";
19   };
21   postPatch = ''
22     cd pico
23   '';
25   buildInputs = [ popt ];
27   nativeBuildInputs = [ autoreconfHook ];
29   meta = with lib; {
30     description = "Text-to-speech engine";
31     homepage = "https://android.googlesource.com/platform/external/svox";
32     platforms = platforms.linux;
33     license = licenses.asl20;
34     maintainers = with maintainers; [ abbradar ];
35     mainProgram = "pico2wave";
36   };