mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
pythonPackages.google-api-python-client: normalize package name
This commit is contained in:
parent
ba5b0e2445
commit
bdfaf83f76
@ -22,7 +22,7 @@ buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
gmusicapi
|
||||
google_api_python_client
|
||||
google-api-python-client
|
||||
mpv
|
||||
pydbus
|
||||
pygobject3
|
||||
|
@ -21,7 +21,7 @@ buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dateutil gflags httplib2 parsedatetime six vobject
|
||||
google_api_python_client oauth2client uritemplate
|
||||
google-api-python-client oauth2client uritemplate
|
||||
libnotify
|
||||
] ++ lib.optional (!isPy3k) futures;
|
||||
|
||||
|
@ -22,7 +22,7 @@ mkDerivationWith pythonPackages.buildPythonApplication rec {
|
||||
cjson
|
||||
sipsimple
|
||||
twisted
|
||||
google_api_python_client
|
||||
google-api-python-client
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
notmuch
|
||||
oauth2client
|
||||
google_api_python_client
|
||||
google-api-python-client
|
||||
tqdm
|
||||
setuptools
|
||||
];
|
||||
|
@ -6,7 +6,7 @@
|
||||
, bottle
|
||||
, chardet
|
||||
, dateutil
|
||||
, google_api_python_client
|
||||
, google-api-python-client
|
||||
, lxml
|
||||
, oauth2client
|
||||
, ply
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
bottle
|
||||
chardet
|
||||
dateutil
|
||||
google_api_python_client
|
||||
google-api-python-client
|
||||
lxml
|
||||
oauth2client
|
||||
ply
|
||||
|
@ -8,7 +8,7 @@
|
||||
, six
|
||||
, dateutil
|
||||
, fusepy
|
||||
, google_api_python_client
|
||||
, google-api-python-client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [ gipc greenlet httplib2 six ];
|
||||
propagatedBuildInputs = [ dateutil fusepy google_api_python_client ];
|
||||
propagatedBuildInputs = [ dateutil fusepy google-api-python-client ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace gdrivefs/resources/requirements.txt \
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, docutils, installShellFiles
|
||||
, google_api_python_client, simplejson, oauth2client, setuptools, xdg
|
||||
, google-api-python-client, simplejson, oauth2client, setuptools, xdg
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ docutils installShellFiles ];
|
||||
propagatedBuildInputs = [
|
||||
google_api_python_client simplejson oauth2client setuptools xdg
|
||||
google-api-python-client simplejson oauth2client setuptools xdg
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, google_api_python_client
|
||||
, google-api-python-client
|
||||
, google-auth-oauthlib
|
||||
, jupyterhub
|
||||
, mwoauth
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
pytestFlagsArray = [ "oauthenticator/tests" ];
|
||||
|
||||
checkInputs = [
|
||||
google_api_python_client
|
||||
google-api-python-client
|
||||
google-auth-oauthlib
|
||||
mwoauth
|
||||
pyjwt
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_python_client
|
||||
, google-api-python-client
|
||||
, oauth2client
|
||||
, pyyaml
|
||||
}:
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google_api_python_client
|
||||
google-api-python-client
|
||||
oauth2client
|
||||
pyyaml
|
||||
];
|
||||
|
@ -6,7 +6,7 @@
|
||||
, futures
|
||||
, gdata
|
||||
, gnupg
|
||||
, google_api_python_client
|
||||
, google-api-python-client
|
||||
, html2text
|
||||
, libyaml
|
||||
, lxml
|
||||
@ -56,7 +56,7 @@ buildPythonPackage rec {
|
||||
feedparser
|
||||
gdata
|
||||
gnupg
|
||||
google_api_python_client
|
||||
google-api-python-client
|
||||
html2text
|
||||
libyaml
|
||||
lxml
|
||||
|
@ -309,7 +309,7 @@
|
||||
"goalfeed" = ps: with ps; [ ]; # missing inputs: pysher
|
||||
"goalzero" = ps: with ps; [ ]; # missing inputs: goalzero
|
||||
"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_cloud" = ps: with ps; [ google-cloud-texttospeech ];
|
||||
"google_domains" = ps: with ps; [ ];
|
||||
|
@ -2655,12 +2655,12 @@ in {
|
||||
|
||||
google-api-core = callPackage ../development/python-modules/google-api-core { };
|
||||
|
||||
google_api_python_client =
|
||||
let google_api_python_client = callPackage ../development/python-modules/google-api-python-client { };
|
||||
google-api-python-client =
|
||||
let google-api-python-client = callPackage ../development/python-modules/google-api-python-client { };
|
||||
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
|
||||
google_api_python_client.overridePythonAttrs (old: rec {
|
||||
google-api-python-client.overridePythonAttrs (old: rec {
|
||||
version = "1.7.6";
|
||||
src = old.src.override {
|
||||
inherit version;
|
||||
|
Loading…
Reference in New Issue
Block a user