octavePackages.control: 3.6.1 -> 4.2.1

Added fetchSubmodules to let control fetch slicot-reference.
Added updateScript, so it gets updates more often.
This commit is contained in:
Rasmus Enevoldsen
2026-02-28 22:42:04 +01:00
parent f7d30e83f4
commit 2c443cbed0
@@ -6,17 +6,19 @@
lapack,
blas,
autoreconfHook,
nix-update-script,
}:
buildOctavePackage rec {
pname = "control";
version = "3.6.1";
version = "4.2.1";
src = fetchFromGitHub {
owner = "gnu-octave";
repo = "pkg-control";
tag = "control-${version}";
sha256 = "sha256-7beEsdrne50NY4lGCotxGXwwWnMzUR2CKCc20OCjd0g=";
tag = "${pname}-${version}";
fetchSubmodules = true;
sha256 = "sha256-NOZi003brDQ5nVyP7w5n7hxhafbiBwMPErhhTQhn2bw=";
};
# Running autoreconfHook inside the src directory fixes a compile issue about
@@ -41,6 +43,13 @@ buildOctavePackage rec {
blas
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"control-(.*)"
];
};
meta = {
homepage = "https://gnu-octave.github.io/packages/control/";
license = lib.licenses.gpl3Plus;