about summary refs log tree commit diff
path: root/pkgs/development/octave-modules/nan/default.nix
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2021-01-06 11:27:31 -0600
committerDoron Behar <doron.behar@gmail.com>2021-02-24 21:00:50 +0200
commite59d49eb32cfe7c07e8df09b0236b1fa9dfb2fd8 (patch)
treedffead8040776c0d3779ace63c9745d813303c8f /pkgs/development/octave-modules/nan/default.nix
parent3c945d5ea34adb6270984f19a42e19b86eb0d2c9 (diff)
octave.pkgs.nan: init at 3.5.2
Diffstat (limited to 'pkgs/development/octave-modules/nan/default.nix')
-rw-r--r--pkgs/development/octave-modules/nan/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/nan/default.nix b/pkgs/development/octave-modules/nan/default.nix
new file mode 100644
index 0000000000000..a0517db714bda
--- /dev/null
+++ b/pkgs/development/octave-modules/nan/default.nix
@@ -0,0 +1,26 @@
+{ buildOctavePackage
+, lib
+, fetchurl
+, blas
+}:
+
+buildOctavePackage rec {
+  pname = "nan";
+  version = "3.5.2";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
+    sha256 = "0bp8zl50f8qj5sivl88kjdswm035v4li33fiq3v1gmh0pvgbcw7a";
+  };
+
+  buildInputs = [
+    blas
+  ];
+
+  meta = with lib; {
+    homepage = "https://octave.sourceforge.io/nan/index.html";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ KarlJoad ];
+    description = "A statistics and machine learning toolbox for data with and w/o missing values";
+  };
+}