qt6.qtgrpc: add patch for protobuf 23 support
This commit is contained in:
parent
344dc92981
commit
7efb824dac
2 changed files with 12 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, fetchpatch2
|
||||
, makeSetupHook
|
||||
, makeWrapper
|
||||
, gst_all_1
|
||||
|
@ -104,7 +105,15 @@ let
|
|||
qtdatavis3d = callPackage ./modules/qtdatavis3d.nix { };
|
||||
qtdeclarative = callPackage ./modules/qtdeclarative.nix { };
|
||||
qtdoc = callPackage ./modules/qtdoc.nix { };
|
||||
qtgrpc = callPackage ./modules/qtgrpc.nix { };
|
||||
qtgrpc = callPackage ./modules/qtgrpc.nix {
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# fix compatibility with protobuf 23
|
||||
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/qt6-grpc/-/raw/d6b33bd915dc6e63b30db2cd29150d55b289d7ed/protobuf-23.patch";
|
||||
hash = "sha256-KQAcrjQ3rK9pDQUOUK6AS4ej8YvtRv9WZOxby31Y5r4=";
|
||||
})
|
||||
];
|
||||
};
|
||||
qthttpserver = callPackage ./modules/qthttpserver.nix { };
|
||||
qtimageformats = callPackage ./modules/qtimageformats.nix { };
|
||||
qtlanguageserver = callPackage ./modules/qtlanguageserver.nix { };
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
, qtdeclarative
|
||||
, protobuf
|
||||
, grpc
|
||||
, patches ? []
|
||||
}:
|
||||
|
||||
qtModule {
|
||||
pname = "qtgrpc";
|
||||
qtInputs = [ qtbase qtdeclarative ];
|
||||
buildInputs = [ protobuf grpc ];
|
||||
inherit patches;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue