depot/third_party/nixpkgs/pkgs/development/libraries/intel-gmmlib/default.nix
Default email d9e13ed064 Project import generated by Copybara.
GitOrigin-RevId: a930f7da84786807bb105df40e76b541604c3e72
2021-09-22 23:38:15 +08:00

32 lines
840 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "intel-gmmlib";
version = "21.3.1";
src = fetchFromGitHub {
owner = "intel";
repo = "gmmlib";
rev = "${pname}-${version}";
sha256 = "0dzqfgbd0fxl8rxgf5nmj1jd4izzaqfb0s53l96qwz1j57q5ybj5";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://github.com/intel/gmmlib";
license = licenses.mit;
description = "Intel Graphics Memory Management Library";
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.
'';
platforms = [ "x86_64-linux" "i686-linux" ];
maintainers = with maintainers; [ primeos ];
};
}