summary refs log tree commit diff
path: root/pkgs/development/libraries/cmrt/default.nix
blob: 87c692b42cea160d710827fd6a18a0f07205c3d7 (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
25
26
27
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libdrm, libva }:

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

  src = fetchFromGitHub {
    owner = "intel";
    repo = "cmrt";
    rev = version;
    sha256 = "sha256-W6MQI41J9CKeM1eILCkvmW34cbCC8YeEF2mE+Ci8o7s=";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];

  buildInputs = [ libdrm libva ];

  meta = with lib; {
    broken = (stdenv.isLinux && stdenv.isAarch64);
    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;
  };
}