1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

opencl-info: init at 2014-02-21

This commit is contained in:
Nikolay Amiantov 2017-01-20 03:32:25 +03:00
parent cc68ab1ae2
commit 1db8ab66e3
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, opencl-clhpp, ocl-icd }:
stdenv.mkDerivation {
name = "opencl-info-2014-02-21";
src = fetchFromGitHub {
owner = "marchv";
repo = "opencl-info";
rev = "3e53d001a98978feb865650cf0e93b045400c0d7";
sha256 = "114lxgnjg40ivjjszkv4n3f3yq2lbrvywryvbazf20kqmdz7315l";
};
buildInputs = [ opencl-clhpp ocl-icd ];
NIX_LDFLAGS = [ "-lOpenCL" ];
installPhase = ''
install -Dm755 opencl-info $out/bin/opencl-info
'';
meta = with stdenv.lib; {
description = "A tool to dump OpenCL platform/device information";
homepage = "https://github.com/marchv/opencl-info";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}

View file

@ -3108,6 +3108,8 @@ in
opencc = callPackage ../tools/text/opencc { };
opencl-info = callPackage ../tools/system/opencl-info { };
opencryptoki = callPackage ../tools/security/opencryptoki { };
opendbx = callPackage ../development/libraries/opendbx { };