diff --git a/pkgs/development/python-modules/python-google-drive-api/default.nix b/pkgs/development/python-modules/python-google-drive-api/default.nix new file mode 100644 index 000000000000..1cb239fb79ba --- /dev/null +++ b/pkgs/development/python-modules/python-google-drive-api/default.nix @@ -0,0 +1,42 @@ +{ + aiohttp, + buildPythonPackage, + fetchFromGitHub, + lib, + mashumaro, + pytestCheckHook, + setuptools, +}: + +buildPythonPackage rec { + pname = "python-google-drive-api"; + version = "0.0.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "tronikos"; + repo = "python-google-drive-api"; + tag = "v${version}"; + hash = "sha256-JvPaMD7UHDqCQCoh1Q8jNFw4R7Jbp2YQDBI3xVp1L1g="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + aiohttp + mashumaro + ]; + + pythonImportsCheck = [ "google_drive_api" ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + meta = { + description = "Python client library for Google Drive API"; + homepage = "https://github.com/tronikos/python-google-drive-api"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4db0f3cde516..db7b4aa87ac4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9505,6 +9505,8 @@ self: super: with self; { python-debian = callPackage ../development/python-modules/python-debian { }; + python-google-drive-api = callPackage ../development/python-modules/python-google-drive-api { }; + python-hcl2 = callPackage ../development/python-modules/python-hcl2 { }; python-lorem = callPackage ../development/python-modules/python-lorem { };