29 lines
630 B
Nix
29 lines
630 B
Nix
|
{ 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;
|
||
|
}
|