diff --git a/overlays/default.nix b/overlays/default.nix index 24f9d7a..4909c9d 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -39,5 +39,6 @@ ./factorio.nix ./ranger.nix ./ncspot.nix + ./grpcio-tools.nix ]; } diff --git a/overlays/grpcio-tools.nix b/overlays/grpcio-tools.nix new file mode 100644 index 0000000..b9a2bc1 --- /dev/null +++ b/overlays/grpcio-tools.nix @@ -0,0 +1,28 @@ +{ prev, final, ... }: +{ + pythonPackagesOverlays = [ + (python-final: python-prev: { + + grpcio-tools = python-prev.grpcio-tools.overrideAttrs (old: { + version = "1.64.1"; + + src = prev.fetchPypi { + pname = "grpcio_tools"; + version = "1.64.1"; + hash = "sha256-crNVC5GtuDVGVuzw9tHUYRKZBEuuEfsefMHRu2a4wes="; + }; + }); + }) + ]; + + python311 = + let + self = prev.python311.override { + inherit self; + packageOverrides = prev.lib.composeManyExtensions final.pythonPackagesOverlays; + }; + in + self; + + python311Packages = final.python311.pkgs; +}