pythonPackages.google-api-python-client: normalize package name

This commit is contained in:
Sandro Jäckel 2021-03-05 16:21:18 +01:00
parent ba5b0e2445
commit bdfaf83f76
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
12 changed files with 21 additions and 21 deletions

View file

@ -22,7 +22,7 @@ buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
gmusicapi gmusicapi
google_api_python_client google-api-python-client
mpv mpv
pydbus pydbus
pygobject3 pygobject3

View file

@ -21,7 +21,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
dateutil gflags httplib2 parsedatetime six vobject dateutil gflags httplib2 parsedatetime six vobject
google_api_python_client oauth2client uritemplate google-api-python-client oauth2client uritemplate
libnotify libnotify
] ++ lib.optional (!isPy3k) futures; ] ++ lib.optional (!isPy3k) futures;

View file

@ -22,7 +22,7 @@ mkDerivationWith pythonPackages.buildPythonApplication rec {
cjson cjson
sipsimple sipsimple
twisted twisted
google_api_python_client google-api-python-client
]; ];
buildInputs = [ buildInputs = [

View file

@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
notmuch notmuch
oauth2client oauth2client
google_api_python_client google-api-python-client
tqdm tqdm
setuptools setuptools
]; ];

View file

@ -6,7 +6,7 @@
, bottle , bottle
, chardet , chardet
, dateutil , dateutil
, google_api_python_client , google-api-python-client
, lxml , lxml
, oauth2client , oauth2client
, ply , ply
@ -34,7 +34,7 @@ buildPythonPackage rec {
bottle bottle
chardet chardet
dateutil dateutil
google_api_python_client google-api-python-client
lxml lxml
oauth2client oauth2client
ply ply

View file

@ -8,7 +8,7 @@
, six , six
, dateutil , dateutil
, fusepy , fusepy
, google_api_python_client , google-api-python-client
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,7 +22,7 @@ buildPythonPackage rec {
}; };
buildInputs = [ gipc greenlet httplib2 six ]; buildInputs = [ gipc greenlet httplib2 six ];
propagatedBuildInputs = [ dateutil fusepy google_api_python_client ]; propagatedBuildInputs = [ dateutil fusepy google-api-python-client ];
patchPhase = '' patchPhase = ''
substituteInPlace gdrivefs/resources/requirements.txt \ substituteInPlace gdrivefs/resources/requirements.txt \

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k { lib, buildPythonPackage, fetchPypi, isPy3k
, docutils, installShellFiles , docutils, installShellFiles
, google_api_python_client, simplejson, oauth2client, setuptools, xdg , google-api-python-client, simplejson, oauth2client, setuptools, xdg
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,7 +15,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ docutils installShellFiles ]; nativeBuildInputs = [ docutils installShellFiles ];
propagatedBuildInputs = [ propagatedBuildInputs = [
google_api_python_client simplejson oauth2client setuptools xdg google-api-python-client simplejson oauth2client setuptools xdg
]; ];
postInstall = '' postInstall = ''

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, pythonOlder , pythonOlder
, fetchPypi , fetchPypi
, google_api_python_client , google-api-python-client
, google-auth-oauthlib , google-auth-oauthlib
, jupyterhub , jupyterhub
, mwoauth , mwoauth
@ -29,7 +29,7 @@ buildPythonPackage rec {
pytestFlagsArray = [ "oauthenticator/tests" ]; pytestFlagsArray = [ "oauthenticator/tests" ];
checkInputs = [ checkInputs = [
google_api_python_client google-api-python-client
google-auth-oauthlib google-auth-oauthlib
mwoauth mwoauth
pyjwt pyjwt

View file

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google_api_python_client , google-api-python-client
, oauth2client , oauth2client
, pyyaml , pyyaml
}: }:
@ -17,7 +17,7 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google_api_python_client google-api-python-client
oauth2client oauth2client
pyyaml pyyaml
]; ];

View file

@ -6,7 +6,7 @@
, futures , futures
, gdata , gdata
, gnupg , gnupg
, google_api_python_client , google-api-python-client
, html2text , html2text
, libyaml , libyaml
, lxml , lxml
@ -56,7 +56,7 @@ buildPythonPackage rec {
feedparser feedparser
gdata gdata
gnupg gnupg
google_api_python_client google-api-python-client
html2text html2text
libyaml libyaml
lxml lxml

View file

@ -309,7 +309,7 @@
"goalfeed" = ps: with ps; [ ]; # missing inputs: pysher "goalfeed" = ps: with ps; [ ]; # missing inputs: pysher
"goalzero" = ps: with ps; [ ]; # missing inputs: goalzero "goalzero" = ps: with ps; [ ]; # missing inputs: goalzero
"gogogate2" = ps: with ps; [ ]; # missing inputs: gogogate2-api "gogogate2" = ps: with ps; [ ]; # missing inputs: gogogate2-api
"google" = ps: with ps; [ google_api_python_client httplib2 oauth2client ]; "google" = ps: with ps; [ google-api-python-client httplib2 oauth2client ];
"google_assistant" = ps: with ps; [ aiohttp-cors ]; "google_assistant" = ps: with ps; [ aiohttp-cors ];
"google_cloud" = ps: with ps; [ google-cloud-texttospeech ]; "google_cloud" = ps: with ps; [ google-cloud-texttospeech ];
"google_domains" = ps: with ps; [ ]; "google_domains" = ps: with ps; [ ];

View file

@ -2655,12 +2655,12 @@ in {
google-api-core = callPackage ../development/python-modules/google-api-core { }; google-api-core = callPackage ../development/python-modules/google-api-core { };
google_api_python_client = google-api-python-client =
let google_api_python_client = callPackage ../development/python-modules/google-api-python-client { }; let google-api-python-client = callPackage ../development/python-modules/google-api-python-client { };
in if isPy3k then in if isPy3k then
google_api_python_client google-api-python-client
else # Python 2.7 support was deprecated but is still needed by weboob and duplicity else # Python 2.7 support was deprecated but is still needed by weboob and duplicity
google_api_python_client.overridePythonAttrs (old: rec { google-api-python-client.overridePythonAttrs (old: rec {
version = "1.7.6"; version = "1.7.6";
src = old.src.override { src = old.src.override {
inherit version; inherit version;