about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2021-01-06 12:11:15 -0600
committerDoron Behar <doron.behar@gmail.com>2021-02-24 21:00:52 +0200
commit609223ec63f1b07f3b1bd0561dad4b7b8e1b55fa (patch)
tree176c7183cb32dfa2ca3a4f766c9b92ab89a82022 /pkgs
parent49d3aacfee83ea51b772ab9a8f3a97e7accbee5c (diff)
octave.pkgs.tisean: init at 0.2.3
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/octave-modules/tisean/default.nix33
-rw-r--r--pkgs/top-level/octave-packages.nix2
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/tisean/default.nix b/pkgs/development/octave-modules/tisean/default.nix
new file mode 100644
index 0000000000000..b21ef0a5f56ac
--- /dev/null
+++ b/pkgs/development/octave-modules/tisean/default.nix
@@ -0,0 +1,33 @@
+{ buildOctavePackage
+, lib
+, fetchurl
+# Octave dependencies
+, signal # >= 1.3.0
+# Build dependencies
+, gfortran
+}:
+
+buildOctavePackage rec {
+  pname = "tisean";
+  version = "0.2.3";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
+    sha256 = "0nc2d9h91glxzmpizxdrc2dablw4bqhqhzs37a394c36myk4xjdv";
+  };
+
+  nativeBuildInputs = [
+    gfortran
+  ];
+
+  requiredOctavePackages = [
+    signal
+  ];
+
+  meta = with lib; {
+    homepage = "https://octave.sourceforge.io/tisean/index.html";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ KarlJoad ];
+    description = "Port of TISEAN 3.0.1";
+  };
+}
diff --git a/pkgs/top-level/octave-packages.nix b/pkgs/top-level/octave-packages.nix
index dd7f1879871e5..ad81a48e68085 100644
--- a/pkgs/top-level/octave-packages.nix
+++ b/pkgs/top-level/octave-packages.nix
@@ -199,4 +199,6 @@ makeScope newScope (self:
       inherit (octave) python;
     };
 
+    tisean = callPackage ../development/octave-modules/tisean { };
+
   })