mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
pythonPackages.google-auth-httplib2: Cleanups
This commit is contained in:
parent
e83b75d465
commit
284f4fd69c
@ -3,13 +3,11 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, flask
|
, flask
|
||||||
, mock
|
|
||||||
, six
|
|
||||||
, pytest
|
|
||||||
, pytest-localserver
|
|
||||||
, google_auth
|
, google_auth
|
||||||
, httplib2
|
, httplib2
|
||||||
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-localserver
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -18,28 +16,25 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "8d092cc60fb16517b12057ec0bba9185a96e3b7169d86ae12eae98e645b7bc39";
|
sha256 = "0fdwnx2yd65f5vhnmn39f4xnxac5j6x0pv2p42qifrdi1z32q2cd";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
|
||||||
flask mock six pytest pytest-localserver
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
google_auth httplib2
|
google_auth
|
||||||
|
httplib2
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkInputs = [
|
||||||
py.test
|
flask
|
||||||
'';
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-localserver
|
||||||
|
];
|
||||||
|
|
||||||
# ImportError: No module named google.auth
|
meta = with lib; {
|
||||||
doCheck = isPy3k;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Google Authentication Library: httplib2 transport";
|
description = "Google Authentication Library: httplib2 transport";
|
||||||
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
|
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
|
||||||
license = lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user