summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorAurora <rind38@disroot.org>2022-03-24 19:59:31 +0000
committerLudovic Courtès <ludo@gnu.org>2022-05-15 22:49:50 +0200
commit8c7e4a969822af265d62c27c5f68050d06637563 (patch)
tree6cbe90cd86dccd1c69cae81c53f8c2f4768241c0 /gnu
parent1038f7d6812dc4b70958dc89dafa65ebdbbe0f68 (diff)
downloadguix-8c7e4a969822af265d62c27c5f68050d06637563.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/machine-learning.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 7f082ee677..0adf971e20 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -585,6 +585,19 @@ sample proximities between pairs of cases.")
 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")