aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/grpcio/py3/.yandex_meta/override.nix
blob: 3b0ea381c6f00b505fe8989cddb2278eb36cd9d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgs: attrs: with pkgs; with python310.pkgs; with attrs; rec {
  pname = "grpcio";
  version = "1.54.3";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ipuc8BEDeVBy9IdLSwZMXjeFhx1it3Txql+brKu8rCA=";
  };

  prePatch = "";

  # pypi package specifies the hardcoded
  # dependencies for third-party libraries:
  # /usr/include. In result in nix build we use
  # system headers instead of nix headers.
  # This patch removes dependencies on /usr/include
  patches = [ ./setup.patch ];
}