Merge pull request #209097 from fabaff/gassist-text

python310Packages.gassist-text: init at 0.0.7
This commit is contained in:
Fabian Affolter
2023-01-22 12:04:31 +01:00
committed by GitHub
3 changed files with 60 additions and 1 deletions
@@ -0,0 +1,55 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, google-auth
, grpcio
, protobuf
, pytestCheckHook
, pythonOlder
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "gassist-text";
version = "0.0.10";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "tronikos";
repo = "gassist_text";
rev = "refs/tags/${version}";
hash = "sha256-BSMflCSYNAaQVTOqKWyr9U9Q70ley1jjF6ndOVum+GA=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
beautifulsoup4
google-auth
grpcio
protobuf
requests
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"gassist_text"
];
meta = with lib; {
description = "Module for interacting with Google Assistant API via text";
homepage = "https://github.com/tronikos/gassist_text";
changelog = "https://github.com/tronikos/gassist_text/releases/tag/${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}
@@ -1233,8 +1233,9 @@
"google_assistant_sdk" = ps: with ps; [
aiohttp-cors
fnvhash
gassist-text
sqlalchemy
]; # missing inputs: gassist-text
];
"google_cloud" = ps: with ps; [
google-cloud-texttospeech
];
@@ -4312,6 +4313,7 @@
"goodwe"
"google"
"google_assistant"
"google_assistant_sdk"
"google_domains"
"google_pubsub"
"google_sheets"
+2
View File
@@ -3652,6 +3652,8 @@ self: super: with self; {
garminconnect = callPackage ../development/python-modules/garminconnect { };
gassist-text = callPackage ../development/python-modules/gassist-text { };
gast = callPackage ../development/python-modules/gast { };
gatt = callPackage ../development/python-modules/gatt { };