aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/grpcio/py3/.yandex_meta/override.nix
blob: 46925d47d9b58498fd49ed73b1c02a0e6f0b3fb9 (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.2";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-UKnwde7aUJeqmhgrs4d/4ScodeRTcDaKwO4Wq54i0Bk=";
  };

  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 ];
}