mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
29 lines
740 B
Nix
29 lines
740 B
Nix
{ 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 ];
|
|
};
|
|
}
|