Merge pull request #226255 from cpcloud/nixpkgs-pydata-google-auth

This commit is contained in:
Sandro
2023-04-16 16:56:32 +02:00
committed by GitHub
2 changed files with 45 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -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 { };