about summary refs log tree commit diff
path: root/pkgs/development/octave-modules/ocl/default.nix
blob: eb20f7dc7c771009c11a19b5b124bdc83307b2c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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.isDarwin;
  };
}