diff options
author | Karl Hallsby <karl@hallsby.com> | 2020-12-12 18:25:37 -0600 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-02-24 21:00:48 +0200 |
commit | 0abd2425c7f7f4a68604f3b5984dbfefc6140d9f (patch) | |
tree | f7be3fac67f29c6198b06e02cb351073d32bba44 | |
parent | 27f86a13de169fe26707926df8ef2553be2d3da6 (diff) |
octave.pkgs.control: init at 3.2.0
-rw-r--r-- | pkgs/development/octave-modules/control/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/control/default.nix b/pkgs/development/octave-modules/control/default.nix new file mode 100644 index 0000000000000..2d61e30cc60cd --- /dev/null +++ b/pkgs/development/octave-modules/control/default.nix @@ -0,0 +1,31 @@ +{ buildOctavePackage +, lib +, fetchurl +, gfortran +, lapack, blas +}: + +buildOctavePackage rec { + pname = "control"; + version = "3.2.0"; + + src = fetchurl { + url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; + sha256 = "0gjyjsxs01x0nyc4cgn3d5af17l3lzs8h4hsm57nxd3as48dbwgs"; + }; + + nativeBuildInputs = [ + gfortran + ]; + + buildInputs = [ + lapack blas + ]; + + meta = with lib; { + homepage = "https://octave.sourceforge.io/control/index.html"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ KarlJoad ]; + description = "Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library"; + }; +} |