octavePackages.arduino: 0.10.0 -> 0.12.3

This commit is contained in:
Rasmus Enevoldsen
2026-03-04 14:29:41 +01:00
parent 606ca34ef5
commit 442c412c3f
@@ -1,18 +1,21 @@
{
buildOctavePackage,
lib,
fetchurl,
fetchFromGitHub,
instrument-control,
arduino-core-unwrapped,
nix-update-script,
}:
buildOctavePackage rec {
pname = "arduino";
version = "0.10.0";
version = "0.12.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "sha256-p9SDTXkIwnrkNXeVhzAHks7EL4NdwBokrH2j9hqAJqQ=";
src = fetchFromGitHub {
owner = "gnu-octave";
repo = "octave-arduino";
tag = "release-${version}";
sha256 = "sha256-gYoYXJwkuoI1S2SdOu6qpemlSjgAAx7N5LYwJq9ZrU8=";
};
requiredOctavePackages = [
@@ -23,6 +26,13 @@ buildOctavePackage rec {
arduino-core-unwrapped
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"release-(.*)"
];
};
meta = {
name = "Octave Arduino Toolkit";
homepage = "https://gnu-octave.github.io/packages/arduino/";