2021-01-06 17:34:49 +01:00
|
|
|
{ buildOctavePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, instrument-control
|
|
|
|
, arduino
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "arduino";
|
2021-06-22 15:43:09 +02:00
|
|
|
version = "0.7.0";
|
2021-01-06 17:34:49 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
2021-06-22 15:43:09 +02:00
|
|
|
sha256 = "0r0bcq2zkwba6ab6yi6czbhrj4adm9m9ggxmzzcd9h40ckqg6wjv";
|
2021-01-06 17:34:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
requiredOctavePackages = [
|
|
|
|
instrument-control
|
|
|
|
];
|
|
|
|
|
|
|
|
# Might be able to use pkgs.arduino-core
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
arduino
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
name = "Octave Arduino Toolkit";
|
|
|
|
homepage = "https://octave.sourceforge.io/arduino/index.html";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ KarlJoad ];
|
|
|
|
description = "Basic Octave implementation of the matlab arduino extension, allowing communication to a programmed arduino board to control its hardware";
|
|
|
|
};
|
|
|
|
}
|