depot/third_party/nixpkgs/pkgs/development/libraries/intel-gmmlib/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

39 lines
996 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
# for passthru.tests
, intel-compute-runtime
, intel-media-driver
}:
stdenv.mkDerivation rec {
pname = "intel-gmmlib";
version = "22.5.2";
src = fetchFromGitHub {
owner = "intel";
repo = "gmmlib";
rev = "intel-gmmlib-${version}";
hash = "sha256-vc4Jk+XAXf/lq5ouCP+04YBuyeypl0XSOPUT1YkL+7A=";
};
nativeBuildInputs = [ cmake ];
passthru.tests = {
inherit intel-compute-runtime intel-media-driver;
};
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; [ SuperSandro2000 ];
};
}