nixpkgs/pkgs/development/libraries/cmrt/default.nix

27 lines
708 B
Nix
Raw Normal View History

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 {
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
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
2018-06-27 20:09:45 +00:00
buildInputs = [ libdrm libva ];
meta = with lib; {
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;
};
}