Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 820 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 libdrm, 8 libva, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "cmrt"; 13 version = "1.0.6"; 14 15 src = fetchFromGitHub { 16 owner = "intel"; 17 repo = "cmrt"; 18 rev = version; 19 sha256 = "sha256-W6MQI41J9CKeM1eILCkvmW34cbCC8YeEF2mE+Ci8o7s="; 20 }; 21 22 nativeBuildInputs = [ 23 autoreconfHook 24 pkg-config 25 ]; 26 27 buildInputs = [ 28 libdrm 29 libva 30 ]; 31 32 meta = with lib; { 33 broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); 34 homepage = "https://01.org/linuxmedia"; 35 description = "Intel C for Media Runtime"; 36 longDescription = "Media GPU kernel manager for Intel G45 & HD Graphics family"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ tadfisher ]; 39 platforms = platforms.linux; 40 }; 41}