2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2020-04-24 23:36:52 +00:00
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "intel-gmmlib";
|
2021-08-27 14:25:00 +00:00
|
|
|
version = "21.2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intel";
|
|
|
|
repo = "gmmlib";
|
|
|
|
rev = "${pname}-${version}";
|
2021-08-27 14:25:00 +00:00
|
|
|
sha256 = "134l0d74ai4mqlp244nvkvg3mgzbzy20mjd274yay8g8hvb1g90v";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/intel/gmmlib";
|
|
|
|
license = licenses.mit;
|
|
|
|
description = "Intel Graphics Memory Management Library";
|
2021-02-05 17:12:51 +00:00
|
|
|
longDescription = ''
|
|
|
|
The Intel(R) Graphics Memory Management Library provides device specific
|
|
|
|
and buffer management for the Intel(R) Graphics Compute Runtime for
|
|
|
|
OpenCL(TM) and the Intel(R) Media Driver for VAAPI.
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = with maintainers; [ primeos ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|