gnu: openfst: Add 1.7.3 for kaldi

Kaldi is currently broken with openfst versions newer than 1.7.3 as it changed
some of its function signatures.

Once Kaldi is patched/fixed, this should be removed.

Reference Issues:
- https://github.com/kaldi-asr/kaldi/issues/4131
- https://github.com/kaldi-asr/kaldi/issues/4393

* gnu/packages/machine-learning.scm (openfst-1.7.3): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Aurora 2022-03-24 19:59:31 +00:00 committed by Ludovic Courtès
parent 1038f7d681
commit 8c7e4a9698
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -585,6 +585,19 @@ (define-public openfst
optimizing, and searching weighted finite-state transducers (FSTs).")
(license license:asl2.0)))
;; This is a temporary addition to bypass upstream issues with the kaldi
;; package.
(define-public openfst-1.7.3
(package (inherit openfst)
(version "1.7.3")
(source (origin
(method url-fetch)
(uri (string-append "http://www.openfst.org/twiki/pub/FST/"
"FstDownload/openfst-" version ".tar.gz"))
(sha256
(base32
"038a60w7y8qnbxmcrsim9rafz9mihsny8xv50jpzlr7rl166pp5q"))))))
(define-public shogun
(package
(name "shogun")