Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchPypi, googleapis-common-protos, grpcio, protobuf, pythonOlder,}:
# This package should be updated together with the main grpc package and other# related python grpc packages.# nixpkgs-update: no auto updatebuildPythonPackage rec { pname = "grpcio-status"; version = "1.73.1"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { pname = "grpcio_status"; inherit version; hash = "sha256-ko9JzPlojbXyDNnkXEV4odAczKKa6qvwZvKsdqqIZmg="; };
postPatch = '' substituteInPlace setup.py \ --replace 'protobuf>=4.21.6' 'protobuf' '';
propagatedBuildInputs = [ googleapis-common-protos grpcio protobuf ];
# Project thas no tests doCheck = false;
pythonImportsCheck = [ "grpc_status" ];
meta = with lib; { description = "GRPC Python status proto mapping"; homepage = "https://github.com/grpc/grpc/tree/master/src/python/grpcio_status"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}