mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: kaldi-gstreamer-server: Update to 0-2.f68cab4.
* gnu/packages/machine-learning.scm (kaldi-gstreamer-server): Update to 0-2.f68cab4. [inputs]: Replace python-2 with python-wrapper, python2-pygobject with python-pygobject, python2-pyyaml with python-pyyaml, and python2-tornado with python-tornado; remove python2-ws4py-for-kaldi-gstreamer-server and python2-futures.
This commit is contained in:
parent
8fe681b9ff
commit
1228c2abcf
1 changed files with 12 additions and 9 deletions
|
@ -1239,8 +1239,9 @@ (define-public gst-kaldi-nnet2-online
|
|||
(license license:asl2.0))))
|
||||
|
||||
(define-public kaldi-gstreamer-server
|
||||
(let ((commit "1735ba49c5dc0ebfc184e45105fc600cd9f1f508")
|
||||
(revision "1"))
|
||||
;; This is the tip of the py3 branch
|
||||
(let ((commit "f68cab490be7eb0da2af1475fbc16655f50a60cb")
|
||||
(revision "2"))
|
||||
(package
|
||||
(name "kaldi-gstreamer-server")
|
||||
(version (git-version "0" revision commit))
|
||||
|
@ -1252,7 +1253,7 @@ (define-public kaldi-gstreamer-server
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0j701m7lbwmzqxsfanj882v7881hrbmpqybbczbxqpcbg8q34w0k"))))
|
||||
"17lh1368vkg8ngrcbn2phvigzlmalrqg6djx2gg61qq1a0nj87dm"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; there are no tests that can be run automatically
|
||||
|
@ -1268,6 +1269,10 @@ (define-public kaldi-gstreamer-server
|
|||
;; are reproducible.
|
||||
(setenv "PYTHONHASHSEED" "0")
|
||||
(with-directory-excursion "kaldigstserver"
|
||||
;; This is a Python 2 file
|
||||
(delete-file "decoder_test.py")
|
||||
(delete-file "test-buffer.py")
|
||||
|
||||
(for-each (lambda (file)
|
||||
(apply invoke
|
||||
`("python"
|
||||
|
@ -1318,12 +1323,10 @@ (define-public kaldi-gstreamer-server
|
|||
#t))))))
|
||||
(inputs
|
||||
`(("gst-kaldi-nnet2-online" ,gst-kaldi-nnet2-online)
|
||||
("python2" ,python-2)
|
||||
("python2-futures" ,python2-futures)
|
||||
("python2-pygobject" ,python2-pygobject)
|
||||
("python2-pyyaml" ,python2-pyyaml)
|
||||
("python2-tornado" ,python2-tornado)
|
||||
("python2-ws4py" ,python2-ws4py-for-kaldi-gstreamer-server)))
|
||||
("python" ,python-wrapper)
|
||||
("python-pygobject" ,python-pygobject)
|
||||
("python-pyyaml" ,python-pyyaml)
|
||||
("python-tornado" ,python-tornado)))
|
||||
(home-page "https://github.com/alumae/kaldi-gstreamer-server")
|
||||
(synopsis "Real-time full-duplex speech recognition server")
|
||||
(description "This is a real-time full-duplex speech recognition server,
|
||||
|
|
Loading…
Reference in a new issue