gotraceui: fix build (#406789)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
libxkbcommon,
|
||||
vulkan-headers,
|
||||
wayland,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -19,11 +20,19 @@ buildGoModule rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "dominikh";
|
||||
repo = "gotraceui";
|
||||
rev = "v${version}";
|
||||
tag = "v${version}";
|
||||
sha256 = "sha256-Rforuh9YlTv/mTpQm0+BaY+Ssc4DAiDCzVkIerP5Uz0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-dNV5u6BG+2Nzci6dX/4/4WAeM/zXE5+Ix0HqIsNnm0E=";
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "switch-to-gio-fork.patch";
|
||||
url = "https://github.com/dominikh/gotraceui/commit/00289f5f4c1da3e13babd2389e533b069cd18e3c.diff";
|
||||
hash = "sha256-dxsVMjyKkRG4Q6mONlJAohWJ8YTu8KN7ynPVycJhcs8=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorHash = "sha256-9rzcSxlOuQC5bt1kZuRX7CTQaDHKrtGRpMNLrOHTjJk=";
|
||||
subPackages = [ "cmd/gotraceui" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
Reference in New Issue
Block a user