override.nix 504 B

123456789101112131415161718
  1. pkgs: attrs: with pkgs; with python310.pkgs; with attrs; rec {
  2. pname = "grpcio";
  3. version = "1.54.3";
  4. src = fetchPypi {
  5. inherit pname version;
  6. hash = "sha256-ipuc8BEDeVBy9IdLSwZMXjeFhx1it3Txql+brKu8rCA=";
  7. };
  8. prePatch = "";
  9. # pypi package specifies the hardcoded
  10. # dependencies for third-party libraries:
  11. # /usr/include. In result in nix build we use
  12. # system headers instead of nix headers.
  13. # This patch removes dependencies on /usr/include
  14. patches = [ ./setup.patch ];
  15. }