Commit | Line | Data |
---|---|---|
9698f4b7 DT |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2016 David Thompson <davet@gnu.org> | |
b3df4d7e | 3 | ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com> |
9698f4b7 DT |
4 | ;;; |
5 | ;;; This file is part of GNU Guix. | |
6 | ;;; | |
7 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
8 | ;;; under the terms of the GNU General Public License as published by | |
9 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
10 | ;;; your option) any later version. | |
11 | ;;; | |
12 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
13 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | ;;; GNU General Public License for more details. | |
16 | ;;; | |
17 | ;;; You should have received a copy of the GNU General Public License | |
18 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
19 | ||
20 | (define-module (gnu packages speech) | |
21 | #:use-module ((guix licenses) #:prefix license:) | |
22 | #:use-module (guix packages) | |
23 | #:use-module (guix download) | |
24 | #:use-module (guix build-system gnu) | |
25 | #:use-module (gnu packages) | |
b3df4d7e MB |
26 | #:use-module (gnu packages autotools) |
27 | #:use-module (gnu packages gcc) | |
28 | #:use-module (gnu packages glib) | |
29 | #:use-module (gnu packages pkg-config) | |
30 | #:use-module (gnu packages pulseaudio) | |
31 | #:use-module (gnu packages textutils)) | |
9698f4b7 DT |
32 | |
33 | (define-public mitlm | |
34 | (package | |
35 | (name "mitlm") | |
36 | (version "0.4.1") | |
37 | ;; No official release tarballs, so for now we use the one from Debian | |
38 | ;; that is maintained by one of the project developers. | |
39 | ;; | |
40 | ;; See: https://github.com/mitlm/mitlm/issues/54 | |
41 | (source (origin | |
42 | (method url-fetch) | |
43 | (uri (string-append "mirror://debian/pool/main/m/mitlm/mitlm_" | |
44 | version ".orig.tar.gz")) | |
45 | (sha256 | |
46 | (base32 | |
47 | "12m09xxx8jbir9cnzzaysvni5sfijpfj96z1x1520qqvmpc8lmn7")))) | |
48 | (build-system gnu-build-system) | |
49 | (native-inputs | |
50 | `(("gfortran" ,gfortran))) | |
51 | (synopsis "The MIT Language Modeling toolkit") | |
52 | (description "The MIT Language Modeling (MITLM) toolkit is a set of | |
53 | tools designed for the efficient estimation of statistical n-gram language | |
54 | models involving iterative parameter estimation. It achieves much of its | |
55 | efficiency through the use of a compact vector representation of n-grams.") | |
56 | (home-page "https://github.com/mitlm/mitlm") | |
57 | (license license:expat))) | |
b3df4d7e MB |
58 | |
59 | (define-public speech-dispatcher | |
60 | (package | |
61 | (name "speech-dispatcher") | |
62 | (version "0.8.5") | |
63 | (source (origin | |
64 | (method url-fetch) | |
65 | (uri (string-append "https://devel.freebsoft.org/pub/" | |
66 | "projects/speechd/speech-dispatcher-" | |
67 | version ".tar.gz")) | |
68 | (sha256 | |
69 | (base32 | |
70 | "18jlxnhlahyi6njc6l6576hfvmzivjjgfjyd2n7vvrvx9inphjrb")))) | |
71 | (build-system gnu-build-system) | |
72 | (native-inputs | |
73 | `(("intltool" ,intltool) | |
74 | ("pkg-config" ,pkg-config))) | |
75 | (inputs | |
76 | `(("dotconf" ,dotconf) | |
77 | ("glib" ,glib) | |
78 | ("libltdl" ,libltdl) | |
79 | ("libsndfile" ,libsndfile))) | |
80 | (synopsis "Common interface to speech synthesizers") | |
81 | (description "The Speech Dispatcher project provides a high-level | |
82 | device independent layer for access to speech synthesis through a simple, | |
83 | stable and well documented interface.") | |
84 | (home-page "https://devel.freebsoft.org/speechd") | |
85 | ;; The software is distributed under GPL2+, but includes a number | |
86 | ;; of files covered by other licenses. | |
87 | (license (list license:gpl2+ | |
88 | license:fdl1.2+ ; Most files in doc/ are dual gpl2+/fdl1.2+. | |
89 | license:lgpl2.1+ | |
90 | license:gpl2 | |
91 | (license:non-copyleft | |
92 | ;; festival_client.{c,h} carries an expat-style license. | |
93 | "See src/modules/festival_client.c in the distribution.") | |
94 | license:gpl3+)))) ; doc/texinfo.tex -- with TeX exception. |