diff --git a/pkgs/development/python-modules/pydata-google-auth/default.nix b/pkgs/development/python-modules/pydata-google-auth/default.nix new file mode 100644 index 000000000000..1baeb8f0d9e6 --- /dev/null +++ b/pkgs/development/python-modules/pydata-google-auth/default.nix @@ -0,0 +1,43 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, google-auth +, google-auth-oauthlib +, setuptools +}: + +buildPythonPackage rec { + pname = "pydata-google-auth"; + version = "1.7.0"; + format = "setuptools"; + + src = fetchFromGitHub { + repo = pname; + owner = "pydata"; + rev = "refs/tags/${version}"; + hash = "sha256-VJmu7VExWmXBa0cjgppyOgWDLDRMdhOoaOrZoi4WAxo="; + }; + + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = [ + google-auth + google-auth-oauthlib + ]; + + # tests require network access + doCheck = false; + + pythonImportsCheck = [ + "pydata_google_auth" + ]; + + meta = with lib; { + description = "Helpers for authenticating to Google APIs"; + homepage = "https://github.com/pydata/pydata-google-auth"; + license = licenses.bsd3; + maintainers = with maintainers; [ cpcloud ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 75c879008fb6..cde3e47912c5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8128,6 +8128,8 @@ self: super: with self; { pydash = callPackage ../development/python-modules/pydash { }; + pydata-google-auth = callPackage ../development/python-modules/pydata-google-auth { }; + pydata-sphinx-theme = callPackage ../development/python-modules/pydata-sphinx-theme { }; pydbus = callPackage ../development/python-modules/pydbus { };