intel-gpu-tools: 1.27.1 -> 1.29

This commit is contained in:
Alyssa Ross 2024-09-04 17:22:48 +02:00
parent b1239b59f9
commit 537289eed4

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
# build time
, bison
@ -43,25 +42,16 @@
stdenv.mkDerivation rec {
pname = "intel-gpu-tools";
version = "1.27.1";
version = "1.29";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "drm";
repo = "igt-gpu-tools";
rev = "refs/tags/v${version}";
hash = "sha256-7Z9Y7uUjtjdQbB+xV/fvO18xB18VV7fBZqw1fI7U0jQ=";
hash = "sha256-t6DeFmIgTomMNwE53n5JicnvuCd/QfpNYWCdwPwc30E=";
};
patches = [
# fixes pkgsMusl.intel-gpu-tools
# https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138
(fetchpatch {
url = "https://raw.githubusercontent.com/void-linux/void-packages/111918317d06598fe1459dbe139923404f3f4b9d/srcpkgs/igt-gpu-tools/patches/musl.patch";
hash = "sha256-cvtwZg7js7O/Ww7puBTfVzLRji2bHTyV91+PvpH8qrg=";
})
];
nativeBuildInputs = [
bison
docbook_xsl
@ -102,7 +92,7 @@ stdenv.mkDerivation rec {
];
preConfigure = ''
patchShebangs tests man
patchShebangs lib man scripts tests
'';
hardeningDisable = [ "bindnow" ];