about summary refs log tree commit diff
path: root/pkgs/development/octave-modules/ocl
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2021-01-06 11:34:51 -0600
committerDoron Behar <doron.behar@gmail.com>2021-02-24 21:00:51 +0200
commit656fbc8b4cfd342b9b509ff3ffe82f52488be563 (patch)
treee6ac643fb21d062a1a68971b9bce37d01ee29033 /pkgs/development/octave-modules/ocl
parentbfd539942dafd3a4a2a3779bec5fb6b1bd11518d (diff)
octave.pkgs.ocl: init at 1.1.1
Diffstat (limited to 'pkgs/development/octave-modules/ocl')
-rw-r--r--pkgs/development/octave-modules/ocl/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/ocl/default.nix b/pkgs/development/octave-modules/ocl/default.nix
new file mode 100644
index 0000000000000..0e47160ad0ea4
--- /dev/null
+++ b/pkgs/development/octave-modules/ocl/default.nix
@@ -0,0 +1,26 @@
+{ buildOctavePackage
+, lib
+, fetchurl
+}:
+
+buildOctavePackage rec {
+  pname = "ocl";
+  version = "1.1.1";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
+    sha256 = "0ayi5x9zk9p4zm0qsr3i94lyp5468c9d1a7mqrqjqpdvkhrw0xnm";
+  };
+
+  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.
+    '';
+  };
+}