1{
2 aiohttp,
3 buildPythonPackage,
4 fetchFromGitHub,
5 lib,
6 mashumaro,
7 pytestCheckHook,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "python-google-drive-api";
13 version = "0.1.0";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "tronikos";
18 repo = "python-google-drive-api";
19 tag = "v${version}";
20 hash = "sha256-3es2rmndahH+DMEEwjBxyZKd27qDZIocPbzScF7B5fA=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 aiohttp
27 mashumaro
28 ];
29
30 pythonImportsCheck = [ "google_drive_api" ];
31
32 nativeCheckInputs = [
33 pytestCheckHook
34 ];
35
36 meta = {
37 description = "Python client library for Google Drive API";
38 homepage = "https://github.com/tronikos/python-google-drive-api";
39 license = lib.licenses.asl20;
40 maintainers = with lib.maintainers; [ dotlambda ];
41 };
42}