guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#54507] [PATCH v2 1/2] gnu: openfst: Add 1.7.3 for kaldi


From: Aurora
Subject: [bug#54507] [PATCH v2 1/2] gnu: openfst: Add 1.7.3 for kaldi
Date: Tue, 22 Mar 2022 20:51:40 +0000

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 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index afac56f..ec70980 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")

base-commit: a1632d59529909ab3733772f203e7ea64809b85e
-- 
2.30.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]