Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
29 lines
814 B
Nix
29 lines
814 B
Nix
{ buildOctavePackage
|
|
, stdenv
|
|
, lib
|
|
, fetchurl
|
|
}:
|
|
|
|
buildOctavePackage rec {
|
|
pname = "ocl";
|
|
version = "1.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-ErVMfYkWcdS+UqUH7q7gNQXQwAjrcyiUkWxagAKj3w0=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://octave.sourceforge.io/ocl/index.html";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ KarlJoad ];
|
|
description = "Use OpenCL for parallelization";
|
|
longDescription = ''
|
|
Package using OpenCL for parallelization, mostly suitable to
|
|
Single-Instruction-Multiple-Data (SIMD) computations, selectively
|
|
using available OpenCL hardware and drivers.
|
|
'';
|
|
# error: structure has no member 'dir'
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|