2015-06-14 20:23:37 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libdrm, libpciaccess, cairo, dri2proto, udev
|
2016-12-11 16:55:09 +00:00
|
|
|
, libX11, libXext, libXv, libXrandr, glib, bison, libunwind, python3, kmod
|
|
|
|
, procps }:
|
2014-08-04 07:21:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-12-11 16:55:09 +00:00
|
|
|
name = "intel-gpu-tools-1.17";
|
2014-08-04 07:21:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://xorg.freedesktop.org/archive/individual/app/${name}.tar.bz2";
|
2016-12-11 16:55:09 +00:00
|
|
|
sha256 = "06pvmbsbff4bsi67n6x3jjngzy2llf8bplc75447ra1fwphc9jx6";
|
2014-08-04 07:21:59 +01:00
|
|
|
};
|
|
|
|
|
2016-12-11 16:55:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libdrm libpciaccess cairo dri2proto udev libX11 kmod
|
|
|
|
libXext libXv libXrandr glib bison libunwind python3 procps ];
|
2016-03-17 20:45:26 +00:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
patchShebangs debugger/system_routine/pre_cpp.py
|
|
|
|
'';
|
2015-05-15 21:44:51 +01:00
|
|
|
|
2014-08-04 07:21:59 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://01.org/linuxgraphics/;
|
|
|
|
description = "Tools for development and testing of the Intel DRM driver";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2014-12-14 22:34:38 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2014-08-04 07:21:59 +01:00
|
|
|
};
|
|
|
|
}
|