arduinoOTA: init at 1.4.1
This commit is contained in:
parent
4627ee741d
commit
672fe6521a
2 changed files with 35 additions and 0 deletions
33
pkgs/development/embedded/arduino/arduinoOTA/default.nix
Normal file
33
pkgs/development/embedded/arduino/arduinoOTA/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "arduinoOTA";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arduino";
|
||||
repo = pname;
|
||||
rev = "${version}";
|
||||
hash = "sha256-HaNMkeV/PDEotYp8+rUKFaBxGbZO8qA99Yp2sa6glz8=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace version/version.go \
|
||||
--replace 'versionString = ""' 'versionString = "${version}"'
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/arduino/arduinoOTA";
|
||||
description = "A tool for uploading programs to Arduino boards over a network";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ poelzi ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -2923,6 +2923,8 @@ with pkgs;
|
|||
|
||||
arduino-mk = callPackage ../development/embedded/arduino/arduino-mk { };
|
||||
|
||||
arduinoOTA = callPackage ../development/embedded/arduino/arduinoOTA { };
|
||||
|
||||
apio = python3Packages.callPackage ../development/embedded/fpga/apio { };
|
||||
|
||||
apitrace = libsForQt5.callPackage ../applications/graphics/apitrace { };
|
||||
|
|
Loading…
Reference in a new issue