python312Packages.google-photos-library-api: init at 0.12.1

This commit is contained in:
Robert Schütz 2024-10-03 16:24:34 -07:00
parent f5ec6712dd
commit 0c691d6cb7
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
google-api-python-client,
google-auth,
lib,
mashumaro,
pytest-aiohttp,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "google-photos-library-api";
version = "0.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "allenporter";
repo = "python-google-photos-library-api";
rev = "refs/tags/${version}";
hash = "sha256-xSwUzVwC7RPpmC9M1x/WYIaoiUlcF2h2fwiP6FYA6sw=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
google-api-python-client
google-auth
mashumaro
];
pythonImportsCheck = [ "google_photos_library_api" ];
nativeCheckInputs = [
pytest-aiohttp
pytestCheckHook
];
meta = {
changelog = "https://github.com/allenporter/python-google-photos-library-api/releases/tag/${version}";
description = "Python client library for Google Photos Library API";
homepage = "https://github.com/allenporter/python-google-photos-library-api";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -5268,6 +5268,8 @@ self: super: with self; {
google-nest-sdm = callPackage ../development/python-modules/google-nest-sdm { };
google-photos-library-api = callPackage ../development/python-modules/google-photos-library-api { };
googlemaps = callPackage ../development/python-modules/googlemaps { };
google-pasta = callPackage ../development/python-modules/google-pasta { };