summary refs log tree commit diff
path: root/pkgs/development/libraries/cmrt/default.nix
blob: 11e719b36df4bd903668d5feed4bf956267c9528 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libdrm, libva }:

stdenv.mkDerivation rec {
  pname = "cmrt";
  version = "1.0.6";

  src = fetchurl {
    url = "https://github.com/intel/cmrt/archive/${version}.tar.gz";
    sha256 = "1q7651nvvcqhph5rgfhklm71zqd0c405mrh3wx0cfzvil82yj8na";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig ];

  buildInputs = [ libdrm libva ];

  meta = with stdenv.lib; {
    homepage = https://01.org/linuxmedia;
    description = "Intel C for Media Runtime";
    longDescription = "Media GPU kernel manager for Intel G45 & HD Graphics family";
    license = licenses.mit;
    maintainers = with maintainers; [ tadfisher ];
    platforms = platforms.linux;
  };
}