depot/third_party/nixpkgs/pkgs/development/octave-modules/arduino/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

33 lines
824 B
Nix

{ 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";
};
}