Merge pull request #309493 from fabaff/speechrecognition-bump

python312Packages.speechrecognition: 3.10.3 -> 3.10.4
This commit is contained in:
Nick Cao 2024-05-06 10:53:48 -04:00 committed by GitHub
commit ab220f687a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,19 +1,20 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytestCheckHook
, pythonOlder
, torch
, requests
, setuptools
, soundfile
, typing-extensions
{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
pytestCheckHook,
pythonOlder,
torch,
requests,
setuptools,
soundfile,
typing-extensions,
}:
buildPythonPackage rec {
pname = "speechrecognition";
version = "3.10.3";
version = "3.10.4";
pyproject = true;
disabled = pythonOlder "3.8";
@ -22,12 +23,10 @@ buildPythonPackage rec {
owner = "Uberi";
repo = "speech_recognition";
rev = "refs/tags/${version}";
hash = "sha256-g2DE3u2nuJHqWA2X8S6zw5nUVS1yvSqO0VI3zKoIUgg=";
hash = "sha256-icXZUg2lVLo8Z5t9ptDj67BjQLnEgrG8geYZ/lZeJt4=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
requests
@ -41,9 +40,7 @@ buildPythonPackage rec {
soundfile
];
pythonImportsCheck = [
"speech_recognition"
];
pythonImportsCheck = [ "speech_recognition" ];
disabledTests = [
# Test files are missing in source
@ -57,7 +54,11 @@ buildPythonPackage rec {
meta = with lib; {
description = "Speech recognition module for Python, supporting several engines and APIs, online and offline";
homepage = "https://github.com/Uberi/speech_recognition";
license = with licenses; [ gpl2Only bsd3 ];
changelog = "https://github.com/Uberi/speech_recognition/releases/tag/${version}";
license = with licenses; [
gpl2Only
bsd3
];
maintainers = with maintainers; [ fab ];
};
}