2021-09-18 10:52:07 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2020-04-24 23:36:52 +00:00
|
|
|
, cmake
|
2022-12-02 08:20:57 +00:00
|
|
|
# for passthru.tests
|
|
|
|
, intel-compute-runtime
|
|
|
|
, intel-media-driver
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "intel-gmmlib";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "22.3.19";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-09-18 10:52:07 +00:00
|
|
|
owner = "intel";
|
|
|
|
repo = "gmmlib";
|
2021-10-06 13:57:05 +00:00
|
|
|
rev = "intel-gmmlib-${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-y35rcAo1CR8HvKD4hCtdMSSPSSnGaUf4l2Tdzbq5fFw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
passthru.tests = {
|
|
|
|
inherit intel-compute-runtime intel-media-driver;
|
|
|
|
};
|
|
|
|
|
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.
|
|
|
|
'';
|
2021-09-18 10:52:07 +00:00
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
2022-03-10 19:12:11 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|