summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-speech-recognition/package.py
blob: d6c43c2c09bcb11cb91620e23b124b2a027204fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class PySpeechRecognition(PythonPackage):
    """Library for performing speech recognition, with support
    for several engines and APIs, online and offline."""

    homepage = "https://github.com/Uberi/speech_recognition"
    url      = "https://github.com/Uberi/speech_recognition/archive/refs/tags/3.8.1.tar.gz"

    version('3.8.1', sha256='82d3313db383409ddaf3e42625fb0c3518231a1feb5e2ed5473b10b3d5ece7bd')

    depends_on('python@2.6:2,3.3:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')