2021-12-27 00:04:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libdrm, libva }:
|
2018-06-27 20:09:45 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "cmrt";
|
2018-06-27 20:09:45 +00:00
|
|
|
version = "1.0.6";
|
|
|
|
|
2021-12-27 00:04:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intel";
|
|
|
|
repo = "cmrt";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-W6MQI41J9CKeM1eILCkvmW34cbCC8YeEF2mE+Ci8o7s=";
|
2018-06-27 20:09:45 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2018-06-27 20:09:45 +00:00
|
|
|
|
|
|
|
buildInputs = [ libdrm libva ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2022-05-29 10:10:05 +00:00
|
|
|
broken = (stdenv.isLinux && stdenv.isAarch64);
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://01.org/linuxmedia";
|
2018-06-27 20:09:45 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|