python311Packages.google-apitools: remove
Module is deprecated and unsupported by upstream. The replacement is Google Cloud Client Library (https://github.com/googleapis/google-cloud-python)
This commit is contained in:
parent
7d0ed7f2e5
commit
b5e64e88bb
3 changed files with 1 additions and 72 deletions
|
@ -1,70 +0,0 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fasteners
|
||||
, fetchFromGitHub
|
||||
, gflags
|
||||
, httplib2
|
||||
, mock
|
||||
, oauth2client
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-apitools";
|
||||
version = "0.5.32";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "apitools";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Z9BTDU6KKCcjspVLi5mJqVZMYEapnMXLPL5BXsIKZAw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fasteners
|
||||
httplib2
|
||||
oauth2client
|
||||
six
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
cli = [
|
||||
gflags
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"apitools"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AttributeError: 'FieldList' object has no attribute '_FieldList__field'
|
||||
"testPickle"
|
||||
"testDecodeBadBase64BytesField"
|
||||
"testConvertIdThatNeedsEscaping"
|
||||
"testGeneration"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Samples are partially postfixed with test
|
||||
"samples"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of utilities to make it easier to build client-side tools";
|
||||
homepage = "https://github.com/google/apitools";
|
||||
changelog = "https://github.com/google/apitools/releases/tag/v${version}";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -98,6 +98,7 @@ mapAliases ({
|
|||
glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28
|
||||
google_api_python_client = google-api-python-client; # added 2021-03-19
|
||||
googleapis_common_protos = googleapis-common-protos; # added 2021-03-19
|
||||
google-apitools = throw "google-apitools was removed because it is deprecated and unsupported by upstream"; # added 2023-02-25
|
||||
graphite_api = throw "graphite_api was removed, because it is no longer maintained"; # added 2022-07-10
|
||||
graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09
|
||||
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
|
||||
|
|
|
@ -3906,8 +3906,6 @@ self: super: with self; {
|
|||
|
||||
google-api-python-client = callPackage ../development/python-modules/google-api-python-client { };
|
||||
|
||||
google-apitools = callPackage ../development/python-modules/google-apitools { };
|
||||
|
||||
googleapis-common-protos = callPackage ../development/python-modules/googleapis-common-protos { };
|
||||
|
||||
google-auth = callPackage ../development/python-modules/google-auth { };
|
||||
|
|
Loading…
Reference in a new issue