2020-12-13 00:25:37 +00:00
|
|
|
{ buildOctavePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, gfortran
|
|
|
|
, lapack, blas
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "control";
|
2021-10-29 06:45:32 +01:00
|
|
|
version = "3.3.1";
|
2020-12-13 00:25:37 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
2021-10-29 06:45:32 +01:00
|
|
|
sha256 = "0vndbzix34vfzdlsz57bgkyg31as4kv6hfg9pwrcqn75bzzjsivw";
|
2020-12-13 00:25:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|