depot/third_party/nixpkgs/pkgs/development/libraries/cmrt/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

27 lines
785 B
Nix

{ 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.hostPlatform.isLinux && stdenv.hostPlatform.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;
};
}