Loading pkgs/development/python-modules/grpcio-testing/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , grpcio , protobuf , pythonOlder , pythonRelaxDepsHook }: buildPythonPackage rec { pname = "grpcio-testing"; version = "1.54.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-/0LlPGUVhV7lh4RDQH7wImxaynN2wDLoELxoUUG8bpM="; }; postPatch = '' substituteInPlace setup.py \ --replace "'grpcio>={version}'.format(version=grpc_version.VERSION)" "'grpcio'" ''; propagatedBuildInputs = [ grpcio protobuf ]; pythonImportsCheck = [ "grpc_testing" ]; # Module has no tests doCheck = false; meta = with lib; { description = "Testing utilities for gRPC Python"; homepage = "https://grpc.io/"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -4268,6 +4268,8 @@ self: super: with self; { grpcio-tools = callPackage ../development/python-modules/grpcio-tools { }; grpcio-testing = callPackage ../development/python-modules/grpcio-testing { }; grpclib = callPackage ../development/python-modules/grpclib { }; gruut = callPackage ../development/python-modules/gruut { }; Loading Loading
pkgs/development/python-modules/grpcio-testing/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , grpcio , protobuf , pythonOlder , pythonRelaxDepsHook }: buildPythonPackage rec { pname = "grpcio-testing"; version = "1.54.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-/0LlPGUVhV7lh4RDQH7wImxaynN2wDLoELxoUUG8bpM="; }; postPatch = '' substituteInPlace setup.py \ --replace "'grpcio>={version}'.format(version=grpc_version.VERSION)" "'grpcio'" ''; propagatedBuildInputs = [ grpcio protobuf ]; pythonImportsCheck = [ "grpc_testing" ]; # Module has no tests doCheck = false; meta = with lib; { description = "Testing utilities for gRPC Python"; homepage = "https://grpc.io/"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -4268,6 +4268,8 @@ self: super: with self; { grpcio-tools = callPackage ../development/python-modules/grpcio-tools { }; grpcio-testing = callPackage ../development/python-modules/grpcio-testing { }; grpclib = callPackage ../development/python-modules/grpclib { }; gruut = callPackage ../development/python-modules/gruut { }; Loading