python3{11,12}Packages.gcs-oauth2-boto-plugin: drop

This is a plugin for boto, which has been deprecated for years,
and is broken and due for removal.
This commit is contained in:
Emily 2024-09-22 12:44:25 +01:00
parent a044feae13
commit 76e8642c94
3 changed files with 1 additions and 63 deletions

View file

@ -1,61 +0,0 @@
{
lib,
boto,
buildPythonPackage,
fetchFromGitHub,
freezegun,
google-reauth,
httplib2,
oauth2client,
pyopenssl,
pytestCheckHook,
pythonOlder,
retry-decorator,
rsa,
six,
}:
buildPythonPackage rec {
pname = "gcs-oauth2-boto-plugin";
version = "3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-slTxh2j9VhLiSyiTmJIFFakzpzH/+mgilDRxx0VqqKQ=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "rsa==4.7.2" "rsa" \
--replace "version='2.7'" "version='${version}'"
'';
propagatedBuildInputs = [
boto
freezegun
google-reauth
httplib2
oauth2client
pyopenssl
retry-decorator
rsa
six
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gcs_oauth2_boto_plugin" ];
meta = with lib; {
description = "Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage";
homepage = "https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin";
changelog = "https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -219,6 +219,7 @@ mapAliases ({
fritzprofiles = throw "fritzprofiles was removed from nixpkgs, because it was removed as dependency of home-assistant for which it was pacakged."; # added 2024-01-05
garages-amsterdam = throw "garages-amsterdam has been renamed odp-amsterdam."; # added 2023-01-04
garminconnect-ha = garminconnect; # added 2022-02-05
gcs-oauth2-boto-plugin = throw "gcs-oauth2-boto-plugin was removed as it depends on the removed boto package"; # Added 2024-09-22
gdtoolkit = throw "gdtoolkit has been promoted to a top-level attribute name: `pkgs.gdtoolkit`"; # added 2023-02-15
GeoIP = geoip; # added 2023-02-19
gigalixir = throw "gigalixir has been promoted to a top-level attribute name: `pkgs.gigalixir`"; # Added 2022-10-02

View file

@ -4873,8 +4873,6 @@ self: super: with self; {
gcovr = callPackage ../development/python-modules/gcovr { };
gcs-oauth2-boto-plugin = callPackage ../development/python-modules/gcs-oauth2-boto-plugin { };
gcsa = callPackage ../development/python-modules/gcsa { };
gcsfs = callPackage ../development/python-modules/gcsfs { };