19 buildPythonPackage rec {
20 pname = "gcs-oauth2-boto-plugin";
22 format = "setuptools";
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
27 owner = "GoogleCloudPlatform";
29 rev = "refs/tags/v${version}";
30 hash = "sha256-slTxh2j9VhLiSyiTmJIFFakzpzH/+mgilDRxx0VqqKQ=";
34 substituteInPlace setup.py \
35 --replace "rsa==4.7.2" "rsa" \
36 --replace "version='2.7'" "version='${version}'"
39 propagatedBuildInputs = [
55 pythonImportsCheck = [
56 "gcs_oauth2_boto_plugin"
60 description = "Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage";
61 homepage = "https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin";
62 changelog = "https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin/releases/tag/v${version}";
63 license = with licenses; [ asl20 ];
64 maintainers = with maintainers; [ fab ];