depot/pkgs/development/octave-modules/arduino/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
811 B
Nix

{ buildOctavePackage
, lib
, fetchurl
, instrument-control
, arduino-core-unwrapped
}:
buildOctavePackage rec {
pname = "arduino";
version = "0.10.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "sha256-p9SDTXkIwnrkNXeVhzAHks7EL4NdwBokrH2j9hqAJqQ=";
};
requiredOctavePackages = [
instrument-control
];
propagatedBuildInputs = [
arduino-core-unwrapped
];
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";
};
}