level-zero: init at 1.8.8
This commit is contained in:
parent
b662b75cb4
commit
b00c85192f
27
pkgs/development/libraries/level-zero/default.nix
Normal file
27
pkgs/development/libraries/level-zero/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchFromGitHub, addOpenGLRunpath, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "level-zero";
|
||||
version = "1.8.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oneapi-src";
|
||||
repo = "level-zero";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hfbTgEbvrhWkZEi8Km7KaxJBAc9X1kA/T2DLooKa7KQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake addOpenGLRunpath ];
|
||||
|
||||
postFixup = ''
|
||||
addOpenGLRunpath $out/lib/libze_loader.so
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.oneapi.io/";
|
||||
description = "oneAPI Level Zero Specification Headers and Loader";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ziguana ];
|
||||
};
|
||||
}
|
||||
|
|
@ -25255,6 +25255,8 @@ with pkgs;
|
|||
|
||||
intel-ocl = callPackage ../os-specific/linux/intel-ocl { };
|
||||
|
||||
level-zero = callPackage ../development/libraries/level-zero { };
|
||||
|
||||
iomelt = callPackage ../os-specific/linux/iomelt { };
|
||||
|
||||
iotop = callPackage ../os-specific/linux/iotop { };
|
||||
|
|
Loading…
Reference in a new issue