Merge pull request #232964 from r-ryantm/auto-update/opencl-headers

opencl-headers: 2023.02.06 -> 2023.12.14
This commit is contained in:
Mario Rodas 2023-12-23 00:29:33 -05:00 committed by GitHub
commit e0bcc79ac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,25 +2,38 @@
, stdenv
, fetchFromGitHub
, cmake
, hashcat
, ocl-icd
, tesseract
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "opencl-headers";
version = "2023.02.06";
version = "2023.12.14";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCL-Headers";
rev = "v${version}";
sha256 = "sha256-BJDaDokyHgmyl+bGqCwG1J7iOvu0E3P3iYZ1/krot8s=";
rev = "v${finalAttrs.version}";
sha256 = "sha256-wF9KQjzYKJf6ulXRy80o53bp6lTtm8q1NubKbcH+RY0=";
};
nativeBuildInputs = [ cmake ];
passthru.tests = {
inherit ocl-icd tesseract hashcat;
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
moduleNames = [ "OpenCL-Headers" ];
};
};
meta = with lib; {
description = "Khronos OpenCL headers version ${version}";
description = "Khronos OpenCL headers version ${finalAttrs.version}";
homepage = "https://www.khronos.org/registry/cl/";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = [ ];
};
}
})