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

30 lines
1.1 KiB
Nix
Raw Normal View History

{ 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, autoreconfHook, utilmacros }:
2014-08-04 07:21:59 +01:00
stdenv.mkDerivation rec {
2017-06-14 18:23:13 +01:00
name = "intel-gpu-tools-1.19";
2014-08-04 07:21:59 +01:00
src = fetchurl {
url = "http://xorg.freedesktop.org/archive/individual/app/${name}.tar.bz2";
2017-06-14 18:23:13 +01:00
sha256 = "1wdhwf3im6ids95qw5r9hjj9hvp0qhzgi4llrlriy723q3kqm754";
2014-08-04 07:21:59 +01:00
};
nativeBuildInputs = [ pkgconfig autoreconfHook utilmacros ];
2016-12-11 16:55:09 +00:00
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
substituteInPlace tools/Makefile.am --replace '$(CAIRO_CFLAGS)' '$(CAIRO_CFLAGS) $(GLIB_CFLAGS)'
2016-03-17 20:45:26 +00: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 = [ "x86_64-linux" "i686-linux" ];
maintainers = with maintainers; [ pSub ];
2014-08-04 07:21:59 +01:00
};
}