python312Packages.google-nest-sdm: refactor

This commit is contained in:
Fabian Affolter 2024-03-29 10:10:49 +01:00 committed by GitHub
parent 1c8955b2de
commit 50920a7a6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 3 deletions

View File

@ -12,12 +12,13 @@
, pytestCheckHook
, pythonOlder
, requests-oauthlib
, setuptools
}:
buildPythonPackage rec {
pname = "google-nest-sdm";
version = "3.0.4";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.10";
@ -28,7 +29,11 @@ buildPythonPackage rec {
hash = "sha256-zYHrS9y15dcyDhOoky7sB2BYkpTL3PoyNbNewKKl19E=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
aiohttp
google-auth
google-auth-oauthlib
@ -57,10 +62,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Module for Google Nest Device Access using the Smart Device Management API";
mainProgram = "google_nest";
homepage = "https://github.com/allenporter/python-google-nest-sdm";
changelog = "https://github.com/allenporter/python-google-nest-sdm/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "google_nest";
};
}