Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / octave-modules / arduino / default.nix
blobf6536108e6cc3e754570ee4bdd48b05aadfada99
1 { buildOctavePackage
2 , lib
3 , fetchurl
4 , instrument-control
5 , arduino
6 }:
8 buildOctavePackage rec {
9   pname = "arduino";
10   version = "0.6.0";
12   src = fetchurl {
13     url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
14     sha256 = "0fnfk206n31s7diijaylmqhxnr88z6l3l3vsxq4z8gcp9ylm9nkj";
15   };
17   requiredOctavePackages = [
18     instrument-control
19   ];
21   # Might be able to use pkgs.arduino-core
22   propagatedBuildInputs = [
23     arduino
24   ];
26   meta = with lib; {
27     name = "Octave Arduino Toolkit";
28     homepage = "https://octave.sourceforge.io/arduino/index.html";
29     license = licenses.gpl3Plus;
30     maintainers = with maintainers; [ KarlJoad ];
31     description = "Basic Octave implementation of the matlab arduino extension, allowing communication to a programmed arduino board to control its hardware";
32   };