mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +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
|
lib,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, numpy
|
fetchFromGitHub,
|
||||||
, pytestCheckHook
|
numpy,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
, torch
|
pythonOlder,
|
||||||
, requests
|
torch,
|
||||||
, setuptools
|
requests,
|
||||||
, soundfile
|
setuptools,
|
||||||
, typing-extensions
|
soundfile,
|
||||||
|
typing-extensions,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "speechrecognition";
|
pname = "speechrecognition";
|
||||||
version = "3.10.3";
|
version = "3.10.4";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -22,12 +23,10 @@ buildPythonPackage rec {
|
|||||||
owner = "Uberi";
|
owner = "Uberi";
|
||||||
repo = "speech_recognition";
|
repo = "speech_recognition";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-g2DE3u2nuJHqWA2X8S6zw5nUVS1yvSqO0VI3zKoIUgg=";
|
hash = "sha256-icXZUg2lVLo8Z5t9ptDj67BjQLnEgrG8geYZ/lZeJt4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [ setuptools ];
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
requests
|
requests
|
||||||
@ -41,9 +40,7 @@ buildPythonPackage rec {
|
|||||||
soundfile
|
soundfile
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "speech_recognition" ];
|
||||||
"speech_recognition"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test files are missing in source
|
# Test files are missing in source
|
||||||
@ -57,7 +54,11 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Speech recognition module for Python, supporting several engines and APIs, online and offline";
|
description = "Speech recognition module for Python, supporting several engines and APIs, online and offline";
|
||||||
homepage = "https://github.com/Uberi/speech_recognition";
|
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 ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user