nixpkgs/pkgs/development/tools/misc/intel-gpu-tools/default.nix

27 lines
876 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libdrm, libpciaccess, cairo, dri2proto, udev
2016-03-17 20:45:26 +00:00
, libX11, libXext, libXv, libXrandr, glib, bison, libunwind, python3 }:
2014-08-04 06:21:59 +00:00
stdenv.mkDerivation rec {
2016-03-17 20:45:26 +00:00
name = "intel-gpu-tools-1.14";
2014-08-04 06:21:59 +00:00
src = fetchurl {
url = "http://xorg.freedesktop.org/archive/individual/app/${name}.tar.bz2";
2016-03-17 20:45:26 +00:00
sha256 = "030g1akybk19y3jcxd8pp573ymrd4w7mmzxbspp064lwdv9y35im";
2014-08-04 06:21:59 +00:00
};
buildInputs = [ pkgconfig libdrm libpciaccess cairo dri2proto udev libX11
2016-03-17 20:45:26 +00:00
libXext libXv libXrandr glib bison libunwind python3 ];
preBuild = ''
patchShebangs debugger/system_routine/pre_cpp.py
'';
2014-08-04 06:21:59 +00: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;
maintainers = with maintainers; [ pSub ];
2014-08-04 06:21:59 +00:00
};
}