diff options
author | Karl Hallsby <karl@hallsby.com> | 2021-01-06 10:34:49 -0600 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-02-24 21:00:48 +0200 |
commit | 88f20f352a0e95edc61089438df41842a60c9955 (patch) | |
tree | 3a6d03c82f6ed9d2ec7e204b29cb97ef29497245 /pkgs/development/octave-modules | |
parent | 76bcbfce467328cb502e8e593aec256e634c2ed7 (diff) | |
download | nixpkgs-88f20f352a0e95edc61089438df41842a60c9955.tar nixpkgs-88f20f352a0e95edc61089438df41842a60c9955.tar.gz nixpkgs-88f20f352a0e95edc61089438df41842a60c9955.tar.bz2 nixpkgs-88f20f352a0e95edc61089438df41842a60c9955.tar.lz nixpkgs-88f20f352a0e95edc61089438df41842a60c9955.tar.xz nixpkgs-88f20f352a0e95edc61089438df41842a60c9955.tar.zst nixpkgs-88f20f352a0e95edc61089438df41842a60c9955.zip |
octave.pkgs.arduino: init at 0.6.0
Diffstat (limited to 'pkgs/development/octave-modules')
-rw-r--r-- | pkgs/development/octave-modules/arduino/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/arduino/default.nix b/pkgs/development/octave-modules/arduino/default.nix new file mode 100644 index 00000000000..f6536108e6c --- /dev/null +++ b/pkgs/development/octave-modules/arduino/default.nix @@ -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"; + }; +} |