at master 814 B view raw
1{ 2 buildOctavePackage, 3 lib, 4 fetchurl, 5 instrument-control, 6 arduino-core-unwrapped, 7}: 8 9buildOctavePackage rec { 10 pname = "arduino"; 11 version = "0.10.0"; 12 13 src = fetchurl { 14 url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; 15 sha256 = "sha256-p9SDTXkIwnrkNXeVhzAHks7EL4NdwBokrH2j9hqAJqQ="; 16 }; 17 18 requiredOctavePackages = [ 19 instrument-control 20 ]; 21 22 propagatedBuildInputs = [ 23 arduino-core-unwrapped 24 ]; 25 26 meta = { 27 name = "Octave Arduino Toolkit"; 28 homepage = "https://gnu-octave.github.io/packages/arduino/"; 29 license = lib.licenses.gpl3Plus; 30 maintainers = with lib.maintainers; [ KarlJoad ]; 31 description = "Basic Octave implementation of the matlab arduino extension, allowing communication to a programmed arduino board to control its hardware"; 32 }; 33}