mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #309493 from fabaff/speechrecognition-bump
python312Packages.speechrecognition: 3.10.3 -> 3.10.4
This commit is contained in:
commit
ab220f687a
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user