mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
esptool: init at 1.4
This commit is contained in:
parent
ff15d0c41e
commit
e6cb889faa
25
pkgs/tools/misc/esptool/default.nix
Normal file
25
pkgs/tools/misc/esptool/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, python3 }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
name = "esptool-${version}";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "espressif";
|
||||
repo = "esptool";
|
||||
rev = "v${version}";
|
||||
sha256 = "0112fybkz4259gyvhcs18wa6938jp6w7clk66kpd0d1dg70lz1h6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ pyserial ];
|
||||
|
||||
doCheck = false; # FIXME: requires packaging some new deps
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "ESP8266 and ESP32 serial bootloader utility";
|
||||
homepage = https://github.com/espressif/esptool;
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.dezgeg ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -949,6 +949,8 @@ with pkgs;
|
||||
|
||||
envconsul = callPackage ../tools/system/envconsul { };
|
||||
|
||||
esptool = callPackage ../tools/misc/esptool { };
|
||||
|
||||
esptool-ck = callPackage ../tools/misc/esptool-ck { };
|
||||
|
||||
f3 = callPackage ../tools/filesystems/f3 { };
|
||||
|
Loading…
Reference in New Issue
Block a user