at 24.11-pre 39 lines 999 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5# for passthru.tests 6, intel-compute-runtime 7, intel-media-driver 8}: 9 10stdenv.mkDerivation rec { 11 pname = "intel-gmmlib"; 12 version = "22.3.19"; 13 14 src = fetchFromGitHub { 15 owner = "intel"; 16 repo = "gmmlib"; 17 rev = "intel-gmmlib-${version}"; 18 sha256 = "sha256-y35rcAo1CR8HvKD4hCtdMSSPSSnGaUf4l2Tdzbq5fFw="; 19 }; 20 21 nativeBuildInputs = [ cmake ]; 22 23 passthru.tests = { 24 inherit intel-compute-runtime intel-media-driver; 25 }; 26 27 meta = with lib; { 28 homepage = "https://github.com/intel/gmmlib"; 29 license = licenses.mit; 30 description = "Intel Graphics Memory Management Library"; 31 longDescription = '' 32 The Intel(R) Graphics Memory Management Library provides device specific 33 and buffer management for the Intel(R) Graphics Compute Runtime for 34 OpenCL(TM) and the Intel(R) Media Driver for VAAPI. 35 ''; 36 platforms = [ "x86_64-linux" "i686-linux" ]; 37 maintainers = with maintainers; [ SuperSandro2000 ]; 38 }; 39}