octave.pkgs.arduino: init at 0.6.0

This commit is contained in:
Karl Hallsby 2021-01-06 10:34:49 -06:00 committed by Doron Behar
parent 76bcbfce46
commit 88f20f352a
2 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,33 @@
{ buildOctavePackage
, lib
, fetchurl
, instrument-control
, arduino
}:
buildOctavePackage rec {
pname = "arduino";
version = "0.6.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0fnfk206n31s7diijaylmqhxnr88z6l3l3vsxq4z8gcp9ylm9nkj";
};
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";
};
}

View File

@ -55,8 +55,6 @@ makeScope newScope (self:
arduino = callPackage ../development/octave-modules/arduino {
inherit (pkgs) arduino;
# Full arduino right now. Might be able to use pkgs.arduino-core
# Needs arduinoIDE as a runtime dependency.
};
audio = callPackage ../development/octave-modules/audio {