From a7d8f5a79a5205df6b6ae898bcac6208386a9f2e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 May 2024 10:03:28 +0200 Subject: [PATCH 1/3] python312Packages.speechrecognition: 3.10.3 -> 3.10.4 Diff: https://github.com/Uberi/speech_recognition/compare/refs/tags/3.10.3...3.10.4 --- pkgs/development/python-modules/speechrecognition/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/speechrecognition/default.nix b/pkgs/development/python-modules/speechrecognition/default.nix index a6e839ead5ce..264eec536b17 100644 --- a/pkgs/development/python-modules/speechrecognition/default.nix +++ b/pkgs/development/python-modules/speechrecognition/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "speechrecognition"; - version = "3.10.3"; + version = "3.10.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "Uberi"; repo = "speech_recognition"; rev = "refs/tags/${version}"; - hash = "sha256-g2DE3u2nuJHqWA2X8S6zw5nUVS1yvSqO0VI3zKoIUgg="; + hash = "sha256-icXZUg2lVLo8Z5t9ptDj67BjQLnEgrG8geYZ/lZeJt4="; }; build-system = [ From 6c412b44afcc5a8bf79fbcbca5dff89544f81b90 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 May 2024 10:04:20 +0200 Subject: [PATCH 2/3] python312Packages.speechrecognition: add changelog to meta --- pkgs/development/python-modules/speechrecognition/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/speechrecognition/default.nix b/pkgs/development/python-modules/speechrecognition/default.nix index 264eec536b17..93d7f230d856 100644 --- a/pkgs/development/python-modules/speechrecognition/default.nix +++ b/pkgs/development/python-modules/speechrecognition/default.nix @@ -57,6 +57,7 @@ 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"; + changelog = "https://github.com/Uberi/speech_recognition/releases/tag/${version}"; license = with licenses; [ gpl2Only bsd3 ]; maintainers = with maintainers; [ fab ]; }; From 1c6ab3bfc3bf258cffa0aa75b67359b8c97f7622 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 May 2024 10:04:42 +0200 Subject: [PATCH 3/3] python312Packages.speechrecognition: format with nixfmt --- .../speechrecognition/default.nix | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/speechrecognition/default.nix b/pkgs/development/python-modules/speechrecognition/default.nix index 93d7f230d856..8629af8a075f 100644 --- a/pkgs/development/python-modules/speechrecognition/default.nix +++ b/pkgs/development/python-modules/speechrecognition/default.nix @@ -1,14 +1,15 @@ -{ 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 { @@ -25,9 +26,7 @@ buildPythonPackage rec { 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 @@ -58,7 +55,10 @@ buildPythonPackage rec { description = "Speech recognition module for Python, supporting several engines and APIs, online and offline"; homepage = "https://github.com/Uberi/speech_recognition"; changelog = "https://github.com/Uberi/speech_recognition/releases/tag/${version}"; - license = with licenses; [ gpl2Only bsd3 ]; + license = with licenses; [ + gpl2Only + bsd3 + ]; maintainers = with maintainers; [ fab ]; }; }