mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #326737 from fabaff/pydata-google-auth-fix
python312Packages.pydata-google-auth: remove vendorized versioneer.py
This commit is contained in:
commit
835c2eb07a
@ -2,26 +2,38 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
google-auth,
|
||||
google-auth-oauthlib,
|
||||
google-auth,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
versioneer,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydata-google-auth";
|
||||
version = "1.8.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
repo = "pydata-google-auth";
|
||||
owner = "pydata";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Wo+tXbzOuz/cW8GuWoSxLA/Lr2S9NMdePa8tIV39mbY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
postPatch = ''
|
||||
# Remove vendorized versioneer.py
|
||||
rm versioneer.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
versioneer
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
google-auth
|
||||
google-auth-oauthlib
|
||||
];
|
||||
@ -34,6 +46,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Helpers for authenticating to Google APIs";
|
||||
homepage = "https://github.com/pydata/pydata-google-auth";
|
||||
changelog = "https://github.com/pydata/pydata-google-auth/releases/tag/${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ cpcloud ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user