mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
74358114aa
And add myself as maintainer because we need a new one since 76bab4e9a7
(and I already maintain intel-media-driver which depends on gmmlib).
31 lines
831 B
Nix
31 lines
831 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "intel-gmmlib";
|
|
version = "20.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "gmmlib";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "0qb0wpinfv8lg1pq1pxkl6v0kd8ax86m8zxzm6zjx91alsch1mi6";
|
|
};
|
|
|
|
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" ];
|
|
maintainers = with maintainers; [ primeos ];
|
|
};
|
|
}
|