nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 32 lines 702 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, google_api_core 5, google_cloud_core 6, pytest 7, mock 8}: 9 10buildPythonPackage rec { 11 pname = "google-cloud-trace"; 12 version = "0.23.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1a3fad1ae2b780dd5e6d5ddc626db722749405b7b66f3c2e5e87a9d29a4819c8"; 17 }; 18 19 checkInputs = [ pytest mock ]; 20 propagatedBuildInputs = [ google_api_core google_cloud_core ]; 21 22 checkPhase = '' 23 pytest tests/unit 24 ''; 25 26 meta = with stdenv.lib; { 27 description = "Stackdriver Trace API client library"; 28 homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; 29 license = licenses.asl20; 30 maintainers = [ maintainers.costrouc ]; 31 }; 32}