Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 33 lines 703 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, google_api_core 5, pytest 6, mock 7, isPy38 8}: 9 10buildPythonPackage rec { 11 pname = "google-cloud-container"; 12 version = "0.3.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "90cceceb487f1f4f2336b3674d594bc5e492fadbe27a5f06ca056d7148fd90ba"; 17 }; 18 19 checkInputs = [ pytest mock ]; 20 propagatedBuildInputs = [ google_api_core ]; 21 22 checkPhase = '' 23 pytest tests/unit 24 ''; 25 26 meta = with stdenv.lib; { 27 description = "Google Container Engine API client library"; 28 homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; 29 license = licenses.asl20; 30 maintainers = [ maintainers.costrouc ]; 31 broken = isPy38; 32 }; 33}