2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2018-11-07 16:53:39 +00:00
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "intel-gmmlib";
|
2021-04-01 12:50:50 +01:00
|
|
|
version = "21.1.1";
|
2018-11-07 16:53:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intel";
|
|
|
|
repo = "gmmlib";
|
2019-08-15 13:41:18 +01:00
|
|
|
rev = "${pname}-${version}";
|
2021-04-01 12:50:50 +01:00
|
|
|
sha256 = "0cdyrfyn05fadva8k02kp4nk14k274xfmhzwc0v7jijm1dw8v8rf";
|
2018-11-07 16:53:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-03-26 23:50:40 +00:00
|
|
|
homepage = "https://github.com/intel/gmmlib";
|
2018-11-07 16:53:39 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "Intel Graphics Memory Management Library";
|
2021-01-23 13:59:50 +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.
|
|
|
|
'';
|
2018-11-07 16:53:39 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2021-01-23 13:59:50 +00:00
|
|
|
maintainers = with maintainers; [ primeos ];
|
2018-11-07 16:53:39 +00:00
|
|
|
};
|
|
|
|
}
|