diff --git a/pkgs/development/python-modules/proto-plus/default.nix b/pkgs/development/python-modules/proto-plus/default.nix index 6048f393d87e..d542d6f64778 100644 --- a/pkgs/development/python-modules/proto-plus/default.nix +++ b/pkgs/development/python-modules/proto-plus/default.nix @@ -1,12 +1,16 @@ { stdenv , buildPythonPackage , fetchPypi +, isPy3k , protobuf +, google_api_core +, pytestCheckHook }: buildPythonPackage rec { pname = "proto-plus"; version = "1.10.1"; + disabled = !isPy3k; src = fetchPypi { inherit pname version; @@ -15,6 +19,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ protobuf ]; + checkInputs = [ pytestCheckHook google_api_core ]; + meta = with stdenv.lib; { description = "Beautiful, idiomatic protocol buffers in Python"; homepage = "https://github.com/googleapis/proto-plus-python";